Odd error new row when field used in condition is not in model (Skuid 12.4.9)


<skuid__page unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true">

<models>

<model id="Opps" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" sobject="Opportunity">

<fields>

<field id="RecordTypeId"/>

<field id="RecordType.Name"/>

<field id="Name"/>

</fields>

<conditions>

<condition type="param" value="id" field="AccountId" fieldtargetobjects="Account" operator="=" enclosevalueinquotes="true" novaluebehavior="noquery"/>

</conditions>

<actions/>

</model>

</models>

<components>

<skuid__table allowColumnFreezing="dragDrop" model="Opps" uniqueid="sk-BH5-24531" mode="read">

<fields>

<field id="RecordTypeId" uniqueid="fi-BH5-24907"/>

<field id="RecordType.Name" uniqueid="fi-BH5-24908"/>

<field id="Name" uniqueid="fi-BH5-24909"/>

</fields>

<filtering enableSearch="false"/>

<rowActions/>

<massActions/>

<actions>

<action type="multi" label="New">

<actions>

<action type="createRow" model="Opps" appendorprepend="prepend" defaultmodefornewitems="edit" affectedrows="context"/>

</actions>

</action>

</actions>

</skuid__table>

</components>

<resources>

<labels/>

<javascript/>

<css/>

<actionsequences/>

</resources>

<styles>

<styleitem type="background" bgtype="none"/>

</styles>

</skuid__page>

Best Answers

Comments

  • Pat VachonPat Vachon 💎💎💎

    I'd give this a 2 since it shouldn't come up for any longer since I know what the issue is along with the work around.


    Setting the condition to filterable fixes the issue even if it's active?

  • Yes, in my experience you can set the condition to "filterable default on" and this will allow the condition to work even if the field isn't included in the model.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!