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 built an Account detail page and when I click the ‘Preview’ button, I get a blank screen. Extras: I don’t have pop-up blockers on; we are on Person Accounts; I followed the directions… 🙂
Check my code.It is working fine in page but when i am using same page in popup with page include at that time below code is not working. Agcontact.setCondition(FirstNamecondition,Firstname,true);skuid.model.updateData([Agcontact]);Agcontact.load();Please help me as soon as possible.----------------- var params = arguments[0], step = params.step, stepEditor = step.editor, $ = skuid.$; stepEditor.clearMessages(); var contactModel=skuid.model.getModel(“AddContact”); var raw=contactModel.getFirstRow(); var Firstname=raw.FirstName; var Middlename=raw.MiddleName; var LastName=raw.LastName; var Birthdate=raw.Birthdate; var Name=‘’; if(Firstname!==undefined) { Name+=Firstname; } if(Middlename!==undefined) { Name+=’ ‘+Middlename; } if(LastName!==undefined) { Name+=’ ‘+LastName; } var models = [ skuid.model.getModel(“Candidate”), skuid.model.getModel(“AddContact”) ];
What is the intended outcome when setting “No Row In Source Model” to “Abort this Model’s Query” on a child relationship field’s condition in a model? My specific situation: I have a condition set on a child relationship where the source model contains only a single row that has not yet been saved…so, when I had “No Row In Source Model” set to “Deactivate this Condition,” the condition would be deactivated and all existing child records would be shown.So, I had assumed that setting this to “Abort this Model’s Query” might just abort the query for the child relationship…but in practice, it aborts the entire model’s query. (which, given that a child relationship here isn’t actually a model, the wording does makes sense…).My hope had been that it would abort the child relationship query & then after the source model’s record was saved I could requery to get related child records.Maybe there’s another way to go about this, and I am certainly open to suggestions! But, I’ll settle with g
Here is a scenario which i have not been able to put a logic for.display set of records from object A where logged in user is owner and record is created in last 90 daysORdisplay set of records from object A where record created in last 90 days and logged in user is member of its child object record Bnow there is a possibility that logged in user is owner as well as member in object B. somehow, all the permutations and combinations fails to fetch correct data. either no row is returned or if i disable one of the condition, then incomplete dataset is returned. any suggestions will be appreciated.
I start with an empty model. I create a row. I save the model. Then when I use getFirstRow(), it returns undefined. It looks like mC.data.length = 0, even after I’ve created a row and saved. What am I doing wrong here?I tried re-setting the value for the model variable (mC) after the save, but it still shows data.length = 0.Here’s my code: // Schedule -- new case&nbsp;&nbsp;<br>&nbsp; var //mP = skuid.$M('Patient'),<br>&nbsp; &nbsp; mC = skuid.$M('Case'),<br>&nbsp; mA = skuid.$M('Open'),<br>&nbsp; rA = mA.getFirstRow(),<br>&nbsp; $ = skuid.$,<br>&nbsp; dfd = new $.Deferred();<br>&nbsp;&nbsp;<br>&nbsp; //Create Patient Case<br>&nbsp; $.blockUI({<br>&nbsp; &nbsp; &nbsp;message: 'Creating Patient Case...'<br>&nbsp; });<br>&nbsp;&nbsp;<br>&nbsp; mC.createRow({ <br>&nbsp; additionalConditions:[<br>&nbsp; {field: 'Ca
I am having a “form(new page)” which contains fields like name,email, address, account(lookup), opportunity lookup,campaigns(lookup), a section contains custom fields of another object1 which contains name, date, … fields.If i click on “submit” button –> It must create an contact(contact must relate to account selected)–> By using object1 fields it must create a record(using name, date, … fields) which is seen in related list of contact.–> In contact relatist list i must see campaign selected.How can i achieve this without using snippet
We have been using Skuid with Salesforce Communities for a year or so now, quite successfully. We are now deploying two new Salesforce Communities, and are now encountering an odd, inconsistent behavior (though thankfully it is 100% reproducable). If you go navigate to one of the two new communities directly from Salesforce (using the menu on the upper left), you get a VisualForce error. But if you first go to our original community, and then navigate to the new communities, it works perfectly. I’ll try to describe this both in text/images as well as a video of the problem hoping that somebody can help figure this one out! I’m logged in as a Salesforce Administrator … and since the pages do work when accessed in the correct order, I’m doubtful this is a permissions problem but with Salesforce you never know for sure…! But as you will see, the fact that it always works for one community and is inconsistent for the others makes me wonder if this is still a permissions/community config
I must be doing something damn stupid here, but whatever I try I cannot get this to work. I have a parent page which has a page include in it. The XML snippet is here: </template> <includepanel type="skuid" pagename="ViewEditAppraisal" module="" querystring="suppress_title=1&amp;amp;appid={{$Model.Appraisal.data.0.Id}}" lazyload="true"> <renderconditions logictype="and"/> </includepanel> I am passing a URL parameter called “suppress_title” and giving it a 1. This drives a Render condition on the included page (which works fine when I load the page directly in the browser), but refuses to work through the page include!! What am I doing wrong? Here is the relevant bit of XML for the included page. Incidentally, the {{}} parameter passes and works fine, it’s on the static (hardcoded) one that doesn’t work. <pagetitle model="VAppraisal"> <maintitle>{{Appraisee__r.Name}}</maintitle> <subtitle>Appraisal Summary: {{Name}}</subtitle>
We have reviewed the article called “Using Skuid with the Service Cloud Console” and seems simple enough except that the code in the image in Step does not match the sytax explained in Step 1. They are different. Since we are trying to replace the detail page, we skipped down to the Details Page Tabs and tried to use the code “above” as required and replaced “tab” with “view”. We created the VF pages as follows, first based on the image on the tutorial: showHeader=“true” sidebar=“false” standardStylesheets=“false” showChat=“false” action=“{!IF(canUseSkuid,‘’,redirect)}” title=“{!$ObjectType.County_Record__c.labelPlural}” readonly=“true” docType=“html-5.0”> Then based on the sytax provided on the tutorial: showHeader=“true” sidebar=“false” showChat=“false” title=“{!$ObjectType.County_Record__ c.labelPlural}” readonly=“true” docType=“html-5.0”> In neither case above does the page show up as available to replace the View Link, so we searched the community some more and found th
I’m having an issue with a drawer button. I’d like to be able to log a call or just any task really related to a contact in a drawer.A brief overview of how it’s setup. The main object is a custom object called registration and opening up the drawer it queries the related contact and displays some contact fields. I’d like to be able to log a task or a call using a button that will auto-fill and auto-relate the call to the contact. I’ve used this tutorial properly to get the appropriate contact info to display in the drawer here http://help.skuidify.com/m/components/l/269735-add-nested-rows-to-your-table-with-drawers.But I can’t seem to transfer the queried contact to the Create a Task object. I just can’t figure out.Any thoughts?
I have some builder code that creates a custom component, and I have an input type of “field”. For some reason the field picker displays, but is always empty. Here is my code: builder.registerBuilder(new builder.Builder({ id : 'trafficlight', name : 'Traffic Light', icon : 'ui-silk-sport-8ball', description : 'Custom component to compare this field against another', hideFromComponentsList : false, isJSCreateable: true, componentRenderer : function(component) { component.header.text('Traffic Light'); }, propertiesRenderer : function(propertiesObj,component) { propertiesObj.setHeaderText('Traffic Light'); var propsList = [{ id : 'thismodel', type : 'model', label : 'The Model that has the fields' },{ id : 'thisfield', type : 'field', label : 'The starting field' },{ id : 'comparefield', type : 'field', label : 'The field to compare against' } ]; propertiesObj.body.append(skuid.builder.buildPropsEditor(component.state,propsList)); }, defaultStateGenerator : function(){ return skuid.utils.
I have a page full of reports that I would like a user to be abel to print or save as a pdf. The issue is setting every section to it’s own page. I came accross this plugin and wanted to see if anyone has had any success or if what I need can only be achieved via CSS. Thank you!Has anyone had any success using this JQuery plugin? https://github.com/ianoxley/jqueryprintpage#readme
I am displaying multiple users on a single calendar and given the volume the query could take some time to display. On initial load I can control the first query and display a wait message to the user so they don’t think the screen is locked up or not working. Is there a way to hook into an event that is triggered when the calendar does a re-query so that I can display a wait message?
Has anyone else seen this? Is there a workaround to this behaviour?
We are trying to leverage Skuid pages for dashboards/reports/data visualization:1) We would like to know exciting ideas/working examples on this topic.2) We have a Skuid page with different types of charts, tables etc each driven by different skuid models (but from same SF object as of now). I would like to have a filters at the top of page which are applicable for all the components on page. Please let me know a better way of doing this.3) Here is what we have done so far. We have a table with model (We call it as a master model) where we have added filters. Currently, we are trying with multi-select filter. We have other tables/charts with different models. One of the condition on each of these models is: Name is in the set of Name values returned by Master Model. The condition source is ‘Field from another Model’ and is set as ‘Filterable default off’. I am re-querying these models when the filter is applied on the master table. This is configured in action framework. When master mo
Here’s my code. var model = arguments[0].model,&nbsp; &nbsp; row = arguments[0].row;<br>var mA = skuid.$M('AllAppointments');<br>mA.createRow({additionalConditions:[<br>&nbsp; &nbsp; &nbsp; &nbsp; {field: 'Start__c', value: row.Start__c},<br>&nbsp; &nbsp; &nbsp; &nbsp; {field: 'End__c', value: row.End__c},<br>&nbsp; &nbsp; &nbsp; &nbsp; {field: 'Room__c', value: row.Room__c}<br>&nbsp; &nbsp; ]});<br>&nbsp; &nbsp;&nbsp;<br>model.deleteRow(row);<br>mA.save();<br>mA.setCondition(mA.getConditionByName('ThisOne'), mA.getFirstRow().Id);<br>mA.updateData(); I’m getting the error, ‘uncaught model’ on the AllAppoitments model. It looks like the save doesn’t complete before the update is attempted. How do I handle that properly?Thanks!
I have a page with a tabset. Each tab is a page include with another skuid page.Most of them work, two don’t… they show blank screens instead.No javascript errors in console.No parameters required on models.Any ideas what I might be doing wrong?
Calendar popup has stopped getting context.When I open the popup and typeskuid.$M(‘AllAppointments’).getFirstRow()in the javascript console, I get a different row than the current context.This is causing problems when I try to use the values of the current row in javascript.Any idea what could be causing this?
I have found that my Page Assignments are not importing (from a static resource pack) when they have specific Applies To users. The JSON in the static resource has a reference to both skuid__Assigned_To_User__c and to skuid__Assigned_To_User__r and SFDC doesn’t like the conflict and generates the error “Cannot specify both an external ID reference Account__r and a salesforce id, Account__c”. I went into the static resource and removed all the skuid__Assigned_To_User__r references and the page assignments then import correctly.Seems like a bug in the Package All Page Assignments code?Thanks!- Chris
Hi,I have two models on the same page. One of them contains the parent record and the other contains the child records. The parent model is displayed using a field editor in edit mode. The child model is displayed in a table in edit mode with the ‘Allow inline record creation’ set to ‘True.’ The idea is that the user creates one parent record and can also create multiple child records at the same time. Upon click of save, all records are inserted into the database. There is a cross object field dependency between the two - the parent record has a pick-list that controls the values of a pick-list in the child record(s). Currently, I have an action tied to the parent model so that when a row in the model is updated, the dependent field in the child object is updated to display the relevant pick-list values based on the value selected in the controlling field on the parent record. This is working fine for the first row in the model, however, when I create a new row on the child object the
Is it possible to arrange the category axis of a column chart so that the values are sorted alphabetically? I am using a text field for category axis and the order is completely random. Would love to have them display/sort alphabetically. Thanks!
The following is code based on some suggestions on this community (thanks to all). We are using a custom Object called Service_Type__c and the Model is Service. I get the page to display in a tab, but the authentication error shows and even when putting in my credentials, it fails. Anything stand out? https://www.box.com/widget_sso/salesforce? token=%7B%22server_url%22%3A%22{{{$Api.Partner_Server_URL_120}}} %22%2C%22session_id%22%3A%22{{$Api.Session_ID}}%22%7D& salesforce_object_typed_id={{{$Model.Service.data.0.Id}}} &partner_object_type=Service_Type__c&partner_object_name={{{$Model.Account.data.0.Id}}} &partner_object_email=&partner_object_id={{$Param.Id}} &open_new_window=1&partner_user_id={{{$Model.RunningUser.data.0.Id}}} &partner_user_name={{$Model.RunningUser.data.0.FirstName}}%20 {{$Model.RunningUser.data.0.LastName}}&partner_user_email={{$Model.RunningUser.data.0.Email}} &email_recipients=&debug=0" width="100%" height="800" scrolli
I have followed the tutorial here many times to override pages : http://help.skuidify.com/m/page-assignments-and-overrides/l/102648-override-a-standard-salesforce-de… . I would like to know if there is a way to stop the users from overriding the page by messing with the URL. If I have a URL like so https://skuid.cs16.visual.force.com/apex/UI?id=a3Ha00000008xuIEAQ&sfdc.override=1%3FobjectType%3… Users can enter a random character at the end of the url, hit enter, and they will be taken to the regular salesforce view. Can we make it impossible for them to see the regular view?
Does anyone know if it is possible and if so how to display a number in a circle. The number would be pulled from a specific field. I tried using the donut feature in charting but it shows a percent in large numbers then the number in smaller numbers. That is very confusing because the percent doesn’t really mean anything. I attached an image of what I am trying to achieve. Any help would be greatly appreciated. Thank you!
I am following the tutorial here: http://help.skuidify.com/m/supercharge-your-ui/l/293051-visualizations-charts-and-graphsThe tutorial is great, and I have a good idea of how to set things up, however I am having an issue at this point. The example uses Opportunities and stages and all that jazz. I set up an extremely similar graph but I used the Case object instead.This presents a problem, as in the tutorial they use “CloseDate” which when I look at the SOQL shows pretty stuff like “2015-08-05” or “2015-06-30” however, I tried to do the same type of chart with Cases and I use “CreatedDate” which ends up showing up with gems like this:“2015-01-29T14:27:18.000Z”So, what is happening is that I am not able to group anything by month or day or week, instead I get hundred of individual entries. In the past when I’ve done reports manually in something like Excel, they allow me to group the dates up so that I don’t have individual entries.I am assuming this is possible in Skuid and that I’ve
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.