Upcoming Event - Nintex Automation K2: Back to basics
Connect with peers and experts to ask questions, share insights, and find solutions for Nintex products.
Recently active
code for field renderer: var field = arguments[0], value = skuid.utils.decodeHTML(arguments[1]); CC\_RENDERERS.appointmentTime(field, value); And the following are functions in the static resource cc_renderers: appointmentTime: function (field, value) { renderTime(field, value); function renderTime(field, value) { var theDateTime = getDateTime(value); if (field.mode == 'read') { skuid.ui.fieldRenderers.TEXT.read(field, getFormattedTime(theDateTime)); } else if (field.mode == 'edit') { skuid.ui.fieldRenderers.TEXT.edit(field, getFormattedTime(theDateTime)); } } function getDateTime(value) { var sfDateTime = skuid.time.parseSFDateTime(value); return skuid.time.getLocalDateTime(sfDateTime); } function getFormattedTime(theDateTime) { return skuid.time.formatTime("h:mm a", theDateTime); } Not sure why all the functions are nested that way… I’m inheriting this. But regardless,
What is the best way to filter a table so that only rows that pass a javascript filter are shown? Kind of like a regular filter, except I can’t express my filter as a SOQL expression (it is too complex and requires calculation based on the rows). And it’s very much like Context (in memory filtering, rather than SOQL filtering), except that I want to call Javascript to make the determination rather than relating to another table.Currently I am using model.abandonRow / model.removeRowById, and that generally works, except that the row counters and page counters get all messed up.Is there a better way to approach this problem?Thanks,- Chris
I have built a mobile skuid page with multiple panels and header/footer. However the person in charge of graphical design want’s the header and footer to scroll with the panels instead of the panels scrolling under the always visible header/footer. I could of course easily solve this by moving the header/footer content into the panels, but then I would have to duplicate the content for every panel. Is there a recommended easy way to solve this such as a setting for scrolling header/footer or a panel include for each page?
Has anyone figured out how to accept the an invitation to an event from the event record? I can’t seem to find the link between the master event and child events for those invited via the EventRelation object. This object only points to the master event but the child event. Nor does the EventRelation object have any child relationships to the child events. Kinda stumped. Here’s what I have so far.Article describing the same issue.https://help.salesforce.com/apex/HTViewSolution?id=000199687&language=en_USArticle laying out the schema.https://www.salesforce.com/developer/docs/api/Content/sforce_api_erd_activities.htmI suspect the only solution is to query EventRelation based on the values in the Event for the current user only when the Event has IsGroupEvent and IsChild is true.Event.OwnerId = EventRelation.RelationIdEvent.Subject = EventRelation.EventId.SubjectEvent.StartDateTime = EventRelation.EventId.StartDateTimeEvent.EndDateTime = EventRelation.EventId.EndDateTimeEvent.Descript
Does anyone knows if there a way to disable unsavedchangeswarning for just one model?I still want this on my page but not in one model. Is this possible?
Hi Guys, I am trying (failing) to access URL parameters via merge syntax inside a page include. The scenario is thus: “Parent” page (ClientView) hosted in a VF page. There is a pageInclude component in popup on the parent page referencing the child page (“ClientView_Services_CustomTab”). Coincidently there is a parameter “id” on both pages, however each refers to a different record- in the case of ClientView the id param is for an account, for the child page the id param is for a service. At runtime a request is made for the child page with the expected GET parameters: 2. There is a template component in child page with merge fields for $Params.id and $Params.parentModelName The first value is merged with the parent pages id parameter, the second value is empty. Perplexingly, a model parameter in the child page that is bound to the id param filters the correct service as merged into the page include (the service record specified by the id parameter in the pageInclude.) I suspect this
I tried installing it a few weeks back, but had issues. Anyone have it running?
We have a Skuid Table with the export feature turned on. It works perfectly in Chrome but in Firefox it is not. It appears to be coming accross with the incorrect name and without the .csv identifier. Is there something about Firefox that is breaking this?Thank you!
Has anyone figured out how to do an aggregate model on FeedItem for chatter? It appears Salesforce doesn’t allow it. https://success.salesforce.com/ideaView?id=08730000000C2DwAAKAny ideas on a work-around?
Queue has a very nice feature for letter users manage their filters, but I don’t see a way to let them manage the sort order. Clearly I can change the sort order of the model itself, and can even do so from a JS, but I don’t see a good way to create a UI for the user to select the sort order. In my case, we have two somewhat complex sort orders on our queue. We would like the user to be able to toggle between those sort orders. I did try using a Template above the queue with a custom tag in the template and JS to manage the model, but the layout isn’t very usable - the ends up above the queue area making it confusing for users. And I don’t see a way to include a template or a button or any control besides a filter on the queue itself. The best answer I’ve come up with, which is a total hack, is to create a bogus filter (one that doesn’t actually change the results) and then attach to the control using jQuery to get the events and manage the model sort order that way. Making this
How to write below code in button click using jquery?$( “.sk-drawer” ).each(function() { $(this).hide(); });<br><br>
I’d like a toggle filter (or some way to filter) a table such that it only shows rows where at least one of three text fields has data.I tried a !=null condition for all three fields on the model, with ORs between them in the condition logic (1 OR 2 OR 3). Then I set a toggle filter to activate all three conditions.It doesn’t seem to have any affect.Any idea how to accomplish this? Am I doing something wrong?
I must be missing something in Highcharts…I have the following before render: var chartObj = arguments[0], $ = skuid.$,<br>Appts = chartObj.series[0].data,<br>&nbsp; &nbsp; Comp = chartObj.series[1].data,<br>&nbsp; &nbsp; Shows = [];&nbsp;<br>for (var i = 0; i &lt; Appts.length; i++){<br>&nbsp; &nbsp; Shows.push(Comp[i] / Appts[i]);<br>}<br>var newSeries = {<br>&nbsp; &nbsp; name: 'Show Rate',<br>&nbsp; &nbsp; data: Shows,<br>&nbsp; &nbsp; type: 'line',<br>&nbsp; &nbsp; yAxis: 'rateaxis',<br>&nbsp; &nbsp; lineWidth: 2,<br>&nbsp; &nbsp; dashStyle: 'solid',<br>&nbsp; &nbsp; connectNulls: true<br>};<br>chartObj.series[2] = newSeries; I end up with this:I shouldn’t need to set lineWidth and dashStyle, because those are defaults. Either way, I’m not getting a line.What am I missing? Thanks!
Skip to about 2:15.
It’s all in the pic.
I have read:http://help.skuidify.com/m/11720/l/129359-create-a-skuid-componenthttp://help.skuidify.com/m/11720/l/209409?data-resolve-url=true&data-manual-id=11720The specification of the full options I can choose for the builder is missing. More specifically for my case, the options I have in the propertiesRenderer. I need to add a field to the component properties where I can pass in a variable with the merge syntax, similar to the parameters field on a Page Include component. I only know I can make the property of type string, but it doesn’t convert variables passed in. Is there a property type that allows me to do that?
What else is there in the code editor for hot keys?Also, would anyone be willing to help me setup my system with as a good and proper javascript coding machine. Right now I’m just using what’s provided in the page builder. It’s not bad but I’d like to get the autocomplete for available methods and properties of the object I’ve typed out. I suppose Eclipse can be good for both Apex and Javascript. Not sure how it works to upload javascript. I’ve always had issues getting it up and working though.
In my parent page, I have several tabs2. Each tab contains page includes3. Page that do not have charts, renders fine4. Page that has no chart do not render at all… or sometimes renders and hides
How can I edit the XML raw and copy code that contains a panel set with field editors 100 times?I have to set up my page with 100’s of panel sets and field editors and Click and drag is getting tiresome. Any ideas how i can maybe edit the raw page and copy components?
How to Hide the --None-- Option with Radio Buttons (Without Field Required)?
I have a page with 5 models. One of the models has a numeric value (double). When I enter an invalid value (string), I don’t get any error message. The model saves successfully and just blanks out the number value.I tried to “Add on-error action” to the button without any luck.I want to avoid writing the whole save in Javascript.
How do we take advantage of the capability in Salesforce to attach multiple contacts to a single activity but do so within the Skuid interface? If I have two or more contacts involved on an event or task, the only way I know to access the ability to add those multiple contacts is through the standard Salesforce interface, not through a Skuid Popup or in-line editing of a Skuid list.
This morning a picklist field on a calendar page stopped displaying the value options. I haven’t changed the metadata in SF and I haven’t updated the page since 12/22. Any ideas of what has happened?
er … uh … why not have this? Is this planned for a release?Field Editor components with Templates get this option. Why not the table component?
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.