Watch the video below, but in a nutshell, I’m using merge syntax in the split template to display the labels. When I apply a filter to the model, the merge syntax is dropped.
This is on Skuid Platform.
Page 1 / 1
Here’s some sample code to recreate the issue:
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true"> <models> <model id="Opportunity" query="true" createrowifnonefound="false" datasource="Salesforce" processonclient="true" type="aggregate" sobject="Opportunity" limit=""> <fields> <field id="Id" name="countId" function="COUNT" accessible="true" createable="false" editable="false" filterable="true" groupable="true" sortable="true" displaytype="ID" label="Opportunity ID"/> </fields> <conditions> <condition type="multiple" field="ForecastCategory" operator="in" inactive="true" enclosevalueinquotes="true" name="__autofilter__ForecastCategory" state="filterableoff" value=""/> <condition type="multiple" field="Type" operator="in" inactive="true" enclosevalueinquotes="true" name="__autofilter__Type" state="filterableoff" value=""/> </conditions> <actions/> <groupby method="simple"> <field id="Type" name="type" accessible="true" createable="true" editable="true" filterable="true" groupable="true" sortable="true" length="40" displaytype="PICKLIST" label="Opportunity Type"/> <field id="ForecastCategory" name="forecastCategory" accessible="true" createable="false" editable="false" filterable="true" groupable="true" sortable="true" length="40" displaytype="PICKLIST" label="Forecast Category"/> </groupby> </model> </models> <components> <filterset model="Opportunity" searchmethod="server" searchbox="true" uniqueid="sk-2ousTI-342" position="right"> <filters> <filter type="multiselect" filteroffoptionlabel="All Forecast Categories" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="auto" labelmode="auto" filtermethod="server" conditionfield="ForecastCategory" conditionoperator="in"/> <filter type="multiselect" filteroffoptionlabel="All Types" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="auto" labelmode="auto" filtermethod="server" conditionfield="Type" conditionoperator="in"/> </filters> </filterset> <skuidvis__chart model="Opportunity" maintitle="Opportunities" type="pie" uniqueid="sk-2ouJeH-244"> <dataaxes> <axis id="axis1"/> </dataaxes> <categoryaxes> <axis id="categories" categorytype="field"/> </categoryaxes> <serieslist> <series valuefield="countId" splittype="template" modelId="Opportunity" aggfunction="sum" splittemplate="{{{type}}} - {{{forecastCategory}}}"/> </serieslist> <colors/> <legend layout="horizontal" halign="center" valign="bottom"/> </skuidvis__chart> </components> <resources> <labels/> <javascript/> <css/> <actionsequences uniqueid="sk-2ouD5S-232"/> </resources> <styles> <styleitem type="background" bgtype="none"/> </styles> </skuidpage>
Does this work for you?
<skuidvis__chart model=“oppty2” maintitle=“Opportunities 2” type=“pie” uniqueid=“sk-2xyUmM-199”>
</skuidvis__chart>
No, experiencing the same behavior.
Thanks for looking into this,
Andrew
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.