Skip to content

Instantly share code, notes, and snippets.

@zachelrath
Created April 15, 2014 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachelrath/10748338 to your computer and use it in GitHub Desktop.
Save zachelrath/10748338 to your computer and use it in GitHub Desktop.
<skuidpage showsidebar="true" showheader="true" tabtooverride="Contact">
<models>
<model id="Contact" limit="100" query="true" createrowifnonefound="false" sobject="Contact">
<fields>
<field id="FirstName"/>
<field id="LastName"/>
<field id="CreatedDate"/>
</fields>
<conditions>
<condition type="param" value="accountid" field="AccountId" operator="=" enclosevalueinquotes="true"/>
</conditions>
</model>
<model id="SelectedAccount" limit="100" query="true" createrowifnonefound="false" sobject="Account">
<fields>
<field id="Name"/>
</fields>
<conditions>
<condition type="param" value="accountid" field="Id" operator="=" enclosevalueinquotes="true"/>
</conditions>
</model>
</models>
<components>
<panelset type="standard" scroll="variable" offset="220">
<panels>
<panel type="left" width="225">
<components>
<queue tagrendertype="template" querystring="id={{Id}}" defaultitemparameter="id" clickactiontype="updatepanel" searchbox="true" model="Contact" pagename="ContactDetail" module="SkuidCRM" actionpanel="ContactDetail" title="Contacts at {{$Model.SelectedAccount.data.0.Name}}">
<rendertemplate>{{{FirstName}}} {{{LastName}}}</rendertemplate>
</queue>
</components>
</panel>
<panel>
<components>
<includepanel type="skuid" uniqueid="ContactDetail" lazyload="true"/>
</components>
</panel>
</panels>
</panelset>
</components>
<resources>
<labels/>
<css/>
<javascript/>
</resources>
</skuidpage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment