Working on using Drawers(with a table) on a table again. Having a time getting the context worked out.
Not sure if I’m finding a bug, but when I select the field for context on the drawer-table, the field picker is for the same object for both the Field and Merge field
For the Field
For theMerge Field
Images look the same, but they’re not, which is the issue.
In my understanding, the Field -field picker- is correctly showing fields for the components model (The drawer table in this case, NPSP_payment object)
BUT, the Merge Field -field picker- should be showing filed for the context model.(?) in this case the table that contains this drawer uses an Opportunity Model.
However, the Merge field field picker, is also showing the fields for the drawer component model (NPSP_payment object). For this setup at least, there was a field called Id that I could match it to, but it’s not that way in other use cases.
Thanks for any pointers.
…
Note also, Skuid sample page for drawers doesn’t seem to ‘work’ with current Skuid.
github.comskuid/SamplePages/blob/master/Skuid_Techniques/Drawers_Related_Records/AccountChildrenTableDrawers.xml
<skuid__page unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" showheader="false">
<models>
<model id="Account" limit="100" query="true" createrowifnonefound="false" sobject="Account" datasource="salesforce">
<fields>
<field id="Name"/>
<field id="CreatedDate"/>
<field id="Type"/>
<field id="NumberOfEmployees"/>
<field id="Phone"/>
<field id="OwnerId"/>
<field id="Owner.Name"/>
<field id="ParentId"/>
<field id="Parent.Name"/>
<field id="Website"/>
<field id="Description"/>
</fields>
<conditions>
<condition type="fieldvalue" enclosevalueinquotes="true" field="Owner.LastName" fieldtargetobjects="User" clientorserver="server" state="filterableoff" inactive="true" name="Owner.LastName"/>
</conditions>
<actions/>
This file has been truncated. show original
It runs ok, but editing the Before load actions tab of the drawer, shows actions ‘setConditon’ and ‘requertModel’ which don’t exist as such in Edinburgh Update 1 (16.1.4.1)
I’ve found SkuidSkool and documentation less than helpful too.