Sample page XML on standard object please.
I can’t seem to reproduce this using standard objects. I’ve seen it 2 times so far while working on pages. I’m using a new workaround technique to get around a bug that uses incorrect page parameters on page includes, and the error is sometimes popping up when I use the workaround.
Agian, I can’t get it to trip on this particular example I’m trying to put together, but this is an example of the type of way pages are set up that sometimes have this error happening:
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" showheader="false" title="ConditionsReferenceErrorExampleInclude">
<models>
<model id="Params" limit="20" query="true" datasource="Ui-Only" createrowifnonefound="true">
<fields>
<field id="id" displaytype="FORMULA" length="255" label="id" ogdisplaytype="TEXT" readonly="true" returntype="TEXT">
<formula>{{$Param.id}}</formula>
</field>
</fields>
<conditions/>
<actions/>
</model>
<model id="Account" limit="1" query="true" createrowifnonefound="false" processonclient="true" datasource="salesforce" sobject="Account">
<fields>
<field id="Id"/>
<field id="Name"/>
</fields>
<conditions>
<condition type="modelmerge" value="" field="Id" operator="=" model="Params" enclosevalueinquotes="true" mergefield="id" novaluebehavior="noquery"/>
</conditions>
<actions/>
</model>
<model id="Contacts" limit="200" query="true" datasource="salesforce" processonclient="true" sobject="Contact">
<fields/>
<actions/>
<conditions>
<condition type="modelmerge" value="" field="AccountId" fieldtargetobjects="Account" operator="=" model="Account" enclosevalueinquotes="true" mergefield="Id" novaluebehavior="noquery"/>
</conditions>
</model>
<model id="Contacts2" limit="200" query="true" createrowifnonefound="false" processonclient="true" datasource="salesforce" sobject="Contact">
<fields/>
<conditions>
<condition type="modelmerge" value="" field="AccountId" fieldtargetobjects="Account" operator="=" model="Account" enclosevalueinquotes="true" mergefield="Id" novaluebehavior="noquery"/>
</conditions>
<actions/>
</model>
</models>
<components/>
<resources>
<labels/>
<javascript/>
<css/>
<actionsequences uniqueid="sk-3bvs-383"/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuidpage>
So the issue has only happened on non standard objects. Ok. Are you able to send me the XML for the page that does have the issue? Alternatively make a copy and trim the page all the way down to only what’s needed to still cause the issue. You find the issue only happens until you remove something that you didn’t think would be related. That’s happened to me on more than one occasion. Skuid pages can become an enigma to even the original author as it’s not super easy to see what’s affected by what like the “Where is this used” button for SF fields. Gonna post that as an idea for sure.