Company Annual Virtual Conference
Skuid
Recently active
// used to be to refresh model from page that called a page include // before page include action skuid.snippet.registerSnippet('setSourceModelName',function(args) { var params = arguments[0], $ = skuid.$; sourceModelName = params.model.id; }); // used in conjunction with snippet 'setSourceModelName' skuid.snippet.registerSnippet('querySourceModel',function(args) { var params = arguments[0], $ = skuid.$; skuid.$M(window.sourceModelName).updateData(); });<br>
When using table filters with the toggle option, it would be helpful if there was an option for two field labels i.e. a label for when the toggle is on and another for when it is off. The Show All button is a toggle filter. Right now, it is Showing All, and I would prefer to set the label to be Hide All (or something like that) and have the button still look active.
Currently arguments[0].button is the jQuery wrapped DOM element for the button that initiated javascript through “Run a Skuid javascript snippet.”It would be great if .button was also included in the arguments any snippets run from the action framework for buttons that “Run multiple actions.”
I often find myself using a panel set and two field editors one the same model because I want a different layouts for different columns or sections of a field editor. For example, label beside field on the left column, label above field on the right column.I could accomplish this with a single field editor component if the layout property was moved down to the section level.
We often have a use case where we’d like to be able to use a wizard, except that users occasionally need to jump around between screens. So we use tabsets, and add a Pagetitle component at the top of each tab, with Next Tab and Previous Tab buttons that run a snippet called ‘nextTab’ and ‘previousTab’, respectively.Here’s the generic inline javascript to make it work: <br>// Tabs<br>(function (skuid){<br>//Shortcuts<br>var $ = skuid.$;<br>//Helper Functions<br>// Given the button that was clicked, find the parent tabset.<br>var getTabset = function (button) {<br>return $(button).closest('.ui-tabs-panel').parent();<br>}<br>// Given the active tabset, find the active tab.<br>var getCurrentTab = function (tabset) {<br>return $(tabset).tabs("option", "active");<br>}<br>//Build Snippets<br>var snippets = {<br>'nextTab': function () {<br>var clickedButton = arguments[0].button;<br>var
This basically stems from me being in a hurry. I want to be able to cut/copy and paste components, field editor sections, and maybe even fields from the page composer without going into XML (using command c, x, & v).
In the Skuid Wizard Webinar (https://www.youtube.com/watch?v=r1eCaomPrPc), Matt demoed a very cool Opportunity Dashboard with charts and custom styling. At the end of the webinar, someone asked #dinosaumachine if the page XML could be shared and was told NO. I took this as a challenge and over lunch (and a very bad sandwich) was able to get this going. I will leave it to the reader to flesh out remaining details (Pat want to take next stab?). <skuidpage unsavedchangeswarning="yes" showsidebar="false" showheader="true" tabtooverride="Opportunity"> <models> <model id="Opportunity" limit="100" query="true" createrowifnonefound="false" sobject="Opportunity"> <fields> <field id="Name"/> <field id="CreatedDate"/> <field id="Amount"/> <field id="StageName"/> <field id="CloseDate"/> <field id="OwnerId"/> <field id="Owner.Name"/>
This is new version of previous blog post how to, with one improvement. A snippet that can dynamically cancel associated model in a popup.http://www.mblazonry.com/creating-a-new-opportunity-in-salesforce-using-only-one-model-2/
It would be awesome to make the interface for building page includes a bit more intuitive.What if when I selected a skuid page, the builder could automatically pull in the url parameter names that the page’s models ask for, and display a text box for each of them? It would save us from opening the page we want to include and scrolling through the model conditions to make sure we have the right params.Also, it would be sweet if we could set the actual query string for each param the way that we set values for conditions (i.e. field from a model), instead of just using global merge syntax every time. Happy skuidifying, everyone!
Just like date range but with numeric/currency fields.
What if you could allow users to save filters they’ve set previously so they can quickly return to that view? Think of Saved Searches in Evernote but for a Skuid table.Example… I’m a sales person and I segment my prospecting list by:CMOs in NYC Product leaders in NJ Existing clients So you would be able to flip between each of those views without having to separately set those filters each time.Just an idea similar to how users could create a Custom View on the Contacts tab and generate that list.Thanks
Grouping logic on model conditions are awesome. It would be nice if we could apply grouping logic on lookup filters as well.
Hello -There has been some discussion about not being able to have a Page Include appear on a Page multiple times. One of the primary challenges we face (and it appears others as well) is that often times the same “concept” (or extremely similar differing with conditional rendering) is needed on a page (e.g. in a drawer) or on different pages. There has been discussion in the past regarding the ability to build a “component library” but currently, the only way to achieve re-use is via Page Includes or custom components.One of the main obstacles for allowing multiple page includes this is that models are merged by name and since a page include uses the same model - well, let’s just say some problems could arise. Idea - Would it be possible when pulling in a page include, to adjust the model names in the included page appending the page include _GUID? For example, if Page Include has a Model of “Account” the merged model would be named “Account_246.” The xmlConfig of the page would
I find myself unchecking the Show Save/Cancel box almost every time I add a field editor. Can that be the default?
It would be really cool to be to have panels that can be collapsed w/ a desired collapse direction with a uncollapse button when collapsed.
When using Rich Text Area Fields and the CKEditor that Skuid has I would like to correct the “Enter Key” Mode that CKEditor uses. By default SKUID places tags when you press enter. I need to change the Mode to use tags. This is possible with the CKEditor as the link describes below. When I try to change just that one setting it messes up the whole editor and the data is gone. Skuid, How can I adjust the default Enter Mode successfully on the Skuid CKEditor Rich Text Editor? http://ckeditor.com/latest/samples/plugins/enterkey/enterkey.html The Javascript code I tried is: $ = skuid.$; $(document).ready(function() { CKEDITOR.replace( 'cke_editor1', { enterMode: CKEDITOR.ENTER_BR }); }); This is needed due to the enter key spacing mismatch from the fields to export in html for word, email etc… My users enter data and run a Drawloop document merge and the data comes over like the Rich Text Editor displays to them EXCEPT for the Enter Keys they hit.
Here’s the comment “queue’d” up. 😃Here’s the use case.
So here’s the deal, I often have to clone rows in a table via Javascript. Some purist would argue that it should be done via Apex (and I agree), but I’ve been told to use Javascript. Eventually it was getting annoying to write all of these various snippets for various objects that pretty much did the same thing. I decided to outsource the snippet to a static resource and call it with the various differences passed in as arguments. I registered a snippet called “clone”. // utility snippet for easy cloning of rows. arg[0] = row/model etc. arg[1] = other model api name arg[2] = JS Obj with name -> value pairs skuid.snippet.registerSnippet('clone',function(){ //this is beautiful code - JA console.log(arguments); var params = arguments[0], item = params.item, dataRow = params.row, dataModel = params.model; $ = skuid.$; console.log(arguments); var modelName = arguments[1];//pass in the other model name as the second arg var customMap = arguments[2] || {};//custom mapp
Conditionally render “required” only if field is empty
Right now, the automatic assignment functionality is great if you create the user in a specific role. What if you could move someone into a profile and that triggered the permission set and license assignment?Example:IT creates all users and dumps them into a default user Profile.Ops moves the user into the appropriate Profile which triggers the license and permission sets to be assigned.
Right now, when picking dates for the categories on a chart, you are only presented calendar years/quarters. We are offset by a quarter so calendar Q1 is our Q4 - big difference in urgency! It would be great to be able to chart based on Calendar OR Fiscal years.
I think we have all seen a message like this. Usually for me it happens when I am deleting fields that might be on the SKUID page especially if I am in active development of the SKUID pages and the Objects at the same time. Since SKUID knows exactly which model field is missing it would be awesome if there was a link that we could click on (as part of the message) that when clicked would remove the field and reload the page. This would be a bit quicker than going to the model and removing the field manually.
Is drag/drop rescheduling supported in the calendar month view? I have it working in week view, but nothing happens when I try to drag it in month view.
Hey fellow Skuid-ers, No, this is not a gratuitous post. No need to Like. Felt that I needed to give a nod to the AF. What I just did declaratively would have required me to write lots of Apex trigger code and unit tests sans Skuid. Just say’in. Regards, Irvin
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.