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
I have a table that is loading Campaign Members, the model had a LIMIT of 20. There were 106 members in the Campaign and Skuid was only (eventually) loading 66 when clicking Load More. I looked at the table SOQL and discovered that there were two reasons why this was happening:A. The first load more was using an OFFSET that was double the LIMIT. So if the limit is 20, it initially loads with no offset and then load more loads an offset of 40 instead of 20.B. If there is no ORDER BY specified, OFFSET doesn’t work properly in soql.When I added an ORDER BY it loaded 86 (point A) and as I kept lowering the LIMIT it was increasing the amount that was eventually loaded with Load More (point B).Interestingly, on my Account table Load More seems to increase the soql LIMIT to 10000, so perhaps the issue would not exist there.
So, I’m attempting to reach way beyond my skill set in javascript. But before I begin on this, I’d like to know if it’s even possible.I’ve got an Apex Class I’d like to replace as it’s Apex and fugly.I’ve got an API setup and can successfully see JSON when entering the proper URL.https://api.forecast.io/forecast/MY-API-KEY-HERE/45.421530,-75.697193,1977-10-05T12:00:00-0400The developer URL is https://developer.forecast.io/docs/v2 JSON below {"latitude":45.42153,"longitude":-75.697193,"timezone":"America/Toronto","offset":-4,"currently":{"time":244915200,"summary":"Partly Cloudy","icon":"partly-cloudy-day","precipType":"rain","temperature":36.35,"apparentTemperature":34.23,"dewPoint":32.08,"humidity":0.84,"windSpeed":3,"windBearing":187,"visibility":10,"cloudCover":0.5,"pressure":1015.2},"hourly":{"summary":"Mostly cloudy starting overnight, continuing until night.","icon":"partly-cloudy-day","data":[{"time":244872000,"summary":"Clear","icon":"clear-night","precipType":"rain","temper
I followed this tutorial: http://help.skuidify.com/m/supercharge-your-ui/l/117747-reclaim-the-salesforce-home-page, but my home page still shows the sidebar and “Recycle Bin.” Any suggestions?
This is pretty niche, but here goes.I have a model that returns a single row with a rich text field. I put that field in a field editor in a popup for editing. I also have an action on the model so that when it’s saved, all popups are closed. The action seems to create a conflict with the CKEditor used for rich text fields, because saving the record (which fires the close popups action) gives a console error: ckeditor uncaught typeerror: cannot read property 'unselectable' of null Removing the action eliminates the problem, which I’ve done for now.This is in 5.21.8.
How can I adjust and set field keyboard tab ordering? When I am on a page the tab key does not seem to tab through fields. Is there a setting i am missing?
I am going to start with a broad question, and then add as much detail as I can for this one.I have this related list in Salesforce:I want to re-create this in Skuid, and I have an obvious issue: The pretty “Action” part of the list is coming from another plane of existence that does not appear on the CaseHistory object.I’ve created a table based on CaseHistory, and I am able to display it like so: However, the Changed Field does not get a “pretty name” and the Old Value / New Value fields are doubling up, so if a user ‘Korey’ changes the case ownership, it will show both ‘Korey’ as well as the Id which is less than helpful.I can possibly fix this a number of ways:Include the entire related list via a VF page in an iframe.orPretty up the Changed Field by finding what it is supposed to be. Make a text field for New Value, so I can actually filter it based on “does not start with” so I only see non Id specific entries (might not be possible, since I can’t change CaseHistory) and New Valu
We would like to create an action that clears the search box, rather than having a user delete the text value in the box. I set up a button that ran a snippet, but was unable to get the js to clear the box. Does anyone have any code that would work for this? Or a better idea on how to clear the search box?
as per title, pic and video
Hi Guys, I want to run more than one Skuid page on a single VisualForce page (with multiple skuid:page/ components). Reading the commentary at http://help.skuidify.com/m/page-assignments-and-overrides/l/201793-using-the-skuid-page-visualforce-… it seems like this should be possible, however I can only ever get the first Skuid component within the VisualForce page to render. Any ideas?
When ever i am selecting the lookup field values it is displaying names but populating Ids .i want to display names only .what is the pblm it may be?
Hi team! I’m currently trying to implement a feature which opens a different random record from the model on each button click.This is as far as I got with my snippet: var Model = skuid.model.getModel('Images'); <br>var rows = Model.data.length;<br>var randomNum = Math.floor(Math.random() * rows) + 1;<br>var Link = skuid.model.getModel('Images').data.row[randomNum].Link__c; window.open(Link, '_blank'); The “Link__c” field contains a valid URL of an image. What I am struggling with are 2 things:1) Correct syntax to call a specific row in the model2) Correct implementation of producing a random number, and then passing this on to retrieve the corresponding rowMy coding and Javascript skills are pretty much limited to copy and paste, so I appreciate simple language whenever possible 🙂Thank you in advance!Robin
I have followed below articles for Public page.1) http://help.skuidify.com/m/11720/l/114236-build-force-com-sites-with-skuid#!prettyPhoto2) http://help.skuidify.com/m/getting-started/l/102645-let-other-users-access-skuidConclusion:1) I can make visual force page public but cannot make skuid page public.Example1)Welcome 2) https://sopact--skuid.na14.visual.force.com/apex/skuid__ui?page=AccountWeb"> In above example 1 is working for public site but example 2 is asking me for login. The issue seems to related to permission for Account Object. (Same issue with Product Object). 2) I cannot assign read permission as per step 4 (E).Added screen shot check it. As noted in following screenshot both account and product object have no access and hence I cannot change it to read access.https://www.dropbox.com/s/gise5nqft238q6q/skuid-setup.png?dl=0
So I’ve been trying to use the “row.updated” event to stop users from entering a certain combination of fields. It’s working great but I’m also trying to update the field back to the previous value. I’m running into problems with the snippet getting looped and running forever. When I do a simple update to a picklist field it works fine, but when I update a reference field it keeps running forever. I tried using the “initiatorId” to indicate what caused the update, but that doesn’t seem to help. My code looks like this, as an inline snippet:(function(skuid){ var $ = skuid.$;$(function(){ //reverse the changes that were made to keep the user from saving the bad combination of data function reverseUpdate(updateResult){ console.log(updateResult); var model = skuid.$M(updateResult.modelId); if(updateResult.updates.Bill_Type__c){ model.updateRow(updateResult.row,‘Bill_Type__c’,‘Dual Bill’,{ initiatorId: updateResult.initiatorId
Notice that the series label is showing “&39;” (same for the hover over). This character is not in the actual data records.Why does the largest series value show in the center by default even when the legend is off?Notice that the label is cropped i.e. does not properly fit within the donut hole region.Really don’t like seeing the developer API name in the hover popup e.g. Ship_To__r.Name.
I am trying to have a Tab Set and change the Icon based on if the tab section has been marked completed with a boolean field and have a Complete and Save Button within each Tab that toggles the field. I will have a lot of sections and want to track each tab being completed and allow hopping around with visual completion indicators. The user fills in the tab contents and click save&complete section button.I then set rendered conditions on 2 tabs one has a Checkmark icon and one has a warning icon. I hide one and show one based on the completed field being marked true/false. (If there is a better way to display icons based on a field in a tab?)The problem:When I click on a button inside my Tab, (buttons are within a Page Title within the Tab) to Save&Complete which updates the boolean field and saves the model. This causes the tabs to Hide and the other to show. The issue is that the next tab in line is then selected and it contains it’s content plus the content from the Tab that
This is in the Superbank RC running in a dev org.I’ve been trying out all the new features on tables. Everything looks great except for when I try to set the new Empty Search Behaviour attribute to Remove All Model Data. As soon as I switch that on, my filters return nothing at all. If it’s off, everything behaves as normal.Perhaps it’s because I spell “behaviour” with a “u”?
er …uh … why? Anyone else ever see this?
I’d like to create a button that creates a new row using another as it’s template. All fields except the name field would duplicate. The name field would be incremented by number or letter. ie. “Room 101” would be “Room 102”, or “Section A” would be “Section B”.I certainly have to use javascript, but not too sure how get there. Here is the function I have so far. function CreateIncRow(modelid){ var model = skuid.model.getModel(modelid); var lastrow = ; //(will need to know how many rows there are in order to get the last row. Not sure how to select row by index though) var lastrowlocationname = model.getFieldValue(lastrow,'Location_Name__c'); var lastword = lastrowlocationname.split(" ").pop(); If (!IsNan(lastword)){ updatedlastword = lastword++; } else { var lastwordlastchar = lastword.slice(-1); var lastwordlastcharIncrement = String.fromCharCode(lastwordlastchar.charCodeAt() + 1); var updatedlastword = lastword.substring(0,lastword.length - 1).concat(lastwordlastcharIncrement); } v
I’d like to call a function from several different components/models. I’m asking this as rhetorical question. I’m assuming I need to create a snippet for each specific model/component in order to be able to call the main function with the id of the model I’d like to use. In other words, each snippet will only be calling my main function with the “modelid” parameter passed in.Do I have this right?
How do I render Multi-Select Checkboxes Horizontally and not vertically like the built in render? If someone has an example how to do this would be awesome.
I have a popup with a page include which contains a wizard, for users to ‘create a new enquiry’. As part of the new enquiry users need to search for a reference field for a location. This seems to work fine the first 1 - 2 times the reference field is searched, but if the user goes back and changes/edits that location, the reference field autocomplete results are falling behind the page include component. See image below:The first 3 rows of the autocomplete results are clipped (not visible) and can’t be selected because they fall behind the page include.Any ideas on why this could be happening and how to remedy?
Is there any way that I can assign values from a custom field rendering snippet so that it is pushed into the actual Field Value? I have a custom snippet that calculates a Running Balance, but the actual value of the “Balance” field in SalesForce is still blank. Can anyone suggest a solution or workaround? Would be greatly appreciated.
Looking for a solution for our requirement. we have a detail page containing tab set. object record detail is in one tab and rest of the tabs correspond to its child objects. now customer wants some common actions to be displayed in tab set itself. reason to have it in tabset so that buttons are visible all the time and user doesn’t have to click on a tab first to access buttons. we cannot put these buttons above tabset as we already have differently styled buttons in page title section.there is no direct way of adding button or link in tabset. i was trying to use jquery but it adds button in tab section and not in tabset (tab panel). is there a workaround to achieve this?thanks
I have a custom field renderer highlighting the background of a field when its value is < 0… This works great, except that when there are still unsaved changes on the page the text is still in edit mode, (gold-ish colour) and pretty hard to read. I’ve tried to set the .nx-fieldtext property in the renderer but can’t seem to get it working. Any ideas on how I can set the .nx-fieldtext property? var field = arguments[0], value = arguments[1]; skuid.ui.fieldRenderers[field.metadata.displaytype][field.mode](field,value); if (value < 0) { field.element.css({ 'background-color': 'rgb(253,127,127)', <i>//this is where I would like to set the .nx-fieldtext property</i> <i> 'color':'black'</i> }); } else if (value > 0) { field.element.css({ 'background-color': 'rgb(144,228,239)' }); }
Seem to have developed an issue on one of my pages where data disappears then re-appears on refresh. See video for details:
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.