Auto populate master Record field ID on a Row action

  • 1
  • Question
  • Updated 2 years ago
  • Acknowledged
Hi Community,

I have skuid page for Entitlements and on this page i have a row action. This row action is used to create a record for something called "daily assessment". so There is a master detail relationship between entitlements and daily assessments. The page list view looks like this



And the pop-up on the row looks like this:


My issue is no matter on which entitlement i try to open the pop-up, the data is within the Entitlement name and Account name is not changing. I have the following conditions on the model used by the Row action.


How can i Auto populate the row's entitlement and row's account on to the pop-up.

Any suggestions?

Thank you.
Photo of Avinash

Avinash

  • 1,726 Points 1k badge 2x thumb

Posted 2 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Got it. You need to set the Context on the Field Editor in the popup. Set to Id and Entitlement__c.

Ensure you have the Id field in the Entitlements model. Ensure you have the Entitlement__c Master-Detail in the DailyAssessment model.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Like this.




Photo of Avinash

Avinash

  • 1,726 Points 1k badge 2x thumb
Some thing is going wrong. Though i see the XML in the preview, it is not getting through when i save it.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Very odd indeed.
Photo of Mark DeSimone

Mark DeSimone, Official Rep

  • 11,040 Points 10k badge 2x thumb
Avinash, after you paste the XML, try highlighting it and clicking the "pre" tool to set it as pre-formatted code. 
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Avinash. Still having the issue?
Photo of Avinash

Avinash

  • 1,726 Points 1k badge 2x thumb
I dont see any pre button below the comments text box. Th view i have while writing a comment looks like this


The issue is still there.
(Edited)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
That's a browser issue. Try other browsers.
Photo of Avinash

Avinash

  • 1,726 Points 1k badge 2x thumb
