Global Action Create new rows doesnot referesh the page on save on skuid v2

edited March 5, 2020 in Questions
We have created a skuid page to perform some of the global actions and 'Create new rows' is one of them. It is found that the Global Action to create new rows saves and creates records in the back end but it does not load newly created record on the page unless the page is refreshed manually. 

This page used to work nicely earlier before upgrading to Spark(12.2.14). But once after skuid upgrade on org the page seems to be having minor issues such as.

i) The page doesnot refresh unless it is manually refreshed after creating new row or sometimes the record shows with the same Account Name as the previously created record.
ii) The skuid page stops functioning after few clicks. None of the buttons or functions work after that.

To replicate the issue I have created a simple skuid page to create new Account records on Global Action 'Create new row', here is the xml:

<skuid__page unsavedchangeswarning="yes" personalizationmode="server" showsidebar="false" showheader="false">
<models>
<model id="Account" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" sobject="Account">
<fields>
<field id="RecordTypeId"/>
<field id="Id"/>
<field id="Name"/>
</fields>
<conditions>
<condition type="fieldvalue" value="0059000000346VU" enclosevalueinquotes="true" field="CreatedById" fieldtargetobjects="User"/>
<condition type="fieldvalue" value="TODAY" enclosevalueinquotes="false" field="CreatedDate"/>
</conditions>
<actions/>
</model>
</models>
<components>
<skuid__table model="Account" uniqueid="sk-2eEQ-28420" mode="read">
<fields>
<field id="Name" uniqueid="fi-2eeF-3813"/>
<field id="RecordTypeId" uniqueid="fi-2eeF-3814"/>
</fields>
<filtering enableSearch="false" instantSearch="false"/>
<rowActions/>
<massActions/>
<actions>
<action type="multi" label="Create New Account">
<actions>
<action type="createRow" model="Account" 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>


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!