Upcoming Event - 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
Can I add common request headers to a REST model with basic http auth after I’ve created the model service? I have the options while I’m creating it, but once it’s created, I can’t access the common request headers section unless I change the auth type to something else.
I have created REST webservice to read a static resource and return a list of records to SKUID REST client, My problem is, I want to send the entire JSON string to my update (POST) method. when I say req.requestBody; RestRequest req = RestContext.request; system.debug(' req '+req.requestBody); I get only the edited cell value as a BLOB. How could I send all the table values at once in a JSON string on save. REST update method in SKUID; below is my JSON string in Static resource : I want the same string to be formatted in SKUID before calling the REST update, { “totalResults”:20, “startIndex”:0, “dataList”:[ [ “AE001”, “detail 1”, "detail 2 " ], [ “AE002”, “detail 1”, "detail 2 " ] ] } Thanks
I have a static resource text file which contains JSON formatted text and want to use skuid to update this file as a webservice call, I can see that there are multiple ways to connect to salesforce REST API in “Model services” section, but not sure about which way is the best.How could I do this?What is the best way to update a static resource file using skuid UI?Thanks
With merge syntax, you can do things like $Label.myCustomLabel to resolve a label value.Without javascript, is there a way to dynamically retrieve a label value either via merge syntax, formula field or some other method?Use Case - The name of the label required from display is coming from a model row field value. Example:row1: { Id: 1111, LabelName__c: ‘myCustomLabel’ }row2: { Id: 2222, LabelName__c: ‘yourCustomLabel’ }Need something like {{$Label[{{LabelName__c}}]}}I can resort to javascript and/or Apex to solve for this but hoping there is a way to do this within Skuid UI without requiring code. I know you can do this sort of thing in VisualForce but can’t seem to get it working in Skuid and fear it’s not current possible.Another idea I had was to use Model_Lookup function but Labels aren’t exposed as a model and there is no way to build a “Labels” model (without javascript of course). Maybe a Label Lookup function?Any insight/thoughts/ideas is appreciated. Thank you!
What is the recommended best practice for writing a custom component and ensuring that the CSS classes can be properly themed? Is there a way to write a custom component and designate CSS classes on the component that can “extend” themes?A few examples:1) Developer writes a custom component and decorates the elements with various classes. User A has chosen “Lightning Design”, User B has chosen the “Ice Age” and User C has chosen the “Cool Gray”. In the CSS within the component pack, the CSS class is only defined once. What is the process for ensuring that the custom component gets styled properly based on the theme that the user has selected? 2) Company has acquired App Exchange Packages from multiple ISVs (let’s assume 3 different ones). How do ensure that a user can choose a Theme and all components are styled using that theme?3) Company has acquired Components Packs from multiple ISVs (let’s assume 3 different ones) and used them throughout their application. How do ensure tha
Hi, When we try to call an apex class from skuid we are getting an exception saying callout loops not allowed, basically this apex class is making an external callout http://salesforce.stackexchange.com/questions/107201/callout-loop-not-allowed-error-while-calling-ex…Is there any workaround to make callouts to external system from skuid and getting back some response.Script :var params = arguments[0], $ = skuid.$; var model = skuid.model.getModel(‘Application’); var row = model.getFirstRow(); var request = ‘{“vin”:"’ + row.Number__c + ‘"}’; console.log(request); alert(request); // var request={VIN:row.Number__c}; sforce.connection.remoteFunction({ url : ‘https://ap2.salesforce.com/services/apexrest/getVINdetails’, requestData: request, method:“POST”, requestHeaders:{ ‘Content-Type’ : ‘application/json’, ‘Authorization’ : 'Bearer '+sforce.connection.sessionId }, onSuccess : function(response){ alert(‘sucess’+response);
Hi Team, We use reference data to drive the skuid UI logic. Some of the reference data fields are text area and long text area having multiple line breaks (’ ’ character). We would like to populate reference data in client orgs with postinstall script. PostInstall script would look for the csv file in the static resource and parse it to produce list of list of strings (List<List>). I was able to do this for the csv file not having multi-line fields. However, I could not parse fields having multiple lines. Any idea how to parse csv file having multi-line fields? Thanks! Regards, Gyan
This was originally reported at https://community.skuid.com/t/row-action-icon-conditional-rendering-remnant-div but there has been no reply or acknowledgement of the issue so opening a new issue along with a repro of the problem. When a table row action is rendered away based on conditional rendering, the icon the div for the icon that existed is not completely hidden/removed leaving an “unknown icon” image. Steps to reproduce: Create page using sample XML below Preview page Click “Clear Row” button Expected Behavior “Flag for delete” row icon is removed completely Actual Behavior “X” icon disappears but “?” mark remains (likely due to sk-icon-delete class still applied to DIV while sk-icon, etc. were removed resulting in not finding the icon, etc.) Sample Page XML <skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account"> <models> <model id="Account" limit="100" query="true" createrowifnonefo
Hi! When I convert a lead, the account page that I am redirected to’s links are unclickable. Any ideas as to what may be happening? This is the link I am redirected to: [https://skuid.na15.visual.force.com/apex/UI?id=LEAD\_ID\_GOES\_HERE&isdtp=nv&sfdc.override=1&actiontype=View&objecttype=Account&nonce=d02c94742b2a7e780fa1e80e14d9295b97b9114cfec138fd4fd5cf1a7609fdf6&sfdcIFrameOrigin=https%3A%2F%2Fna15.salesforce.com](https://skuid.na15.visual.force.com/apex/UI?id=LEAD_ID_GOES_HERE&isdtp=nv&sfdc.override=1&actiontype=View&objecttype=Account&nonce=d02c94742b2a7e780fa1e80e14d9295b97b9114cfec138fd4fd5cf1a7609fdf6&sfdcIFrameOrigin=https%3A%2F%2Fna15.salesforce.com "Link https//skuidna15visualforcecom/apex/UIid001i000001mVb7tisdtpnvsfdcoverride1actiontypeViewobjecttypeAccountnonced02c94742b2a7e780fa1e80e14d9295b97b9114cfec138fd4fd5cf1a7609fdf6sfdcIFrameOriginhttps3A2F2Fna15salesforcecom") This is the link I am using to redirect the user to th
We have a Template field with the following: {{CollatAddress__c}} {{CollatCity__c}}, {{StateLookup__c}} {{CollatZip__c}} County: {{CountyLookup__c}} StateLookup__c and CountyLookup__c are lookup fields. When we click on them nothing happens but when we move the field out of the template and click it, the parent opens fine. Why does the link not work when the field is used in a template? Thanks in advance.
All,I have a table with a lookup field called Contact that looks up to the Contact object and the table is associated with a custom object to store the returned data. This works fine except sometimes the contact does not exist so no data is returned. Is there way to manually enter the contact information and have it saved to the custom object without having different fields for the manually entered text data (as opposed to the lookup data). So if I add a row to my contact table and the lookup finds a contact, pull required fields from the Contact object to the new row and have that be editable. If no contact exists in the Contact object, just allow the user manually enter the data as text and save to the new custom object.
What’s next from Skuid?
Div element with standard style class “sm-panelwrapper” is intermittently not rendering properly on load of the Skuid page.Sometimes the element Div with attribute "style=“border-top-width: 62px;” is rendering as required , but sometimes it is showing style attribute as "style=“border-top-width: 34px;” . Because of this issue the User is facing UI problems . Let me know if it is a known bug in the system.
I have a chart that drills down into another chart. After the drilldown, I would like selection of a segment to cause a table to be filtered. I currently have this working using a snippet in the drilldown actions, which filters the table to the specific Ids in the segment. However, what I want to do is determine which segments have been selected (both in the first chart and the drilldown chart) and use that to set the filters on the table, so it’s clearer to the user how the table has been filtered and they can further adjust it.
I have a Calendar and I am trying to write a Javascript Snippet so that when the Calendar item is clicked, users will be redirected to another URL instead of seeing a popup. var params = arguments[0],$ = skuid.$;var models = skuid.model.map();var Appointments = models.Appointments;var TheAppointment = Appointments.getFirstRow(); var Id = Appointments.getFieldValue(TheAppointment,‘Id’);window.location = ‘/apex/skuid__ui?page=AppointmentDetail&Id=’ + Id;Unfortunately getFirstRow() does not work in this situation, because no matter which Calendar Item I click I get the same Record ID. How do I fix the Javascript so that it knows the ID of the Calendar item I am clicking on?Thanks!
I would like to show the count of the sub-records in a drawer. This will be a flag to the user that there are related records and they should open the drawer. I have two basic models on my page. The drawer is working properly. Just want to get this count. Help!
I would like to be able to not choose a day on a particular date field. I am able to display a date as month/year easily enough but the issue comes in when someone just wants to type in a month and year. Use Case:Entering a expiration date for credit cards. Enter 01/16 (January 2016) and not have to choose a day. I am leaning towards the idea that this should not be a date field at all but a text field with a validation rule. I have tried removing the day from the calendar with no success. Thanks for any insight!
I’m trying to create a lookup to the standard Salesforce Contract Line Item object, but my lookup returns no results in Skuid. It works just fine on the standard Salesforce page layout, though. I think the issue may be that there isn’t a standard “Name” field associated with this object… it’s identified by the standard autonumber field “LineItemNumber”. (I suspect this because when I first added the lookup field to my model and reloaded my page, I got an error along these lines - “Skuid looked for field “Name”, but it doesn’t exist.”)Any ideas for a work-around? I’ve tried to convert the lookup into a picklist, but that returns blank values as well. Do I need a custom renderer of some sort? I’m also curious to know if others have run into this issue.
Hi all,I understand from reading posts that there is not feature-parity between UI-only and CRM date functions used in formulas. Is there a handy guide to show what is and is not supported?My specific needs may be doable, but my first tries have not worked. I have a Skuid page with a list of Opportunities and I need to:display the number of days elapsed since a custom date on the Opportunity in a UI-only field. I started by guessing this: TODAY() - {{Date_Added_to_Docket__c}} and I get a crazy big number. Perhaps I have to do it with specific parts of the date, but I’m hoping it’s straightforward. These Opportunities are grouped in a Campaign. I’d like to display the number of days since a date on the Campaign, so I have to reference a different object. Can anyone point me to a solution for the above or tell me it can’t be done? Thanks for any guidance.-John
Where can I find instructions on how to implement an override for a custom object?
I have a skuid custom page for a custom object (Loan). I have various links to create a new Task or event. I want to pass in the Loan.Id as what_id for the event as a part of the URL. I have tried various syntax, but none of them seem to work: &nbsp;/00T/e?title=Call%3A%20&amp;what_id={{$Model.Loan.data.Id}}<br>&nbsp;/00T/e?title=Call%3A%20&amp;what_id=what_id={{$Model.Loan.data.0.Id15}} What is the correct syntax for getting the id from a mode? I had used the following (convoluted) snippet in the past but it doesn’t seem to work any more: /00T/e?title=Call&amp;what_id={{#$Model.Loan.data}}{{Id15}}{{/$Model.Loan.data}}
I have an aggregate model that takes the number of Events a sales rep creates and averages it - avg per week over a 4-week period. Everything’s awesome…except for the part where there is now a category labeled “null”, which I’ve figured out is taking the average for the entire team (adding all Events and dividing by 4). In theory, this could maybe be nice for a manager, but A) no one’s going to know that when it’s labeled “null” and B) it’s skewing my graph so all the reps’ values look like ants next to an elephant. This my field/formula: This is my chart series: And this is the result: I’m still learning/playing with aggregate models and charting, so I’m hoping I just forgot something/missed a step.
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.