Nintex Automation K2: Back to basics
Connect with peers and experts to ask questions, share insights, and find solutions for Nintex products.
Recently active
I need the focus to be on my search component when my page loads, not the first editable field editor field… Anyone know how I can do this? An inline snippet…?
Our goal is to redirect users who have Skuid permissions to custom Skuid pages for both the New and View actions for the standard Case object, while pointing users who don’t have Skuid permissions to the standard page layout. We have active page assignments created for each page and have overridden the New and View actions on the Case object with our Visualforce pages. We have also cloned the managed Skuid permission sets, made local versions and assigned a Skuid Page Viewer permission set to a test user. As we test, regardless of having the Skuid permission, the test user is redirected to the standard New Case page layout with this code: <apex:page standardController=“Case” extensions=“skuid.Redirects” showHeader=“true” sidebar=“false” readonly=“true” docType=“html-5.0” action=“{!IF(canUseSkuid,‘’,redirect)}” title=“New Case”> <skuid:page objecttype=“Case” actiontype=“New”/> </apex:page> If we replace <skuid:page objecttype=“Case” actiontype=“New”/> with: &
I have a REST model that is returning fields like this:[{ "id": 54321, "firstName": "Bob", "lastName": "McTest", "phone": "", "email": "bob.mctest@example.com", "date": "June 17, 2013", "time": "10:15am", "endTime": "11:15am", "dateCreated": "July 2, 2013", "datetime": "2013-07-02T10:15:00-0700", "price": "10.00", "paid": "no", "amountPaid": "0.00", "type": "Regular Visit", "appointmentTypeID": 1, "duration": "60", "calendar": "My Calendar", "calendarID": 27238, "certificate": null, "confirmationPage": "https://acuityscheduling.com/schedule.php?owner=11145481&amp;id[]=1220aa9f41091c50c0cc659385cfa1d0&amp;action=appt", "formsText": "...", "notes": "Notes", "timezone": "America/New_York", <b>"forms": [ { "id": 1, "name": "Example Intake Form", "values": [ { "value": "yes", "name": "Is this your first visit?", "fieldID": 1, "id": 21502993 }, { "value": "Ninja", "name": "What is your goal for this appointment?", "fieldID": 2, "id": 21502994 } ] } ]</b> } Is there any wa
I have a date field and a time field, and I’d like to combine them into a single ui-only datetime field with a formula, but I haven’t gotten very far. {{date}} & {{time}} isn’t returning anything.
My team consists of five individuals, all of whom use Skuid and one of whom is located on another continent. It’s difficult to predict as and when we will each need to edit the layouts and we are running into issues with version control - long delays to implement changes because we’re waiting for another person to finish changes on the same layout, uploading an outdated cloned version of a page etc. Have any others figured out a good system and would be willing to share best practices?
I’ve had this problem before and have worked around it in some cases. When auto-populating a reference field in edit mode through an action, the field populates with the Salesforce ID instead of the reference record’s name. In my current use, I want to have a task that can be assigned to other users as owner. It works as planned except that I want the owner field to prepopulate upon page load with the userId of the current user. They can then change that to another user if they want to assign the task to others. The problem is that when the field populates, it populates with the Salesforce user ID instead of the userID. I tried triple Mustache, global merge variable for user and creating a model on the user object and pulling the userId from there. All have the same result: Salesforce Id instead of UserId. It does work, but it looks sloppy to the user having a jumble of numbers and letters in the userId field. Anyone have any suggestions?
I have added a column(Description) in a table which is read only by default.I want to make this field editable whenever a particular row is selected(a select row column is added on the table and whenever this checkbox is selected,we need to make the Description field editable on that row)
I am trying to customize the columns that are displayed when a user searches in an Account lookup field. It looks like the Display Template should be the solution. However, when I change the Option Source to Model and add the merge fields that I want to display, the lookup search breaks. These are the steps to reproduce what I’m experiencing:In Skuid:1. Select the lookup field on the edit page2. Click search tab3. Change Option Source to Model4. Add merge fields ( in my case LastName, FirstName, Email, Phone )5. Save changesIn Service Console:1. Refresh page2. Enter Account Name into lookup field3. At this point the search never finishesIf I use the automatic Option Source I don’t have access to the fields I want to display. Am I using the Display Template in the correct manner?
Is there a way to obtain the specified “label” property for a field from within a field renderer?field.label and field.metadata.label contain the SFDC label (or the overridden model field value) but not the overridden label text/value from the field editor itself if applicable.I need to be able to render the label contents in my custom renderer based on what’s in the overridden value on the field in the field editor but can’t seem to find it available from any property path given the “field” object in the renderer (other field level properties are available).Possibly I’m just overlooking it. Is this possible with the current version?Thank you!
I’ve been trying to access a apex REST method in a same org trough skuid and unfortunately it was not successful, created a “model service” as below. created a model as below. and the result is as below. I already provided the username and the password for the “Model Service” though it gives me the “Unauthorized” error Error retrieving metadata for Model(s) associated with Data Source ‘RESTAPI’. Please check Models’ properties to ensure they are set correctly. Error connecting to REST Data Source at URL "https://cs16.salesforce.com/services/apexrest/Account/*": Unauthorized Webservice that I’m trying to access; @RestResource(urlMapping='/account/\*') global with sharing class AdviceAccreditionsWebService { @HttpDelete global static void doDelete() { RestRequest req = RestContext.request; RestResponse res = RestContext.response; //String accountId = req.requestURI.substring(req.requestURI.lastIndexOf('/')+1); Account account = [SELECT Id FROM Account limit 1]; delete account; }
I was having a problem where a popup dialog that used a page include was getting cached, but only when viewing the page on a Force.com Site. So, even if data was updated, the dialog would still show old data - it was cached for 10 minutes. I was able to fix this problem by adding cache=“false” to the Apex Page Include that I copied from the Skuid one. <apex:page controller="skuid&#46;Ui" sidebar="false" showHeader="false" readonly="true" standardstylesheets="false" doctype="html-5&#46;0" cache="false"> <!-- Load in external CSS files using link tags --> <apex:outputText value="{!cssLoads}" escape="false" /> <!-- Load local/page/inline CSS --> <style>{!css}</style> <!-- Build the HTML DOM of our page --> <apex:outputText value="{!html}" escape="false" /> <!-- Load in external JS files using script tags with src attribute --> <apex:outputText value="{!jsLoads}" escape="false" /> <script class="nx-include-scripts">
I’m attempting to get the overriden metadata maximum length of a field using the javascript API.I’m currently using the following code to get the length of the field: var flength = field.model.getField(field.id).length;<br> This however, as per the API documentation, returns the Salesforce Metadata Length, and not the overridden length.The value being returned is '350" to flength, and not ‘300’
Is there an easy way to set up a grunt task so that I can push specific pages back to the server?I’d like to do something like this: grunt.initConfig({ 'skuid-push':{&nbsp; &nbsp; &nbsp; 'options': orgOptions,<br>&nbsp; &nbsp; &nbsp; 'production':{<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'files':{<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src: ['skuidpages/Optimize*', 'skuidpages/Cleanup*']<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>&nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; 'specific':{<br>&nbsp; &nbsp; &nbsp; &nbsp; 'files':{<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src: ['skuidpages/'<b> + n</b>]<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; } }); grunt.registerTask('push-specific-page', ['skuid
Is there anything I have to do differently to use skuid-grunt with a sandbox org?I’m getting an authentication failure.
I have a button on a table to “Query Model”. When pushed all the data is wiped out from view. The table shows the message “No Inventory Positions to Display” where inventory positions is the name of the object.If I hit the refresh button in the browser the data will come back. Any thoughts as to why this is happening?
Any idea what might be going wrong when I get this message? Fatal error: Could not find a match for URL /skuid/api/v1/pages
Seeing this npm warning when installing grunt and skuid-grunt:lodash@2.4.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.Is that anything I should be concerned about?
I have a table showing completed tasks that go back many years. I have not found a good search combination of settings that allows us to search subject, type, and description (which is Long Text).SOQL looks like it will search subject but not description and SOSL will not search items older than an year.Am I missing something?
I have a button Conditionally Enabled on a Wizard that has some weird behaviors going on. My button’s conditions require 1 of these 2 fields to be completed to move to the next step: Looks good when you get to step 2 (not rendered because there’s no data yet) Once I fill in info for one of the fields, the button is enabled! If I add data to the other field, it disables itself. But the condition says any condition must be met (either one must have data in it). Why? If I mark that line for deletion, the button returns: If I unmark for deletion, the button is enabled again as it should have been from the start.
I understand that {{#blah}} is basically an “if” statement that checks if a field has a value, but for numerical fields a zero value will be counted as blank. Is there a method to differentiate between a blank and a zero?
Hi all, I’m trying to hide or remove the rich text editor box that comes up for rich text fields. I have some users with smaller resolutions and it seems to be blocking their views, textboxes, etc. Does anyone know of a way to easily hide or remove this?
When a field in a field editor has conditional rendering applied, the eventSubscriptions are not being properly removed causing “render” to be called incorrectly. This leads to several unintended consequences including performance hit, html being drawn then removed, etc. Notes: This one took several hours to track down and isolate for a small repro. When conditonallyDo gets called (as a result of models.loaded firing), data(‘rendered’) is undefined and hence render gets called. However, the field shouldn’t be listening for models.loaded at this point. Was very difficult to follow everything going on so I could likely be mistaken but it appears that the event subscriptions are being removed from the nx-field instead of the wrapperElement where they reside. when render gets called, field.row is valid and contains data while field.model.data is empty If you remove the conditional rendering, the problem does not occur. Steps to reproduce: Create page using XML below Preview page dismiss
When restoring to a previous version, the following error is encountered:There was an error while trying to restore the selected page version:Error: no fonts to loadSteps to reproduce:1) Create standard Account Detail page2) Make sure the page is saved3) Remove the “Delete” button4) Save the page5) Try to restore to previous versionExpected BehaviorPage restoresActual BehaviorError: No fonts to load encountered and page does not restore
Can someone explain what is the purpose of ModelServiceAuthProvider interface and ow to implement it?
When ‘length’ and ‘read-only’ are overridden in field metadata, neither is enforced in the UI. Note This occurs whether model is marked to process client side or not. Read-Only previous identified here https://community.skuid.com/t/override-field-metadata-read-only-not-working. Mentioning it here as well to “bump” the issue and also since it’s likely related to the length not being enforced as well. Steps to reproduce: Create page using xml below Preview page Expected Behavior Billing City is read-only Actual Behavior Billing city is editable Type something longer than 5 characters in to Account Name Expected Behavior Input stops at 5 characters Actual Behvior INput does not stop Click Save Expected Behavior Error message displayed indicating data is invalid because length > 5 Actual Behavior Records saves successfully, no data truncation, no enforcement of 5 character limit Sample Page XML <skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" sh
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.