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
We have a model that we are trying to filter with two conditions. We applied both conditions. When we look in the object, we can see that both conditions were correctly applied but, the row that is filtered does not match the conditions. Any advice? = skuid.model.getModel(‘MMA_Payroll_Period_Instructor_Day’)K {updateable: true, type: “”, soql: “SELECT Payroll_Day_Date__c,Name,MMA_Payroll_Period…FROM MMA_Payroll_Period_Instructor_Day__c LIMIT 2”, rTypeFor: null, recordTypeInfos: null…}y.getConditionByName(‘MMA_Instructor__c’)Object {valueTemplate: null, values: null, value: “”, units: null, type: “fieldvalue”…}y = skuid.model.getModel(‘MMA_Payroll_Period_Instructor_Day’)K {updateable: true, type: “”, soql: “SELECT Payroll_Day_Date__c,Name,MMA_Payroll_Period…FROM MMA_Payroll_Period_Instructor_Day__c LIMIT 2”, rTypeFor: null, recordTypeInfos: null…}Instructor_condition = y.getConditionByName(‘MMA_Instructor__c’)Object {valueTemplate: null, values: null, value: “”, units: null, type: “fiel
I’m working with cases. I am showing account/contact info, and have selected the appropriate fields in the CaseData model. If I show “Contact.MailingStreet” it shows the correct street field contents. If I show “Contact.MailingAddress”, it shows [object Object] as show below. As far as I can tell, I have proper permissions and everything. Usually with bad field permisions, it’s blank anyway. Is this a bug?
The mass update functionality of Skuid is awesome. This will bring a ton of value to our company! It makes it so easy that we have a question - say a user makes changes to multiple records in a table, or mass updates records, and they make a mistake, is there any quick way to undo all changes? Honestly, with my familiarity of how Salesforce works I don’t see this as a possibility, but then again Skuid seems to make the impossible possible, so I thought it’d be worth checking. Thank you!
I have a snippet that iterates through rows in a model (RequestedMedRecs) and creates a task for each row that meets certain conditions. The snippet runs every time my model is saved. The task creation part of the snippet is working well.After each task is created, I want to update the row (Request_Submitted__c = true) so that the row no longer meets the criteria for task creation. I think I need something along the lines of this, but can’t figure out where to put it within my snippet. The update on the row needs to happen after all the tasks have been created. medRecModel.updateRow(row, { ‘Request_Submitted__c’ : ‘True’, });Here’s my full snippet:var params = arguments[0], $ = skuid.$;var MedRecModel = skuid.model.getModel(‘RequestedMedRecs’); var TaskModel = skuid.model.getModel(‘MedRecTasks’);$.each(MedRecModel.getRows(),function(i,row){ if (row.Status__c == ‘Requested’ && row.Request_Submitted__c === false) { var NewTask = TaskModel.crea
I have an object, “Private Lesson” that includes two fields:- Date (field type is ‘date’)- Instructor (I have two versions of this field–one is a ‘lookup’, the other is a ‘text’ field that is set to automatically fill itself with the value selected in the lookup)I am trying to automate the value selected in a third field on the “Private Lesson” Object- Instructor Day (‘lookup’)The “Instructor Day” object includes a fields for “Instructor Day - Date” and “Instructor”. This object has thousands of records, one per day per instructor. How can I automate this “Instructor Day” lookup up field on the “Private Lesson” object to find the one record that matches both the instructor and the date? Private Lesson Date = Instructor Day DatePrivate Lesson Instructor = Instructor Day InstructorMy idea was to set the “Instructor Day” field renderer to “Custom (run a Snippet)”. Would that work? If so, any suggested javascript for the Snippet?Thanks!
When displaying the ConnectionSentId fields for an object the fields are blank. Creating a table using the object PartnerNetworkConnection works fine but those same Ids should also be available on the shared records.Seems to be same issue for an object whether I try PartnerNetworkRecordConnection or the parent PNC.
I am looking for custom component samples of different types. To my knowledge, only sample that I have seen around is a map component. Is there any other GIT repository with additional samples?
Kind of an observation, but kinda a question.The order of models is important if one model uses a field from another.(?)I have a queue/detail screen. I want the queue to filter based on running user information.So I have a RunningUser model which pulls in the fields I want, and to keep it out of the way, I had it at the bottom of the Models list.So I modified the queue model condition to use a field on RunningUser, but it never worked.until… I moved RunningUser to the top of the model list. (Being able to re-order the models, kinda tells me that it’s important)So the order of models is important.(!)Is this the way it’s supposed to work? I looked around but my queries failed to find any documentation of this. (granted I just queried the conversations and did a quick look at the model tutorial)Thanks
I’m having an issue with mass edits. I have a table to display contacts and I’ve gone in and changed a field through mass edit on about 200 contacts, clicked save but the changes are not taking affect.Any reason why this might happen?
Any pointers? Where should I start looking?
Hi All,How to send emails through SNIPPET?, like Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); in salesforce.Here I need to send HTML template, my code like this:Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); mail.setTargetObjectId(NewContact.Id); mail.setTemplateId(‘00XD00000024V1F’); //HTML Templatemail.setOrgWideEmailAddressId(emailAddress.Id); // Email Address to sendmail.setWhatId(nominationId); // thisMessaging.sendEmail(new Messaging.SingleEmailMessage { mail });Please help me out.Thank youShaik.
When we used lot of labels in skuid page. when we are viewing as Visual force page in which skuid page is included we are getting the following error messageURL starting with 'https://omnicom–OPSSIT–skuid.cs10.visual.force.com/apex/labels?labels=%5B%22Contact_Other_Phone%22…. is longer than the maximum allowed length of 4,096.
We have a Skuid page- Page1 - with a Save button, which saves a parent object record and related child records created on the page. There are a sequence of actions associated to this button.Approach 1Saves parent records Runs Snippet1 on child records, updates certain fields on the rows in the model Save child records Redirect to the parent detail page Approach 2 Step 1 Step 2. A save() method on the end of Snippet1 saves the child records here. (Step 3) Step 4 Approach 3Step 1 Step 2, only in this case both Step 3 and Step 4 were appended as JS in the Snippet1. In Approach 2, sometimes on landing the detail page in Step 4, the child records are not yet created. On refreshing the page, they are listed in the related list. Step 4 runs before the Snippet1 has completed its run. Approach 3 was adopted as an a solution to this.Now, Approach 1 was used in an unrelated page - Page2 , but never encountered this problem. But then again, the latter page has relatively lower complexity in ca
Check below link of screen shot.https://drive.google.com/file/d/0BzwLYE5K_ApZdno1SkhuaVZVM2s/view?usp=sharingWe are facing issue in autocomplete.When we are clicking on search icon in auto complete it will popup one page.When we clicking on the any item on that grid it is redirected to different page.Can we change that link to just name?or Can we remove that link from popup?or On click of it should select that record not redirect to other page.
Has anyone been able to create an Account or Contact detail page with upcoming and past campaigns tagged to that Account/Contact? Would the model be Campaign or Campaign Member? If anyone has had success with this, please let me know! 🙂
I want to use my own icon on a Skuid button. How do I do that?
Hi,I want to automatically create a sharing rule as part of a button click with the sharing target determined from the data in a record.I am wondering whether this can be done by creating a model on the *__Share object and inserting the appropriate record, perhaps via Javascript of the Action Framework?Does anyone have any experience of this? I could try an Apex trigger but I’d rather do it in Skuid if possible.ThanksBrad
Hi - we have a dynamic SKUID dashboard with a snippet refreshing the page every 5 minutes. We would like to show the current time at each refresh - something like ‘Last Updated : xxxxxxx’.I tried by adding a template at top of the page, with the following in the HTML:Last Updated : {{$System.Now}}but that didn’t work. I have checked through the listed merge variables:http://help.skuidify.com/m/11720/l/187263-global-merge-variables-functionsbut don’t see System listed. Any ideas as to how to pull in the date & time ?
Is there a way to pass a string to a table’s search bar when the table renders?
So we have a field editor layout, with the Save/Cancel buttons, then we have a custom button called Create Legal that sits in the Page Title Section. Problem is, we want the buttons altogether as now the Save/Cancel is left and the custom button is right and up. Thanks for assistance.
I’m running the following script. Somewhere in the middle of that, it’s triggering this function in main.js: And it loops and loops over lines 19531-19534 (doesn’t seem to ever reach 19535). Here’s my code: var mA = skuid.$M('Open'), rA = mA.getFirstRow(), $ = skuid.$; //Check for related caller info $.blockUI({ message: 'Checking for Caller other than Patient...' }); console.log('Checking for Caller other than Patient.'); if (rA.Caller\_Other\_Than\_Patient && rA.Caller\_First\_Name\_\_c) { console.log('Adding Caller other than Patient as Related Person.'); var dfd = new $.Deferred(), mR = skuid.$M('Related'), fullName = rA.Caller\_First\_Name\_\_c + ' ' + rA.Caller\_Last\_Name\_\_c; //Check if row for caller already exists (if so, update that row) var exists = false; $.each(mR.data, function(i,row){ if (row.Name == fullName) { exists = true; mR.updateRow(row,{ Relationship\_to\_Patient\
I have been trying to change the bottom border color of buttons with no success. It is the green (#0097a7) color that shows on the bottom of some active and inactive buttons. I have inspected the element in chrome and changed the class in my css but that pesky green stays. I would love to banish that green from every where! I have tried all different types of combinations but nothing changes the color once it is my css style sheet. Thank you!This is the green I am trying to get rid of this. Here is the css for the default button:.ui-widget-content .ui-button.ui-state-default { border-bottom-color: #f2f2;}Here is the css for the active button:.ui-button .ui-state-hover .ui-state-active { color: #0087B8;}
Hello!I’m using javascript to populate a url and I need to replicate {!$Api.Partner_Server_URL_160} using a snippet.I’ve been using sforce.connection.partnerServerUrl in the snippet but this doesn’t specify the version (16).Any thoughts? Cheers!Louis
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.