Complete our Nintex Community Survey
Access resources, discussions, and troubleshooting tips to build custom applications and streamline workflows with Skuid NLX, SFX, & EXP.
Recently active
I’m trying to use Javascript to filter down a list of selected records. The idea is that the user selects a bunch of records, and we make different updates depending on the Status of the selected record. The console shows me ‘records’ when I’ve selected them, but nothing in ‘filtered list.’ “Status” in the proper API name of the Status field on the Case object. Any ideas what might be wrong with this Javascript? $ = skuid.$; var params = arguments[0]; var models = skuid.model.map(); var Cases = models.CasesToCover; var records = skuid.$.map(arguments[0].list.getSelectedItems(),function(item){ return item.row.Id; }); console.log(records); var filteredList = records.filter(function(record) { return record.Status == “Started”; }); console.log(filteredList);
We have a requirement to create multiple records on saving a Skuid page . There are 3 models used in the page Opportunity ( Store Opportunity details) Contact (List Contacts) OpportunityContactRole (Store Opportunity Contacts) On entering and saving details Opportunity details entered should be saved to the Opportuntiy Model Based on the # of contacts selected (multipickist field) that many records should get created in the OpportunityContactRole model and should get linked to the newly created Opportunity). JS Snippet is being used for this var params = arguments[0], $ = skuid.$; //to retrieve a list of page models skuid.model.map(); // obtain a reference to a specific model var OpptyModel = skuid.$M(‘Opportunity’); var OpptyContactModel = skuid.$M(‘OpportunityContactRole’); //create a new Opportunity in our Oppty model skuid.model.save([OpptyModel],{callback:function(result){ if(result.totalsuccess){ alert(‘Oppty creation Success’); var firstOppty = OpptyModel.getFirstRow()
We have a parent object ENROLLMENT with child object LESSONS. The lessons object has a lookup to a financial object to pay a teacher PAYABLE LINE. Payable line has a parent object that rolls up all of the financial totals into one payout record PAYABLE.We have a skuid page for the enrollment and we can easily see the associated lessons there. We can also easily see the payable lines in a list on the enrollment. What we have not figured out is how to see a list of the Payables in the enrollment. We would like to see that list and also create new payables from our enrollment skuid view. How may we set this up?FYI a payable is the master to a payable line so the payable must be made first before per lesson payable lines can be added. Thanks!
I’m running into an issue where doing a create row / update row in Javascript happens almost instantaneously if the table for the model I’m creating/updating rows for hasn’t been rendered in the UI yet; but the moment you render the model’s table, even if you hide the table from display on the page, a createRow / updateRow javascript operation (in a loop) becomes painfully slow because it’s updating the UI for the table with each create/update.Is there a way to unload from the UI rendering (de-render) a table / UI element so that I can run these sorts of create/update operations, and then re-render the table after it is done?Alternatively, is there a way I can run these create/update operations without invoking an update to the UI rendering so that it happens more quickly, and only perform that UI rendering update at the end of my loop?
I have a custom object “Referral” that is a child of Contact (lookup relationship through “Referred Individual”). A contact can have many referrals. For one referral, I want to see a list of all other referrals for this contact. I have a list of referrals. I want to have a popup that works for each referral so I have set up an action on the table: Clicking this icon returns only one row even though there are many referrals for this individual: There are two models - the model for the referral list with no conditions and the model for the popup - called AllReferrals with a condition default off: The actions for the icon are: I can’t figure out why I only get one referral returned.
I am testing out the lightning experience with Skuid and I am having a hard time getting my redirect URL actions go to a VF page instead of a direct Skuid page.In SF classsic we would create an override for an object set a VF Page and then redirect to that VF Page because you can customize the tab name. This is not working in lightning. Can anyone help me out on how the URL should look to redirect to a VF page from a Skuid API V1 (V2 would be great too) with My Domain enabled?
I have two models i.e case Model and Case Comment Model. From Case Comment, I am not able to edit the caseId. How should I achieve that ( I am trying to make that as reference field, so that user can select the Case id from the reference list )Reference Example is shown below ( This is what I am trying to do for case and Case Comment)The table on the Case Comment model is shown below( Here I am not able to edit caseID)Do we have any other approaches?Can we edit the caseId field from the case Comment model table?Can someone please help me with this issue.
Not long ago, we added DATE_ADD and DATE_DIFF to formula functions in UI-only fields. What other formula functions not currently supported would you like to see available? Thanks!
I have a mass action that updates rows on a table. The table might have 20 rows, or many more - 70 or 80. If I try to update a larger number (say, 70), I get an error: “Unable to gain exclusive access to rows.” Is there a way to batch up this action so that the update happens in smaller chunks?
I have an Account Model I am trying to apply a filter to based on its ParentID, and to show all related Opportunities with the distinct Account IDs remaining in the filtered Model. I am applying the filter through a UI-only picklist field with predesignated values for the ParentID. I have a Condition on my Opportunity Model to be filterable default on for all Accounts in the set of all values containing the ID field from any row returned by the Account Model. Why is my Opportunity Model not updating?
We have an existing object in our app called Feedback__c. When we upgraded from Brooklyn to Spark, all the models built on the Feedback__c object seem to be attempting to query skuid__Feedback__c (even though the the soql includes “FROM Feedback__c”). Any ideas on how to fix this? 1. An error occurred while attempting to perform the following SOQL query: SELECT Demonstrated_Fighting_Spirit__c,Demonstrated_Relevance__c,Enhancements__c,Interaction__c,Interaction__r.Name,Notes__c,Positives__c,Interaction__r.Primary_Staff__c,Interaction__r.Primary_Staff__r.Name,Interaction__r.Patient_Case__c,Interaction__r.Patient_Case__r.Name,Additional_Feedback__c,Demonstrated_Accountability__c,Id FROM Feedback__c WHERE (Interaction__c = ‘a0X1K00000BqAf3UAF’)AND(Additional_Feedback__c != true) ORDER BY Id LIMIT 2 Error:No such column ‘Demonstrated_Fighting_Spirit__c’ on entity ‘skuid__Feedback__c’. If you are attempting to use a custom field, be sure to append the ‘__c’ after the custom field name. Pleas
I am unable to edit the case comment and render CreatedBy ( on case comment Object) . Can anyone please help me? Though I went with an approach of rendering a table ( on Case Comment Object) on button click. But in this approach again now I am not able to render the case comments of a particular caseID ( ParentId).
Hi, Users are getting the following error when trying to login to their skuidsite. {"statusCode":400,"error":"Bad Request","message":"Invalid cookie value"} Is the platform down right now?
HI team,We are opening a skuid page through popup when user clicks on table row action and this page has a on-load snippet. we are facing issue when user click on another records’s row action then this popup is opening but on-load snippet execute 2 times and after closing the popup if again i open any other record then on-load snippet execute 3 times . i am assuming skuid is storing the records opened in popup and execute on-load snippet multiple time. please help me to resolve this issue if suppose i am opening 100th records from the table’s row action then the on-load snippet will execute 100 times and this will increase processing time.ThanksAkanksha
In the list view, on the row action, Pop up is opening. And in the popup, Skuid page is opening. When we first time open pop up at first time, then onload function is executing at one time. Then we close the popup and the again open the popup through row action, then onload is executing 2 times. Can anyone help me for this. Why onload is executing more than one time?Thanks,Geeta Garg
Is there a “MODEL_LOOKUP” like function usable in Javascript snippets? I’m looking to, in javascript, be able to get a specific row from a model based on a key (eg. the Salesforce ID of the row).I’m finding myself needing to go through loops to construct Maps in Javascript in order to have this functionality, but if there is some way I can pull a row from a model based on a key (like the MODEL_LOOKUP function but in Javascript) I wouldn’t need to do that.Is there a similar function to MODEL_LOOKUP usable in Javascript that will return the row (or values from the row) I’m looking for based on a key? I’m not finding a function like this in the model methods documentation.Thanks!
Hi All, I have a reference field(lookup) named SKU. When user clicks on the lookup field it displays table component letting user to select one row at once .It has having several columns.Values in some of the columns are populated based on filters and in few columns values are taken up from model. I have added a field favorite(checkbox) which will let user to mark a particular row as favorite after checking that checkbox.I have added the field favorite(checkbox) in model as well as in table component .I am unable to check or uncheck the checkbox .It’s not editable. As shown above Favorite is not editable. How can I add an editable field on this table. Thanks
Usually we are filtering records where the owner id is the sf user … we have several use cases where we need to show records owned by the salesforce user as well as records able to be viewed by public groups they are a member of. Any ideas on how to state this in the model conditions?
Hi,I am rebuilding a spreadsheet into Skuid, and the users like to enter “N/A” into date and currency fields. We want to properly evaluate the fields when they are entered (like sum or filter by quarter, etc…) but ignore them when they are N/A.Obviously we could have a proxy field that is text or UI only and then copy values into type field or an N/A checkbox, but I’m hoping to not triplicate all the fields with this pattern. Has anyone done something clever related to this that might lead down a different path than having a field for the UI and a field for the DB logic?
I just completed a webinar on rolling out Salesforce Lightning. Lightning does not support JavaScript buttons and, upon completing a Readiness Report, I discovered that we’ll have a lot of work to do on that front! What I’m wondering is, how if at all does Lightning’s lack of JavaScript support affect JavaScript snippets used in Skuid? We’re currently on the latest version of V2.
We updated from version 10 to version 12 and we have a field that gets populated via an Apex class with some html. We display the field contents in a template field with the following code: {{#urlDecode}}{{{Tracking_Info__c}}}{{/urlDecode}} In Version 10 the are honored and the " " text is not displayed. In version 12 the are not honored and the " " are displayed. Should I be using something other than {{#urlDecode}}{{/urlDecode}} to honor the html?
Is there a logical test to determine if the page is running in Lightning or Classic Salesforce? I want to do a Row Action URL redirect…but the URL should be different for Lightning than for Classic depending on which environment the page is currently running in.
Hello, Not sure if possible but trying to aggregate a table and concatenate a text field as per this example Does anyone know of a way this can be done? The part I’m having a hard time with is the Concatenation of the Description field as shown below Thx!
I updated from version 10 to version 12 and I get the following error “Model “XXX” is processed server-side and has a condition that depends on Model “XXX”, which is processed client-side. Some conditions were set to inactive.” I don’t see any inactive condition on the model stated. Is there somewhere else I should be looking?
Hi all… I need to create a model with a field that lists (dyamically) all of the values in a field on a different model … I can surface the multiple values in a template etc or deck but is there any simple way I havent thought of to write them dynamically into a single field on another model?
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.