<skuidpage unsavedchangeswarning="yes" showsidebar="false" showheader="false" tabtooverride="" personalizationmode="server" theme="GEC Design">
    <models>
        <model id="Entitlement" limit="50" query="true" createrowifnonefound="true" sobject="Entitlement" doclone="" type="" orderby="Name ASC" datasource="salesforce">
            <fields>
                <field id="AccountId"/>
                <field id="Account.Name"/>
                <field id="EndDate"/>
                <field id="StartDate"/>
                <field id="Status"/>
                <field id="Name"/>
                <field id="On_Hold__c"/>
                <field id="Systems__c"/>
                <field id="Contract_SLA__c"/>
                <field id="Id"/>
                <field id="Account.Id"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Active" enclosevalueinquotes="true" field="Status" state="filterableon" inactive="false" name="Status"/>
                <condition type="multiple" value="" field="Status" operator="in" enclosevalueinquotes="true" state="filterableoff" inactive="true" name="Status_All">
                    <values>
                        <value>Active</value>
                        <value>Expired</value>
                        <value>Inactive</value>
                    </values>
                </condition>
            </conditions>
            <actions/>
        </model>
        <model id="Applications" limit="20" query="false" createrowifnonefound="false" sobject="Application__c" doclone="" type="">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
                <field id="Id"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__c" state="filterableoff" inactive="true" name="Customer_Entitlement__c"/>
            </conditions>
            <actions/>
        </model>
        <model id="expEnt" limit="20" query="false" createrowifnonefound="false" doclone="" type="aggregate" sobject="Application__c" adapter="salesforce">
            <fields/>
            <conditions>
                <condition type="fieldvalue" value="Expired" enclosevalueinquotes="true" field="Customer_Entitlement__r.Status"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="accId"/>
            </conditions>
            <actions/>
            <groupby method="simple">
                <field id="Customer_Entitlement__r.Name" name="customerEntitlementrName"/>
                <field id="Customer_Entitlement__r.Account.Name" name="customerEntitlementrAccou"/>
                <field id="Customer_Entitlement__r.EndDate" name="customerEntitlementrEndDa"/>
                <field id="Customer_Entitlement__r.On_Hold__c" name="customerEntitlementrOnHol"/>
                <field id="Customer_Entitlement__r.StartDate" name="customerEntitlementrStart"/>
                <field id="Customer_Entitlement__r.Status" name="customerEntitlementrStatu"/>
                <field id="Customer_Entitlement__r.Contract_SLA__c" name="customerEntitlementrContr"/>
                <field id="Customer_Entitlement__r.Id" name="customerEntitlementrId"/>
                <field id="Customer_Entitlement__c" name="customerEntitlementc"/>
            </groupby>
        </model>
        <model id="cuRent" limit="1" query="false" createrowifnonefound="false" sobject="Entitlement" doclone="" type="">
            <fields>
                <field id="Id"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Id" state="filterableoff" inactive="true" name="Id"/>
            </conditions>
            <actions/>
        </model>
        <model id="upAp" limit="" query="false" createrowifnonefound="false" sobject="Application__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__c" state="filterableoff" inactive="true" name="Customer_Entitlement__c"/>
            </conditions>
            <actions/>
        </model>
        <model id="ctiUp" limit="20" query="false" createrowifnonefound="false" sobject="Switch_CTI__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" enclosevalueinquotes="true" field="Customer_Entitlement__r.Status"/>
                <condition type="fieldvalue" value="" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="icUp" limit="20" query="false" createrowifnonefound="false" sobject="IC__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" enclosevalueinquotes="true" field="Customer_Entitlement__r.Status" state=""/>
                <condition type="fieldvalue" value="" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="dmUp" limit="20" query="false" createrowifnonefound="false" sobject="DatabaseDatamart__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" enclosevalueinquotes="true" field="Customer_Entitlement__r.Status"/>
                <condition type="fieldvalue" value="" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="sentUp" limit="20" query="false" createrowifnonefound="false" sobject="Sentinel__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="nmsUp" limit="20" query="false" createrowifnonefound="false" sobject="NetworkManagementSystem__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="strUp" limit="20" query="false" createrowifnonefound="false" sobject="Stream__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="iaUp" limit="20" query="false" createrowifnonefound="false" sobject="InteractionAnylitics__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="ssUp" limit="20" query="false" createrowifnonefound="false" sobject="Stream__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="pbUp" limit="20" query="false" createrowifnonefound="false" sobject="PlayBackServer__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="mlUp" limit="20" query="false" createrowifnonefound="false" sobject="MediaLibrary__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="smsyUp" limit="20" query="false" createrowifnonefound="false" sobject="SmartSync__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="daUp" limit="20" query="false" createrowifnonefound="false" sobject="DesktopAnalytics__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="voUp" limit="20" query="false" createrowifnonefound="false" sobject="VoIP__c" doclone="" type="" adapter="salesforce">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" state="" inactive="false" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="slUp" limit="20" query="true" createrowifnonefound="false" adapter="salesforce" type="" sobject="ScreenLogger__c">
            <fields>
                <field id="Customer_Entitlement__r.Name"/>
                <field id="Customer_Entitlement__c"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" enclosevalueinquotes="true" field="Customer_Entitlement__r.Status"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="CurrentUser" limit="20" query="true" createrowifnonefound="false" adapter="salesforce" type="" sobject="User">
            <fields>
                <field id="Id"/>
                <field id="SmallPhotoUrl"/>
            </fields>
            <conditions>
                <condition type="userinfo" value="" field="Id" operator="=" enclosevalueinquotes="true" userinfotype="userid"/>
            </conditions>
            <actions/>
        </model>
        <model id="primUp" limit="20" query="false" createrowifnonefound="false" adapter="salesforce" type="" sobject="Primary_Page__c">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="scUp" limit="20" query="false" createrowifnonefound="false" adapter="salesforce" type="" sobject="StorageCenter__c">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" operator="=" state="" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="conUp" limit="20" query="false" createrowifnonefound="false" adapter="salesforce" type="" sobject="Connectivity__c">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="infoUp" limit="20" query="false" createrowifnonefound="false" adapter="salesforce" type="" sobject="GEC_Information__c">
            <fields>
                <field id="Contact_Entitlement__c"/>
                <field id="Contact_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Contact_Entitlement__r.Status" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Contact_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="custUp" limit="20" query="false" createrowifnonefound="false" adapter="salesforce" type="" sobject="Customer_Info__c">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" field="Customer_Entitlement__r.Status" operator="=" mergefield="Customer_Entitlement__c" novaluebehavior="deactivate" enclosevalueinquotes="true"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="alUp" limit="20" query="false" createrowifnonefound="false" adapter="salesforce" type="" sobject="AIR_Logger__c">
            <fields>
                <field id="Customer_Entitlement__c"/>
                <field id="Customer_Entitlement__r.Name"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Expired" enclosevalueinquotes="true" field="Customer_Entitlement__r.Status"/>
                <condition type="fieldvalue" value="" enclosevalueinquotes="true" field="Customer_Entitlement__r.AccountId" state="filterableoff" inactive="true" name="AccountId"/>
            </conditions>
            <actions/>
        </model>
        <model id="DailyAssessmentPopup" limit="" query="false" createrowifnonefound="true" datasource="salesforce" type="" sobject="Daily_Assessment__c">
            <fields>
                <field id="Name"/>
                <field id="Entitlement_Name__c"/>
                <field id="Entitlement_Name__r.Name"/>
                <field id="Account_Name__c"/>
                <field id="Account_Name__r.Name"/>
                <field id="User__c"/>
                <field id="User__r.Name"/>
                <field id="All_Clear__c"/>
                <field id="Dec_To_Act__c"/>
                <field id="UNC_Path__c"/>
                <field id="Date_Time__c"/>
                <field id="Type_of_Assessment__c"/>
                <field id="Entitlement_Name__r.Id"/>
            </fields>
            <conditions>
                <condition type="userinfo" value="" field="User__c" operator="=" enclosevalueinquotes="true" userinfotype="name"/>
                <condition type="fieldvalue" value="NOW" enclosevalueinquotes="false" field="Date_Time__c"/>
                <condition type="modelmerge" value="" field="Account_Name__c" operator="=" model="Entitlement" enclosevalueinquotes="true" mergefield="Account.Name" novaluebehavior="deactivate"/>
                <condition type="modelmerge" value="" field="Entitlement_Name__c" operator="=" model="Entitlement" enclosevalueinquotes="true" mergefield="Name" novaluebehavior="deactivate"/>
            </conditions>
            <actions/>
        </model>
    </models>
    <components>
        <grid uniqueid="sk-pzCNM-318">
            <divisions>
                <division behavior="flex" minwidth="100px" ratio="1">
                    <components>
                        <skootable showconditions="true" showsavecancel="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="25" createrecords="true" model="Entitlement" buttonposition="" mode="read" uniqueid="sk-6rwo7-72">
                            <fields>
                                <field id="Status" valuehalign="" type="CUSTOM" snippet="icon" columnwidth="30px" uniqueid="fi-1CaYPh-331"/>
                                <field id="On_Hold__c" type="" valuehalign="" columnwidth="40px" uniqueid="fi-1CaYPh-332"/>
                                <field id="Name" valuehalign="" type="" columnwidth="300px" allowordering="true" uniqueid="fi-1CaYPh-333"/>
                                <field id="AccountId" valuehalign="" type="" columnwidth="450px" allowordering="true" uniqueid="fi-1CaYPh-334">
                                    <label>Account Name</label>
                                </field>
                                <field id="StartDate" valuehalign="" type="" columnwidth="100px" allowordering="true" uniqueid="fi-1CaYPh-335"/>
                                <field id="EndDate" valuehalign="" type="" columnwidth="100px" allowordering="true" uniqueid="fi-1CaYPh-336"/>
                                <field id="Contract_SLA__c" valuehalign="" type="" columnwidth="100px" uniqueid="fi-1CaYPh-337"/>
                                <field id="Systems__c" valuehalign="" type="" columnwidth="150px" uniqueid="fi-1CaYPh-338"/>
                            </fields>
                            <rowactions>
                                <action type="edit"/>
                                <action type="delete"/>
                                <action type="multi" label="Move Site Doc from old Entitlement" icon="ui-silk-application-go">
                                    <actions>
                                        <action type="emptyModelData">
                                            <models>
                                                <model>expEnt</model>
                                            </models>
                                        </action>
                                        <action type="setCondition" model="expEnt" condition="accId" value="{{Account.Id}}"/>
                                        <action type="emptyModelData">
                                            <models>
                                                <model>ctiUp</model>
                                            </models>
                                        </action>
                                        <action type="setCondition" model="ctiUp" condition="AccountId" value="{{Account.Id}}"/>
                                        <action type="emptyModelData">
                                            <models>
                                                <model>dmUp</model>
                                            </models>
                                        </action>
                                        <action type="setCondition" model="dmUp" condition="AccountId" value="{{Account.Id}}"/>
                                        <action type="emptyModelData">
                                            <models>
                                                <model>icUp</model>
                                            </models>
                                        </action>
                                        <action type="setCondition" model="icUp" condition="AccountId" value="{{Account.Id}}"/>
                                        <action type="emptyModelData">
                                            <models>
                                                <model>sentUp</model>
                                            </models>
                                        </action>
                                        <action type="setCondition" model="sentUp" condition="AccountId" value="{{Account.Id}}"/>
                                        <action type="emptyModelData">
                                            <models>
                                                <model>nmsUp</model>
                                            </models>
                                        </action>
                                        <action type="setCondition" model="nmsUp" condition="AccountId" value="{{Account.Id}}"/>
                                        <action type="emptyModelData">
                                            <models>
                                                <model>strUp</model>
                                            </models>
                                        </action>
                                        <action type="setCondition" model="strUp" condition="AccountId" value="{{Account.Id}}"/>
                                        <action type="emptyModelData">
                                            <models>
                                                <model>iaUp</model>
                                            </models>
                                        </action>
                                        <action type="setCondition" model="iaUp" condition="AccountId" value="{{Account.Id}}"/>
                           &
