Upcoming Event - Nintex Automation K2: Back to basics
Access resources, discussions, and troubleshooting tips to build custom applications and streamline workflows with Skuid NLX, SFX, & EXP.
Recently active
This is a bit complex, so bear with me.Ben (awesomely) helped correct some issues with this combination of custom field renderer and dynamically created model.This field renderer is running five times on the same page, hence the switch/case statement. The problem is that apparently only the first instance is waiting for the Nurse model to be created. The subsequent models seem to think that the Nurse model exists, and run the rendering logic immediately. However, there is nothing in the Nurse model, so their picklists have nothing in them.What’s the best way to approach a solution? Do I have to separate these into individual field renderers? It seems like they would run into the same problem of the latter ones assuming that the Nurse model exists when it doesn’t. Perhaps my problem is that a new deferred promise is being created for each instance of the field renderer? I’m still fuzzy on the jquery deferred.Enough speculation. Here’s the code:custom field renderer: <br>'renderIni
Trying to call a apex remote method in Skuid,but getting this error :Uncaught {faultcode:‘soapenv:Client’, faultstring:'No service available for class ‘TestClass’ ', }Here is my Apex code : global class TestClass { webservice static string testMe(String str){ return ‘Success’; }}I have added AJAX Toolkit in resource as External type,as per the below linkhttps://community.skuid.com/t/calling-apex-functionInline-Script :var params = arguments[0], $ = skuid.$;var result = sforce.apex.execute(“TestClass”,“testMe”,{str:‘test’}); console.log(result);getting this error " Uncaught {faultcode:‘soapenv:Client’, faultstring:'No service available for class ‘TestClass’ ', } "
Lookup dialog title seems to default to the API name which is undesirable. Is there a way to use the standard name or better set my own title?
I have a tab that has three tables with all of the same object (Cases), but different models to separate them. How do I get a total of all cases to show in the tab to let the user know there are records present? I know how to get the count for one model, but I can’t figure out how to get the sum.Thanks!
I am having an issue with some of my users not being able to attach files to account on Chatter.when they click to select a file from their computer nothing happens.
I’m getting the ‘silent error’ with the file upload component. It just gets stuck with the Uploading… notification/button, but does nothing.I’m trying to put the file upload component in a drawer on a table whose model is an aggregate model. I believe I’m passing the right values to the Attachment model with before load actions. Is the file upload component getting the right context? There are no context conditions available for it, so does it know that when I point it to the parent model, it should try to attach to the row in that model that is in context?I’ve had a look at this thread, and I have the local versions of the four required VF pages, if that matters in this case.
I built a home page widget to give our Sales Reps a list of Opportunities that need their attention. The criteria is value based (Opps > $50k) and Close Date < TODAY and IsClosed = FALSE. Clicking on this widget link takes them to the Opportunity tab, where I have created a table that contains their list of Opportunities that meet this criteria. Well… the whole point of this table is to get them to update their Opportunities. When they do, like changing a close date to sometime in the future, they get an error when trying to save that is “Value Does Not Exist or Meet Criteria” and they can’t save. Because they have “fixed” their opportunity to get it off their bad list, they get the error because it no longer matches the OppsToUpdate model conditions. This is probably something simple, but I am stumped. Help…
Any idea why a reference field that I have in a model’s fields list would not show up in its .data object? The Primary_Staff__c field is here: But not here: What’s going on here?
Hello!Apologies in advance, Salesforce Communities are a little new for me.I’d like a community user to login to a Community and be greeted with a detail page, created in Skuid, that is based on their corresponding Contact record (i.e. the Contact that is related to that community User).I think I’ve got this working by creating a Skuid page which serves up a detail view of a Contact record, with a subquery condition on the Contact which shows the Contact from the Contact lookup on the User record where the User Id is the Id of the running community User logged in - y’dig?I can then set the Community to have only one tab (e.g. Contacts) and have that tab redirect to my Skuid detail page. If headers and sidebars are removed from the Skuid page the Community user logs in and sees only Skuid, and they’re viewing only their Contact detail page and anything else I allow access to. This is awesome…First question - is this the right approach for what I’m trying to achieve?We’d want the users t
I can’t for the life of me get a standard salesforce page to show up in a template via iframe. ie. a task standard page in a template. Even if copy paste the url of the task into the src like so. <iframe src="https:&#47;&#47;mblazonry&#46;my&#46;salesforce&#46;com/00Tj0000004wkMB" /> What am I missing?
I’d like to use a custom field renderer to set the value for a reference field if a value doesn’t exists. Here’s my code: <br>'renderUserId': function (field, value) {<br>if (!value) {<br>value = skuid.utils.userInfo.userId;<br>var fieldId = field.id;<br>var fieldName = fieldId.slice(0,-1) + 'r.Name';<br>field.model.updateRow(<br>field.row,<br>{<br>fieldId: value,<br>fieldName: skuid.utils.userInfo.userName<br>},<br>{initiatorId: field._GUID}<br>);<br>}<br>skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field, value);<br>} It’s kind of working, but I’m getting the 18 digit record Id displaying in the field, instead of the Name. I tried changing ‘value’ to ‘skuid.utils.userInfo.userName’ in the renderer, but got the same result.Help?Thanks!
How do we add a Lightning Component to Skuid?
Hi All,I am getting data from external sever in snippet.After getting data from exteral server i loaded data in skuid table using a model.I used following code :f(result.results !== undefined && result.results.length>0){ $.each( result.results, function( index,objvalue ) { var georgeBailey = ResultModel.createRow({ additionalConditions: [ { field: ‘StaffUserId__c’, value:objvalue.name}, { field: ‘EventName__c’, value: objvalue.accountName} ], doAppend:true }); }); } Its only appending row in skuid table but don’t shovalue in “StaffUserId__c” field and “Event Id” Field.Can any one help after adding row is model using snippet how i can show in skuid table with out saving that model data?Thanks
Hi, I’m sorry but I’m new in Salesforce.com world.With Skuid It’s possible call external WebService to retrive data and rendering the result (recordset) in a Table/list page? (only in visualisation)Thanks!Sergio
Javascript doesn’t like this: model&#46;updateRow(row, {Patient_Case__r&#46;Estimated_Due_Date_by_U_S__c: null}); It’s expecting ‘:’ and getting ‘.’ after Patient_Case__r. What’s the best way around this? I’d rather not have to create a model on the Patient Case object.Thanks!
It seems that when Search Option Source is set to Automatic that the default Order By is Name ASC. Is there a way to override this behavior? I can select Search Option Source = Model to get the desired result.
Is it possible to include an aggregate model in a calendar? I want to have a calendar that shows on a per day basis, how many of an item are currently reserved. Preferably with a template field showing (Reserved/Owned) I have an aggregate model that is grouping records on DAY_ONLY and aggregating a quantity reserved. This gives me a table of exactly what I want, I just would like it in a calendar view. Is this the right approach here? Below is the table I want into a calendar view.
Is it possible to embed a YouTube video into a SKUID page? I tried using a Template with an iframe, no luck there. How would this best be accomplished? I am just getting started with SKUID.
Here are the conditional rendering properties for my field editor: However, it doesn’t seem to respond as expected: Whether IsPrivate is true or false, the field editor shows up. Notice that the buttons are rendering correctly using the same criteria. The only wrinkle here is that the model has no rows on pageload. Is that the problem? Shouldn’t the conditional rendering conditions update when the model is queried? Thanks for your help!
Note that all the images shows are my baby (Violet is due in July), so I'm not violating any HIPAA laws. :)
I’m trying to use a template field with {{{Name}}} to remove the hyperlink, rather than just using the Name field itself. My field editor is in read with inline editing mode, and the template is set to use the default popup for edit. When I click on the edit button, the popup is blank, except for a Done button. I dropped the regular Name field below the template, and the transition to edit mode works fine: The sObject is Attachment, if that’s relevant.
I imagine someone has asked this before, but I can’t seem to find it after looking through a few dozen topics.Here’s the scenario:Field A is a text field which can have values such as Tier 0, Tier 1, Tier, 2, etc. populated by WF rules Field B is a picklist for upgrading the above Tiers with 2 values, Tier 3 and Tier 4 Tier 3 should only be available for select if Field A is Tier 2, or if Field B itself is Tier 3 (so we can unselect the upgrade) Tier 4 should always be selectable We’ve used a custom snippet before for picklist rendering, but due to being JS novices, I can’t seem to figure out how to incorporate a second field.This is what we previously used for Lead Status, which was only rendering based on its own values:var field = arguments[0], //value = skuid.utils.decodeHTML(arguments[1]); value = arguments[1], $ = skuid.$; var picklistEntries = field.metadata.picklistEntries;// If value is Reached Out or Engaged,// then only show those valuesif ($.inArray(value,[‘Reac
I’m trying to build out a table like functionality from an Opportunity record, where the user can see Contacts assigned as Contact Roles against that Opportunity, and be able to create a new Contact and select the Contact Role and link it to the Opportunity.Is this possible? What’s the best approach for this? I looked at having 2 models and using a Subquery, but couldn’t quite get it to work (as the Join Object only allowed me to select from the standard objects, not a model that I’ve created).Thanks!
I have the following custom field renderer: 'renderInitials': function (field, value) { value = skuid.utils.decodeHTML(value);<br>var nurseModel = skuid.$M('Nurses');<br>if (!nurseModel) {<br>var runCreateNurseModel = skuid.snippet.getSnippet('createNurseModel');<br>nurseModel = runCreateNurseModel();<br>}<br>if (field.mode === 'edit'){<br> &nbsp; &nbsp;var initials = [],<br> &nbsp; &nbsp; &nbsp; &nbsp;currentRN = value,<br> &nbsp; &nbsp; &nbsp; &nbsp;renderer = false,<br> &nbsp; &nbsp; &nbsp; &nbsp;userId = skuid.utils.userInfo.userId;<br> &nbsp; &nbsp;<br> &nbsp; &nbsp;//get options for initials picklist &nbsp; &nbsp;<br> &nbsp; &nbsp;<b>$.each(nurseModel.getRows()</b>, function(i, row){<br> &nbsp; &nbsp; &nbsp; &nbsp;initials.push({<br> &nbsp; &nbsp; &nbsp; &nbsp;
Hi Community, Here is the skeleton of my JavaScript: var element = arguments[0], $ = skuid.$; element.append('<canvas id="myCanvas" width="800" height="50"></canvas>'); setInterval(function(){ var canvas = document.getElementById('myCanvas'); var context = canvas.getContext('2d'); function ReachForTheStarsYaLongEaredGaloot(bunny) { } ReachForTheStarsYaLongEaredGaloot('Bugs'); }, 250); Notice that I am using setIntervalI() to ensure that the DOM is loaded and I have access to the canvas element. This works but I am wondering what is the proper pattern? I suppose I could use this as an alternative: $(document.body).one('pageload',function(){ ... }); Any guidance is appreciated. Regards, Irvin
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.