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 created a custom object for managing user group membership, so that the Case object now has a Owner Group field. I want to display all cases owned by the group(s) that the current user is a member of. How can I create a model that support this?
I have a model with a condition that contains a subcondition - both conditions have names and are marked as filterable off. I’ve added a filter to a table and everything works as expected when changing the filter value on the table itself. Due to the nature of the values in the filter (the text is long and needs more width than the lookup filter accommodates - a cssclass option on individual filters would be nice :)), I’m adding another field on the page (currently using a field editor but have rolled a custom component renderer with the same result described below) that is associated with a different model of the same object type as the filter. I have then hooked a listener on the model for the stand-alone field which takes the value specified and updates the condition by calling setCondition.Upon initial page load, if I establish a value in the stand-alone field, the condition successfully updates to the appropriate value and I see the table filter change to the correct value spec
I’m working on writing some tests… so I am writing a mock that can generate some records of the type I need to testI added an is_Test__c field to the object I’m creating records for, its defaults to “unchecked”When I create the records I pass an additional condition to set the value in the new record to true.After I’ve created the 2 records I try to apply the condition that is_Test__c must be true to the model (which has the condition already… but the condition is set to default to “inactive”) and then return the model from my functionwhat I find is that the 2 new records have been created… and their is_Test__c is set to true… but that all the other records in the model are returned as well… and not just the 2 I wantthis.teacher_specialty_day = skuid.model.getModel(‘Cal_Teacher_Specialty_Day’); this.teacher_specialty_day_one = teacher_specialty_day.createRow( { additionalConditions: [ { field: ‘is_Test__c’, value: true}, { field: ‘Cal_Teacher__c’, val
I have a Skuid page that contains a page include of another skuid page. Everything works as expected if my VF markup is: <apex:page standardController=“PO__c” recordSetVar=“c” extensions=“skuid.Redirects” action=“{!redirect}?actionType=Tab&objecttype=PO__c”> </apex:page> Unfortunately, the included page makes use of a controller extension via remoting and the above markup doesn’t give me visibility to the remote methods. To do so, I use the following markup: <apex:page docType=“html-5.0” readOnly=“true” standardController=“PO__c” recordSetVar=“c” extensions=“MyController”> <skuid:page objectType=“PO__c” actionType=“Tab” /> </apex:page> However, when changing to the above markup, the included page seems to encounter a clickjack issue as instead of the inner page in Skuid, another SFDC page is displayed (this seems to happen when clickjack is encountered normally). I’ve tried using the skuid.Redirects markup and appending “,MyController” to the extension
I have a field that is encrypted in Salesforce but it shows on the Skuid page.
Highlight selected row in a table but CSS does not get applied.In a row action I used the code from Moshe question like this :var item = params.item;var list = item.list;$.each( list.renderedItems, function(){ this.element.removeClass( 'highlighted-row' ); } );item.element.addClass('highlighted-row');console.log(item.element);---------------------------------------------I see element has desired class however my in-line CSS :tr.nx-item.highlighted-row { background-color: lightblue;}the background-color does not render ?? any suggestions
I have a table of parent records, with a row action to populate a child record table, with the children of the selected parent. The snippet for the action looks like this : var params = arguments[0], $ = skuid.$; var model = params.model; var item = params.item; item.element.addClass(‘highlighted-row’); var row = item.row; var Id = row.Id; console.log(Id); var RateModel = skuid.$M(‘TierRate’); var tierGroupCondition = RateModel.getConditionByName(‘TierGroup’); RateModel.setCondition(tierGroupCondition, Id); RateModel.save({callback:function(result){ if(result.totalsuccess){ RateModel.updateData(); } }}); I am using this line “item.element.addClass(‘highlighted-row’);” to highlight the selected row. I would like to return the row back to normal if a different row is selected. so that my table will only have one row selected at a time. Is there a way I can do that programmatically?
I think because of our custom domain and the fact that we are using a portal, our custom Skuid button for a third-party product (DrawlLoop) needs to “get” the instance of Salesforce we are on and pass it via the URL. Is there an easy way to do that? I’m hoping it’s in the Skuid API somewhere so that I don’t have to either a) hardcode it, or b) parse the URL.
Hello -I have the following model structure:OrderOrder Item (Master-Detail Order)Order Ship Periods (Lookup to Order Item)I have built a Skuid page that displays the Order object and contains a table of Order Items. There is a table row action on Order Item that displays a pop-up.When the popup displays, all of the information for the item is accurate and reflects the proper row from the table that was selected.I have placed a table on the pop-up that is intended on displaying the Order Ship Periods, however this table displays zero rows and indicates there is no data.I’ve inspected the models (skuid.model.getmodel(‘OrderShipPeriods’), etc.) and it does contain elements in the data property. if I try to “add new” row to this table, the count of elements in data property increase but still no fields are displayed.Read though the forums and it appears that this should work but am unable to determine what I might be doing incorrectly and can’t find a sample that contains 3 or more layer
This might be best answered in a salesforce community, but I just prefer skuidified people. If we start adding topics to records, and I want to create a good way for our team to search records by a field value and any number of topics that have been assigned to that record, do you think this is possible with a skuidified list view?In other words, could I create a list view showing Opportunities of a certain record type that has a list of topics that have been assigned to it that I could use as search terms?
Is it possible to set the start date for the calendar component on load dynamically to something else then the current date? Can the calendar be updated to certain date from javascript so that it would be possible to create buttons like “3 weeks forward”, “next quarter” etc for quick acces to relevant dates? Is it possible to get week numbers in the calendar component?
I’m trying to use conditional rendering in a new record setting and I can’t bend it to my will.I have an “New Account” page with a NewAccount model that has a lookup field called Source that looks up to a related object called Source which has a field called Source Category.In my field editor, the user selects a value for Source and I want to conditionally display another field editor based on the value of Source__r.Source_Category__c in the NewAccount model. But it just doesn’t seem to do anything.I’m on v4.8, which may be relevant.Thanks!
I have a simple Opportunity Name field on my page, and when the user enters an apostrophe it looks like the picture above. Is there a way to fix that? I am using a custom field renderer that looks like this: var field = arguments[0], value = skuid.utils.decodeHTML(arguments[1]), $ = skuid.$; if(value != null){ field.mode = ‘read’; } skuid.ui.fieldRenderers[field.metadata.displaytype]field.mode;
Has anyone been able to add a progress bar to the wizard component? I looked all over this community and did not find anything.Here is an example of what I am trying to accomplish.http://jqueryui.com/progressbar/Thanks!
We typically attach solutions to a case upon closure. The support rep will use the related list box to search for similar solutions or find suggested solutions. We’ve recently upgraded to a plan with Salesforce that allows us to use knowledge articles, which is what I’d like to use going forward.Is there an easy way to display and attach knowledge articles to a case via a table on a skuid page?
I am populating a lookup field via javascript on page load. The field has a display template in Skuid, such that it should show an alternative field’s value (from the target/looked-up record), not the record’s “Name” field. E.g., instead of showing the autogenerated standard “record number/name” field, it should show a formula field that is more useful for users. Great stuff.This displays fine for records that have already been created. It also works fine if you manually lookup a record. However, when creating a new record, when I populate that field with the ID of the looked-up record via javascript on page load, it displays only the ID of the looked-up record in my lookup field, not what should display according to the display template.How do I make my code populate the lookup but also display according to the template?
I think I may have hit the limit in XML characters that skuid is capable of storing in SF.I say this because i had to delete some txt from the xml just now in order to add the closing > to the xml
When using a right or left tabset, the default behavior is to highlight the other tab instead of the tab that the user is looking at. Is there a way to reverse that behavior, so that the current tab will be highlighted instead of being the same color as the rest of the page?
Hello!Is there some javascript code I can use at the end of a mass action snippet to deselect selected rows on a table? This is so that the process can be repeated using a different mass action without having to deselect the records in between.Thanks for the help!
As part of an ongoing effort to add some events to SKUID forms I had the idea that I could trap the click event using jqueryso i put this in “inline” javascriptskuid.$( “input” ).click(function() { alert( “Handler for .click() called.” );});but this doesn’t give any message when I click on inputsI must be missing somethingThanks
I have a page that has a custom function that saves then updates a model. However, the updateData() method doesn’t seem to be working. Everything seems to save fine, but the field editor on the page never changes, though when I refresh the page I can see that the changes occurred. I’m not getting errors in the console, either. Here’s the javascript that is running:var params = arguments[0], chosenRow = params.item.row, classesModel = params.model, $ = skuid.$, teacherModel = skuid.model.getModel(‘Teacher’); classModel = skuid.model.getModel(‘Class’);var teacherRow = teacherModel.getFirstRow(); classesModel.updateRow(chosenRow,‘Teacher__c’,teacherModel.getFieldValue(teacherRow,‘Id’)); classesModel.save({callback: function(result){ if (result.totalsuccess) { classModel.updateData(); // THIS IS WHAT DOESN’T SEEM TO BE WORKING } else {console.log(result.insertResults[0]); } }});
I’m trying to move several sections of our pages into separate pages that are then referenced via page-includes. For example, I’ve created a tasks page that accepts parameters for whoid, whatid and ownerid and I can now put it on any detail page and have it show the relevant tasks.What I’d like to do is hide certain columns on certain pages. Mainly, I want to have the tasks page on the homepage and hide the ownerid column - I’m passing a parameter to the page-include so that it’s only showing their own tasks, so showing them the ownerid column seems unnecessary. Is there a way to hide columns?
Hi,I have a requirement to display the new associated description in a separate text field (this is field is readonly) when the value of a picklist changes. The screen is not ready to save yet. Is there a way to change the value on the screen of another field? I have tried to use something like the following in the snippet that renders the picklist: skuid.ui.fieldRenderers.TEXTAREA[descriptionField.mode](descriptionField,‘Some New Value’);but cannot get the right object for other field descriptionField.Thanks.
I’m building a New Lead page with several Table and Field Editor components. In preview, clicking the Add Row button on any of the tables duplicates all fields in all the Field Editor components on the page. What am I doing wrong?
Hello all,I have a question about the table component.Is it possible to render a field in a table row that displays the index of the current row? We tried doing this by creating a custom field on our SF object. I then wrote a custom field renderer to incrementally assign IDs to this field on page load and as the user enters new rows. But I’m seeing strange behavior, and it feels like I’m going about this the wrong way.All I want to do is display the index of the row in the data object for the model being displayed by the table component. Is there an easy way to do this?Thanks!
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.