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
Hello!I’m trying to update selected rows in a table after having saved a new record in a different model - and I’m trying to do this in one fell swoop using a mass action button on the table.I’m using a callback because I want to reference the newly created record in the updates to the rows in the tables by inserting the ID into a lookup field on the selected records, however, when I use getSelectedItems to fetch the selected rows in the table I’m getting the following error:Uncaught TypeError: Cannot read property ‘getSelectedItems’ of undefined I’ve tried moving the getSelectedItems section below the callback which also didn’t work. The saving of the record is working as I can console.log the ID of the saved record.I’m sure I’m doing something daft - any ideas? Here’s the snippet with the pertinent section in bold: var params = arguments[0], $ = skuid.$, reqBooking = skuid.model.getModel('RequiringBooking'); var newBooking = skuid.model.getModel('NewBooking'); var listBooking = skuid
Hello …I would like to use custom field renderer on a reference field . I am able to use custom renderer but I was not able to change the displaytype to picklist. Is there any way to change the displaytype from reference to picklist from JS snippet. Thank you.-Jnanendra
I’m working on adding some custom text fields to a few objects and just realized that skuid does not appear to enforce the max length of a field in the UI. For example, I have a text field with a max length of 3. When I add this field to my page, I can type more than 3 characters into it - it’s not until I hit save that I get any kind of error about the length. Does skuid not detect the max length upfront? I’d rather users not even be able to enter more than the maximum characters allowed. I can probably handle this via a custom renderer, but that means I’ll need to use a custom renderer for most of my text fields. Is this on the roadmap for a future skuid release?
We have made our own calendar through skuid and one of the options we would like to add is creating a recurring series of events. When making a new event on the calendar, however, the check-box is grayed out not allowing me to check it. This is preventing us from creating the recurring series. If I make a new skuid page and put the same field there it does allow me to check it and create the event. This issue happens only when creating an event from the calendar. The image below shows my problem. Thanks, Michael
I have the following URL:https://skuid.cs18.visual.force.com/apex/skuid__ui?CaseId=50011000003AQptAAG&page=CaseDetailsModelI am using a Global Action and creating an Attach a File to the Case. This is a redirect actionwith regards to the retURL I have tried the following:/p/attach/NoteAttach?pid={{$Param.CaseId}}&retURL=%2F/apex/skuid__ui?CaseId={{$Param.CaseId}}/page=CaseDetailsModelAND/p/attach/NoteAttach?pid={{$Param.CaseId}}&retURL=%2F/apex/skuid__ui?CaseId={{$Param.CaseId}}&page=CaseDetailsModelAs I want the return url to be: /apex/skuid__ui?CaseId=50011000003AQptAAG&page=CaseDetailsModelIt works fine to have the return URL to contain CaseId={{$Param.CaseId}} OR page=CaseDetailsModel but I don’t know how to include both in the return URL.I want to return the URL and have the correct page showing, would you know how to do this.Also for the Save and Cancel buttons on standard pages.i.e. If the user wishes to edit a case, then I have the skuid page redirec
I’m using a field form a child relationship to the model and am including it in a table via template. The data being returned is duplicating itself though. I’ve attached what is going on. How the template is set and the results. Any help is appreciated.
I would like to add this expandable text box javascript into my skuid page, but when I tried to add it as an In-Line snippet javascript resource it did not display correctly. I added the code from this link https://bgrins.github.io/ExpandingTextareas/expanding.js into the snippet body and then rendered the field using the snippet but when I load the page the text in the text box is gone and I can not type in the text box. Any ideas? I originally got the javascript reference from http://bgrins.github.io/ExpandingTextareas/
Hi there, This seems like it would be quite simple, but I have not been able to find a way to assign the “Sum” from a Column Summary to a Field. In the image below, I have a custom object that tracks ‘Payments’ related to a ‘Contact’. Ideally, I would like to assign ‘Summary A’ and ‘Summary B’ to Fields on the Contact model. Finally, I could have a Formula Field on the Contact called ‘Payment Balance’.‘Payment Balance’ = ‘Summary A’ (minus) ‘Summary B’ Any help or suggested alternatives would be greatly appreciated.
I am trying to render a list of records (model = MedRecs) using the ID field of newly created record (model = Shipment) as a Condition.My first model is called Shipment. Because I want to create a new Shipment record, I’ve set “Create Default Row if Model Has None” to TRUE and “Load Model Data on Page Load” to FALSE. Max # of Records = 1. The user fills in some fields for the Shipment model and saves. My second model is called MedRecs. MedRecs are displayed in a table below the Shipment field editor. The table is conditionally rendered: it does not show up until the new Shipment record has been saved. When the MedRec table does show up, I only want it to display records where a lookup field on the MedRec (MR_Holder__c) matches a lookup field on the new Shipment record (Ship_From__c). I’ve tried to build the MedRec condition many different ways: MR_Holder__r.Id = (Shipment)(Ship_From__r.Id); MR_Holder__c = (Shipment)(Ship_From__c). If I set “If no row in Source Model, then…” to
HI All,I am totally new to skuid. What I am trying to do is : - I have 2 fields on an Object, Division & Sub Division. There is no really dependency setup for these two fields.- I created a tab view in skuid and tried to filter the rows by Division & SubDivision, Individually it worked good. But I wanted them to be dependent Like : If I select Division = APAC, The subdivision avaiable picklist values should be refreshed and show only APAC related subdivisions.I figured out on myself that Custom JS is the only solution started up as below :var params = arguments[0], $ = skuid.$;var productModel = skuid.model.getModel(‘Product2Data’);var allProductData = ;allProductData = productModel.data;var i = 0;for(i=0;i<allProductData.length;i++){var productRow = allProductData[i];}// Static Code that I am looking to generate dynamicallyvar filterItems = ;filterItems.push({ label: ‘Cheese’, value: ‘cheese’ });filterItems.push({ label: ‘Pizza’, value: ‘pizza’ });return filterItems;Now I
I have a pop-up that creates a case. When I save the case record I’d like to give the user the option to create a related task. If they opt-in to creating a task after creating the case I like the case pop-up to go away and then a new pop-up to appear with a task creation page.Can someone drop me the javascript code to render a new pop-up?Thanks!
I built a pop-up window that allows a user to create a case. There is a picklist of the available record types for the user to choose from to determine the department they want to create a case for. I want to filter the list of available case record types in the picklist, whats the best way to do that with Skuid?Thanks!
I am using the Skuid Calendar extensively to track medical appointments between account and contacts (Doctors). I am also using it to track vehicle sign out for those appointments. The record name of the vehicles is the VIN number. The “whatid/name”, which is the VIN is not incredibly helpful for those looking at e calendar. People relate more to colors, makes and models. I have a concatenated_name__c field on the vehicle record which is the name I want to use “4903 Red Sienna 2014” or a Nickname field. Is there any creative ways to display these names on the “Event Template” of the calendar event? By default when using event I can’t access them. Is there any other trickery I can use to access them and display them on the calendar event using the “Event Template”? Thanks!
How do I format multiple models within one table? Model 1 within current table: Account Name; Request Summary; Request Detail. All from Accounts. These display as I would like in single rows.I would like to add a column for Next Event Date, presumably from another model based from Events.Thanks,PSB
Hello,One of our users has a Samsung Tablet and when he clicks on a file upload field (plus sign) it will not prompt him to take a photo or choose a photo. I have tested on an iPhone and iPad and it works fine. Is there a known issue with this device?Thanks,Chelsea
I am getting carried away with ideas from the article Queue Component: Custom Item Renderers.I really like the concept of the Drag & Drop Opportunities. I would like to extend this by having a popup to display more information on the record, so a user can make an informed decision on what they drag.Can we create a popup from a queue item action?
I am a fan of using both the Field Renderer and Display Template to give context. <field id="Business_State__c" type="REFPICK" displaytemplate="{{Name}} {{State_Code_c__c}}"> <filters/> </field> This gives me a great picklist that shows the state code and also the full state name. This field features in a template: <field type="COMBO" allowhtml="false"> <label>{{$Label.Business_Address}}</label> <template>{{Business_Address_1__c}} {{Business_Address_2__c}} {{Business_Address_3__c}} {{Business_City__c}} {{Business_State__c}} {{Business_Zip_Postal_Code__c}} {{Business_Country2__c}} </template> </field> Which looks like this: Can I include the picklist formatting from the first example in the template? If so, can the picklist (with the 2 field Display Template) only appear on the popup, and not on the read layout? Can the lines that are missing in the above example not show on the read layout?
Responded to this post with this. Slick approach really.This is applicable where you need a page for creating one or more records.Set the model to query 0 rows, not to create a default row if model has none and to load model data on page load.1. Set an action on the model for initiating event “Requeried”. Set one Action of Create new row in model (Use default values if necessary. Using URL params allows for multiple records using the same values)The Save button only saves the model.The New Lead button also queries the model
Hello - Currently, if a field is required and not in edit mode, the css class “required” is explicitly removed from the element after the renderer has been invoked.In the default theme, there is a default style for required on nx-fieldtext of border-right 3px solid red and the input element (for edit mode) has a style of border right 4px solid red.In order to style the element in non-edit mode, a custom renderer is required as well as a custom class because required is removed after renderering.Is there a reason that the required class is removed when not in edit mode?For backwards compatibility, possibly just removing the “.required .nx-fieldtext” style (not sure where & how else this is used so might not be possible) and leaving the required class so it can be styled if desired without requiring a custom renderer and custom class?Thanks!
We are trying to display timecards and the desire is to have a company setting that controlling the work week start day, ours runs Wednesday to Tuesday. We have a table of time clock entries and want to have a filter that shows the punches for the current time card period and be able to go back to the previous periods a week at a time. If you are viewing on Thursday the 10th, it show punches for Wednesday (12th) and Thursday (13th), hit the previous period button and you see the previous Wednesday (5th) through Tuesday (11th).What is best method to do this?
I’m working from this post that describes how to create a custom renderer on a formula that listens for changes to the input fields. I have a very similar use case, but am using a Date/Time field and suspect I am getting tripped up on the translation from Salesforce Date/Time format to Javascript Date/Time and back. When I use the custom renderer, nothing happens. My formula field continues to display its existing value until I save.Here’s my snippet:var FIELDS_TO_LISTEN_ON = [‘Nurse_Intake_Time_Patient_Time_Zone__c’]; var field = arguments[0], value = arguments[1], row = field.row, listener;skuid.ui.fieldRenderers.DATETIMEfield.mode;// Register a listener so that if any of FIELDS_TO_LISTEN_ON are updated,// then we will update ourself as well.if (!listener) { listener = new skuid.ui.Field(row,field.model,null,{register:false}); var calcNewValue = function(){ var value0 = row.Nurse_Intake_Time_Patient_Time_Zone__c || 0, value1 = skuid.time.pars
I am trying to set a condition on Child Relationships field in a model. When I set the condition using a specific value it works. When I tried to use it using the option for values from source model it does not work. Source model and the relevant field does have the records and values and I have verified that by displaying the same in a field editor. I am trying to use the source model based condition so that I can modify a condition on the source model itself to achieve a filter on child relationship records. Is this a known issue? Adding relevant sections from the XML file below. SelectedMonth model does return rows and can be displayed in UI but somehow the condition on child relationship field does not seem to get the rows from the model and hence the query gets deactivated or aborted depending on the option set. I have set the model action on SelectedMonth model to requery the target model so that child relationship records get filtered based on the condition (records in the
I’m creating a Configure Price Quote, Contract, Project Management & Resource Planning system for Construction. The schema is rather complex. I’m fairly certain the queries in which I use to generate the Skuid UI will too much for Conga Composer or for me to effectively manage to use in Conga ComposerMy quote line items are related to the quote via several different relationships. Very useful for my estimators and project being able to manage several groupings of tasks based on their originating requirement.So, that said, some tasks are directly related to the quote. Some are related through a child relationship, then parent , then child and lastly another child. The tasks themselves do have access to all the required data to display them in composer. Done using parent relationships, SF rollups and Passage Tech rollups.I do have a method in mind to dynamically ensure tasks related to the quote through one of the myriad of the relationships can update one field in my Tasks object.He
How would I write CSS to format select boxes, but to exclude the footers?I’ve tried:.nx-editor select:not(.nx-list-footer) {.nx-editor:not(.nx-list-footer) select {
I have a chatter feed inside of a Panel Set and everything works perfectly fine except the action menu above the chatter post box are not showing. Its like their width is set really small. I can tell what the actions are. I have expanded the width of the Panel but does not help. I can see their is plenty of width for the menu to expand but they wont.
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.