UI-Only model not rendering correctly
I have a UI-Only model that is supposed to show no matches.
It does show 0 matches but but is not accurately counting the matches, it shows 23
This following is the code:
<skuid__wrapper uniqueid="sk-22So-384346" overflowY="auto" styleSettingsVariant="3e10d5e7-fc56-4a25-b6e2-01289d72fa5d">
<components>
<skuid__text contents="{{I_Mark_Date_of_Service_Finished__c}}&nbsp; ${{Earnings}}&nbsp; {{I_Mark_Description__c}}&nbsp;" uniqueid="sk-22Eh-283085" model="EUdit_Marker_View">
<renderConditions logictype="and"/>
<styleVariantConditions/>
<styles>
<spacing bottom="1" right="0.5" left="1" top="1"/>
</styles>
</skuid__text>
</components>
<background
type="image" datasource="salesforce" source="url"
model="UI_Only"
url="https://www.dorothy.com/Images/Yellow_Orange_Wall.png"
position="center center" repeat="repeat"/>
<renderConditions logictype="and">
<renderCondition type="formula" operator="=" fieldmodel="EUdit_Marker_View" sourcetype="fieldvalue" field="I_Path_Id__c" value="" enclosevalueinquotes="true">
<formula>{{{$Model.UI_Only.data.0.Key_Id_Holder}}} </formula>
</renderCondition>
</renderConditions>
<styleVariantConditions/>
<interactions>
<interaction type="tap">
<action type="showModal">
<skuid__modal width="640px" showCloseIcon="false">
<components>
<skuid__text contents="{{<strong>I_Mark_Description__c</strong>}}<br /> <br /> Mark Start: {{I_Mark_Date_of_Service_Start__c}}<br /> Mark End:&nbsp;{{I_Mark_Date_of_Service_Finished__c}}&nbsp;<br /> Earnings:&nbsp;{{I_Mark_Project_Rate__c}} by path<br /> Earnings:&nbsp;${{I_Mark_Hourly_Rate__c}} X&nbsp;{{I_Mark_Quantity__c}} = ${{Earnings}}<br /> <br /> Approver: {{I_Mark_Decision_By_Name__c}}&nbsp;{{I_Mark_Decision_Date__c}}<br /> Status:&nbsp;&nbsp;{{I_Mark_Status__c}}<br /> <br /> Member Name: {{I_Mark_Member_Name__c}}<br /> <br /> Signon Name: {{I_Mark_Sign_On_First_Name__c}}&nbsp;{{I_Mark_Sign_On_Last_Name__c}}<br /> Sub Slice:&nbsp;&nbsp;{{I_Mark_Slice_Sub__c}}<br /> {{I_Path_Id__c}}" uniqueid="sk-23Zv-256155" model="EUdit_Marker_View" allowHtmlInBuilder="true"/>
</components>
<buttons>
<skuid__button label="Close" uniqueId="sk-23a3-263357" styleSettingsVariant="primary" icon="sk-webicon-ink:circle-close-solid">
<actions>
<action type="closeTopmostPopup"/>
</actions>
</skuid__button>
</buttons>
</skuid__modal>
</action>
</interaction>
</interactions>
<styles>
<spacing/>
</styles>
</skuid__wrapper>
Answers
-
I am using a deck
I believe it should have 3 items. I have tested multiple ways. It seems Displaylogic>Render conditions are not working on a UI_Only table Data source. If there are 23 records in the UI-Only Table and the render condition finds 6 records, it will show values in the 6 matching records but also shows the other records as empty.
0 -
Here is a link to my sandbox to reproduce.
https://full-dorothy.cs50.force.com/Member
Here is a video on how to reproduce.
0
Categories
- 8K Questions
- 927 Ideas
- 225 Discussion Categories
- 180 General
- 9 Community Feedback
- 5 Community Info
- 19 Knowledge Base