(Edited)
Photo of Avinash

Avinash

  • 1,726 Points 1k badge 2x thumb
<skuidpage showheader="false" personalizationmode="server" theme="GEC Design" showsidebar="false" unsavedchangeswarning="yes" tabtooverride="">
    <models>
        <model id="Entitlement" type="" datasource="salesforce" orderby="Name ASC" doclone="" sobject="Entitlement" createrowifnonefound="true" query="true" limit="50">
            <fields>
                <field id="AccountId" />
                <field id="Account.Name" />
                <field id="EndDate" />
                <field id="StartDate" />
                <field id="Status" />
                <field id="Name" />
                <field id="On_Hold__c" />
                <field id="Systems__c" />
                <field id="Contract_SLA__c" />
                <field id="Id" />
                <field id="Account.Id" />
            </fields>
            <conditions>
                <condition type="fieldvalue" name="Status" value="Active" enclosevalueinquotes="true" field="Status" inactive="false" state="filterableon" />
                <condition type="multiple" name="Status_All" value="" enclosevalueinquotes="true" field="Status" operator="in" inactive="true" state="filterableoff">
                    <values>
                        <value>Active</value>
                        <value>Expired</value>
                        <value>Inactive</value>
                    </values>
                </condition>
            </conditions>
            <actions />
        </model>
        <model id="CurrentUser" type="" datasource="salesforce" sobject="User" createrowifnonefound="false" query="true" limit="20">
            <fields>
                <field id="Id" />
                <field id="SmallPhotoUrl" />
            </fields>
            <conditions>
                <condition type="userinfo" value="" enclosevalueinquotes="true" field="Id" operator="=" userinfotype="userid" />
            </conditions>
            <actions />
        </model>
        <model id="DailyAssessmentPopup" type="" datasource="salesforce" sobject="Daily_Assessment__c" createrowifnonefound="true" query="false" limit="">
            <fields>
                <field id="Name" />
                <field id="Entitlement_Name__c" />
                <field id="Entitlement_Name__r.Name" />
                <field id="Account_Name__c" />
                <field id="Account_Name__r.Name" />
                <field id="User__c" />
                <field id="User__r.Name" />
                <field id="All_Clear__c" />
                <field id="Dec_To_Act__c" />
                <field id="UNC_Path__c" />
                <field id="Date_Time__c" />
                <field id="Type_of_Assessment__c" />
                <field id="Entitlement_Name__r.Id" />
            </fields>
            <conditions>
                <condition type="userinfo" value="" enclosevalueinquotes="true" field="User__c" operator="=" userinfotype="name" />
                <condition type="fieldvalue" value="NOW" enclosevalueinquotes="false" field="Date_Time__c" />
                <condition type="modelmerge" model="Entitlement" value="" enclosevalueinquotes="true" field="Account_Name__c" operator="=" mergefield="Account.Name" novaluebehavior="deactivate" />
                <condition type="modelmerge" model="Entitlement" value="" enclosevalueinquotes="true" field="Entitlement_Name__c" operator="=" mergefield="Name" novaluebehavior="deactivate" />
            </conditions>
            <actions />
        </model>
    </models>
    <components>
        <grid uniqueid="sk-pzCNM-318">
            <divisions>
                <division behavior="flex" ratio="1" minwidth="100px">
                    <components>
                        <skootable uniqueid="sk-6rwo7-72" model="Entitlement" buttonposition="" mode="read" showsavecancel="true" createrecords="true" pagesize="25" showexportbuttons="false" searchbox="true" searchmethod="server" showconditions="true">
                            <fields>
                                <field id="Status" type="CUSTOM" uniqueid="fi-1CaYPh-331" snippet="icon" valuehalign="" columnwidth="30px" />
                                <field id="On_Hold__c" type="" uniqueid="fi-1CaYPh-332" valuehalign="" columnwidth="40px" />
                                <field id="Name" type="" uniqueid="fi-1CaYPh-333" valuehalign="" allowordering="true" columnwidth="300px" />
                                <field id="AccountId" type="" uniqueid="fi-1CaYPh-334" valuehalign="" allowordering="true" columnwidth="450px">
                                    <label>Account Name</label>
                                </field>
                                <field id="StartDate" type="" uniqueid="fi-1CaYPh-335" valuehalign="" allowordering="true" columnwidth="100px" />
                                <field id="EndDate" type="" uniqueid="fi-1CaYPh-336" valuehalign="" allowordering="true" columnwidth="100px" />
                                <field id="Contract_SLA__c" type="" uniqueid="fi-1CaYPh-337" valuehalign="" columnwidth="100px" />
                                <field id="Systems__c" type="" uniqueid="fi-1CaYPh-338" valuehalign="" columnwidth="150px" />
                            </fields>
                            <rowactions>
                                <action type="edit" />
                                <action type="popup" label="Submit New Health Check" icon="ui-silk-heart-add">
                                    <renderconditions logictype="and">
                                        <rendercondition type="fieldvalue" value="Avinash Babu" enclosevalueinquotes="true" sourcetype="userinfo" fieldmodel="Entitlement" operator="=" sourceuserinfotype="name" />
                                    </renderconditions>
                                    <popup title="New Health Check" width="60%">
                                        <components>
                                            <pagetitle uniqueid="sk-3nz0O8-365" model="Entitlement">
                                                <maintitle>{{Name}}</maintitle>
                                                <actions>
                                                    <action type="multi" label="Save" icon="save">
                                                        <actions>
                                                            <action type="save">
                                                                <models>
                                                                    <model>DailyAssessment</model>
                                                                </models>
                                                            </action>
                                                            <action type="closeAllPopups" />
                                                        </actions>
                                                    </action>
                                                    <action type="multi" label="Cancel" icon="sk-icon-cancel">
                                                        <actions>
                                                            <action type="cancel">
                                                                <models>
                                                                    <model>DailyAssessment</model>
                                                                </models>
                                                            </action>
                                                            <action type="closeAllPopups" />
                                                        </actions>
                                                    </action>
                                                </actions>
                                                <conditions />
                                            </pagetitle>
                                            <basicfieldeditor uniqueid="sk-3nhrkT-448" model="DailyAssessmentPopup" buttonposition="" mode="edit" showheader="true" showsavecancel="false">
                                                <conditions>
                                                    <condition type="contextrow" field="Id" operator="=" mergefield="Name" />
                                                </conditions>
                                                <columns>
                                                    <column width="50%">
                                                        <sections>
                                                            <section title="" collapsible="no">
                                                                <fields>
                                                                    <field id="Name" uniqueid="fi-3t1IoQ-394" />
                                                                    <field id="Entitlement_Name__c" type="" uniqueid="fi-3t1IoQ-395" valuehalign="" />
                                                                    <field id="Account_Name__c" type="" uniqueid="fi-3t1IoQ-396" valuehalign="" />
                                                                    <field id="User__c" type="" uniqueid="fi-3t1IoQ-397" valuehalign="" />
                                                                </fields>
                                                            </section>
                                                        </sections>
                                                    </column>
                                                    <column width="50%">
                                                        <sections>
                                                            <section title="" collapsible="no">
                                                                <fields>
                                                                    <field id="All_Clear__c" uniqueid="fi-3t1IoQ-398" />
                                                                    <field id="Dec_To_Act__c" uniqueid="fi-3t1IoQ-399" />
                                                                    <field id="UNC_Path__c" uniqueid="fi-3t1IoQ-400" />
                                                                    <field id="Date_Time__c" type="" uniqueid="fi-3t1IoQ-401" valuehalign="" />
                                                                    <field id="Type_of_Assessment__c" uniqueid="fi-3t1IoQ-402" />
                                                                </fields>
                                                            </section>
                                                        </sections>
                                                    </column>
                                                </columns>
                                            </basicfieldeditor>
                                        </components>
                                        <afterclose />
                                    </popup>
                                </action>
                            </rowactions>
                            <massactions usefirstitemasdefault="true">
                                <action type="massupdate" />
                                <action type="massdelete" />
                            </massactions>
                            <views>
                                <view type="standard" />
                            </views>
                            <filters>
                                <filter type="select" label="Active" condition="Status" createfilteroffoption="false" filteroffoptionlabel="New Filter" conditionfield="Status" labelmode="no" conditionsource="manual" autocompthreshold="50" affectcookies="false">
                                    <sources>
                                        <source type="manual" effectsbehavior="justdefault">
                                            <options>
                                                <option type="complex" label="Active">
                                                    <effects>
                                                        <effect value="Active" condition="Status" action="set" />
                                                    </effects>
                                                </option>
                                                <option type="complex" label="Expired">
                                                    <effects>
                                                        <effect value="Expired" condition="Status" action="set" />
                                                    </effects>
                                                </option>
                                                <option type="complex" label="All">
                                                    <effects>
                                                        <effect value="" condition="Status" action="deactivate" />
                                                    </effects>
                                                </option>
                                                <option type="complex" label="Inactive">
                                                    <effects>
                                                        <effect value="Inactive" condition="Status" action="set" />
                                                    </effects>
                                                </option>
                                            </options>
                                        </source>
                                    </sources>
                                </filter>
                            </filters>
                            <searchfields />
                        </skootable>
                    </components>
                </division>
            </divisions>
            <styles>
                <styleitem type="background" bgtype="none" />
            </styles>
        </grid>
    </components>
    <resources>
        <labels />
        <javascript>
            <jsitem name="test" cachelocation="false" location="inlinesnippet">var params = arguments[0],
 $ = skuid.$,
 models = {
  'Entitlement': skuid.$M('Entitlement').data,
  'expEnt': skuid.$M('expEnt').data,
  'cuRent': skuid.$M('cuRent').data,
     'upAp': skuid.$M('upAp').data,
     'ctiUp': skuid.$M('ctiUp').data,
     'icUp': skuid.$M('icUp').data,
     'dmUp': skuid.$M('dmUp').data,
     'sentUp': skuid.$M('sentUp').data,
     'nmsUp': skuid.$M('nmsUp').data,
     'strUp': skuid.$M('strUp').data,
     'iaUp': skuid.$M('iaUp').data,
     'ssUp': skuid.$M('ssUp').data,
     'pbUp': skuid.$M('pbUp').data,
     'mlUp': skuid.$M('mlUp').data,
     'smsyUp': skuid.$M('smsyUp').data,
     'daUp': skuid.$M('daUp').data,
     'voUp': skuid.$M('voUp'.data)
     };
 
 
console.log(models);</jsitem>
            <jsitem name="icon" cachelocation="false" location="inlinesnippet">var $ = skuid.$,
    field = arguments[0],
    value = arguments[1];
var cellElem = field.element;
var iconElem =
    $( '&lt;div&gt;' ) // create the icon container
        .addClass('ui-silk') // mark the container as a silk icon container
        .appendTo( cellElem ); // add the container to the cell
 
switch( value )
{
    case 'Expired':
        // apply the red flag icon to the container
        iconElem.addClass('ui-silk-cross');
        break;
    case 'Inactive':
        // apply the orange flag icon to the container
        iconElem.addClass('ui-silk-bullet-black');
        break;
    case 'Active':
        // apply the blue flag icon to the container
        iconElem.addClass('ui-silk-tick');
        break;
       
}</jsitem>
        </javascript>
        <css />
    </resources>
    <styles>
        <styleitem type="background" bgtype="none" />
    </styles>
</skuidpage>



I reproduced the issue in a sample page and this is the XML of that page. The lines of code is relatively lot less then the original page but this XML would be easy for you to look and figure out the issue.
(Edited)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Hi Avinash,

I found a few things of issue in the page. It would be way way faster to troubleshoot over GTM or Skype. Whichever you prefer.

Lemeno,

Pat
Photo of Avinash

Avinash

  • 1,726 Points 1k badge 2x thumb
Skype.  do you want my email address to send an invitation?
(Edited)
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
pat_vachon_77
Photo of Avinash

Avinash

  • 1,726 Points 1k badge 2x thumb
Skype ID: avinashmandapaka. I tried calling you but no answer
(Edited)