Disappearing Row Issue

  • 1
  • Problem
  • Updated 6 months ago
  • In Progress
Hi Team,

We are using skuid page to display the record detail, I am facing below Unexpected issue : - 

1. Using standard save button, On click, Sometimes not everytime, those row disappear to display, after again attempt It works.

2. It is not happening every time, It happens sometime unexpectedly .

FYI - We are not using custom button, Only standard action done using standard button to save the record.

Can you please help us ?

Thanks
Photo of Rajat Maheshwari

Rajat Maheshwari

  • 420 Points 250 badge 2x thumb

Posted 7 months ago

  • 1
Photo of Luzie Baumgart

Luzie Baumgart, Official Rep

  • 1,310 Points 1k badge 2x thumb
Hello Rajat,
Are you able to reproduce this on a new page which contains only the necessary components, standard salesforce objects and fields? If yes, you could share the XML here, then I can check the page. Which Skuid version are you using?
(Edited)
Photo of Rajat Maheshwari

Rajat Maheshwari

  • 420 Points 250 badge 2x thumb
Hi Luzie,

Version of skuid : 10.0.6

Below are the xml for page.

<skuidpage unsavedchangeswarning="yes" showsidebar="true" showheader="true" personalizationmode="server">
    <models>
        <model id="Time" limit="200" query="true" createrowifnonefound="false" sobject="Transaction__c" doclone="" type="" orderby="Matter__c" datasource="salesforce">
            <fields>
                <field id="Date__c"/>
                <field id="CreatedById"/>
                <field id="CreatedBy.Name"/>
                <field id="Client__c"/>
                <field id="Description__c"/>
                <field id="Employee__c"/>
                <field id="Employee__r.Name"/>
                <field id="Hours__c"/>
                <field id="LastModifiedDate"/>
                <field id="LastModifiedById"/>
                <field id="LastModifiedBy.Name"/>
                <field id="Matter__c"/>
                <field id="Matter__r.Name"/>
                <field id="Rate_Unit_Value__c"/>
                <field id="RecordTypeId"/>
                <field id="RecordType.Name"/>
                <field id="Status__c"/>
                <field id="Type__c"/>
                <field id="Total__c"/>
                <field id="Name"/>
                <field id="You_are_sure_you_want_to_proceed__c"/>
                <field id="Alias__c"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="012j0000000lq8H" enclosevalueinquotes="true" field="RecordTypeId"/>
                <condition type="fieldvalue" value="TODAY" enclosevalueinquotes="false" field="Date__c" state="filterableon" inactive="false" name="Date__c_Is_Today"/>
                <condition type="fieldvalue" value="Unposted" enclosevalueinquotes="true" field="Status__c"/>
                <condition type="modelmerge" value="" field="Employee__c" operator="=" userinfotype="userid" state="filterableon" inactive="false" name="Employee__c" model="RunningUser" enclosevalueinquotes="true" mergefield="Id" novaluebehavior="deactivate"/>
            </conditions>
            <actions/>
        </model>
        <model id="RunningUser" limit="1" query="true" createrowifnonefound="false" sobject="User" doclone="" type="" orderby="id" datasource="salesforce">
            <fields>
                <field id="Id"/>
                <field id="Name"/>
                <field id="Type__c"/>
            </fields>
            <conditions>
                <condition type="userinfo" value="" field="Id" operator="=" enclosevalueinquotes="true" userinfotype="userid"/>
            </conditions>
            <actions/>
        </model>
        <model id="AllTime" limit="" query="true" createrowifnonefound="false" sobject="Transaction__c" doclone="" type="" orderby="Date__c DESC" datasource="salesforce">
            <fields>
                <field id="Alias__c"/>
                <field id="CreatedDate"/>
                <field id="Date__c"/>
                <field id="Hours__c"/>
                <field id="Status__c"/>
                <field id="Matter__c"/>
                <field id="Matter__r.Name"/>
                <field id="Description__c"/>
                <field id="CreatedById"/>
                <field id="CreatedBy.Name"/>
                <field id="Type__c"/>
                <field id="You_are_sure_you_want_to_proceed__c"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="012j0000000lq8H" enclosevalueinquotes="true" field="RecordTypeId"/>
                
                <condition type="userinfo" value="" field="Employee__c" fieldtargetobjects="User" operator="=" enclosevalueinquotes="true" userinfotype="userid"/>
<condition type="fieldvalue" value="LAST_N_DAYS:30" enclosevalueinquotes="false" field="Date__c" state=""/>
            </conditions>
            <actions/>
        </model>
        <model id="Time1" limit="200" query="true" createrowifnonefound="false" sobject="Transaction__c" doclone="" type="" orderby="Matter__c" datasource="salesforce">
            <fields>
                <field id="Date__c"/>
                <field id="CreatedById"/>
                <field id="CreatedBy.Name"/>
                <field id="Client__c"/>
                <field id="Description__c"/>
                <field id="Employee__c"/>
                <field id="Employee__r.Name"/>
                <field id="Hours__c"/>
                <field id="LastModifiedDate"/>
                <field id="LastModifiedById"/>
                <field id="LastModifiedBy.Name"/>
                <field id="Matter__c"/>
                <field id="Matter__r.Name"/>
                <field id="Rate_Unit_Value__c"/>
                <field id="RecordTypeId"/>
                <field id="RecordType.Name"/>
                <field id="Status__c"/>
                <field id="Type__c"/>
                <field id="Total__c"/>
                <field id="Name"/>
                <field id="You_are_sure_you_want_to_proceed__c"/>
                <field id="Alias__c"/>
            </fields>
            <conditions>
                <condition type="fieldvalue" value="Unposted" enclosevalueinquotes="true" field="Status__c"/>
                <condition type="fieldvalue" value="012j0000000lq8H" enclosevalueinquotes="true" field="RecordTypeId" fieldtargetobjects="RecordType"/>
            </conditions>
            <actions/>
        </model>
    </models>
    <components>
        <pagetitle model="Time" uniqueid="sk-2QQPIv-74">
            <maintitle>Post Time</maintitle>
            <actions>
                <action type="redirect" label="Unposted Time Report" window="self" url="/00Oj0000004d7vV" icon="ui-silk-report" uniqueid="sk-2QQPIv-73"/>
            <action type="multi" label="Log Save" uniqueid="sk-2FEtwf-245">
<actions>
    <action type="save" rollbackonanyerror="true">
        <models>
            <model>Time</model>
        </models>
        <onerroractions>
            <action type="blockUI" message="There was an error" timeout="3000"/>
        </onerroractions>
    </action>
    <action type="custom" snippet="newSnippet"/>
</actions>
<renderconditions logictype="and">
    <rendercondition type="fieldvalue" enclosevalueinquotes="false" fieldmodel="Time" sourcetype="rowproperty" sourceproperty="hasChanged" value="true" operator="="/>
</renderconditions>
<enableconditions logictype="or"/>
<hotkeys/>
</action>
</actions>
        </pagetitle>
        <skootable showconditions="true" showsavecancel="true" searchmethod="server" searchbox="true" showexportbuttons="true" pagesize="10" createrecords="true" model="Time" buttonposition="" mode="read" emptysearchbehavior="query" uniqueid="sk-2QQPJT-102">
            <fields>
                <field id="Matter__c" valuehalign="" type="" readonly="false" allowordering="true" optionsource="" columnwidth="100" uniqueid="sk-2QQPJ4-78">
                    <searchfields>
                        <searchfield query="true" return="true" show="true" field="Name" operator="contains"/>
                        <searchfield query="true" return="true" show="true" field="Owner.Alias" operator="contains"/>
                        <searchfield query="true" return="true" show="true" field="Type__c" operator="contains"/>
                        <searchfield query="true" return="true" show="true" field="Client_Name__c" operator="contains"/>
                    </searchfields>
                    <filters>
                        <filter type="fieldvalue" operator="=" enclosevalueinquotes="true" field="Status__c" value="Active"/>
                    </filters>
                </field>
                <field id="Date__c" valuehalign="" type="" required="true" allowordering="true" columnwidth="100" uniqueid="sk-2QQPJ6-80"/>
                <field id="Employee__c" valuehalign="" type="" required="true" optionsource="" allowordering="true" columnwidth="100" uniqueid="sk-2QQPJ7-82">
                    <searchfields>
                        <searchfield query="true" return="true" show="true" field="First_Name__c" operator="contains"/>
                        <searchfield query="true" return="true" show="true" field="Last_Name__c" operator="contains"/>
                        <searchfield query="true" return="true" show="true" field="Type__c" operator="contains"/>
                        <searchfield query="true" return="true" show="true" field="Office__c" operator="contains"/>
                    </searchfields>
                </field>
                <field id="Hours__c" decimalplaces="" valuehalign="" type="" required="true" allowordering="true" columnwidth="50" uniqueid="sk-2QQPJ8-84">
                    <summaries>
                        <summary>sum</summary>
                    </summaries>
                </field>
                <field id="Type__c" valuehalign="" type="" required="true" addnoneoption="false" allowordering="true" uniqueid="sk-2QQPJ9-86"/>
                <field id="Description__c" valuehalign="" type="" required="true" allowordering="true" columnwidth="400" uniqueid="sk-2QQPJA-88"/>
                <field id="Status__c" valuehalign="" type="" readonly="false" required="true" addnoneoption="true" allowordering="true" uniqueid="sk-2QQPJB-90"/>
                <field id="You_are_sure_you_want_to_proceed__c" type="" valuehalign="" allowordering="true" uniqueid="sk-2QQPJC-92">
                    <label>Proceed?</label>
                </field>
                <field id="CreatedById" valuehalign="" type="" readonly="true" allowordering="true" uniqueid="sk-2QQPJD-94">
                    <label>Created By</label>
                </field>
            </fields>
            <rowactions>
                <action type="edit">
<renderconditions logictype="and"/>
</action>
                <action type="delete"/>
            </rowactions>
            <massactions usefirstitemasdefault="true">
                <action type="multi" label="Post Time" icon="ui-silk-clock">
                    <actions>
                        <action type="updateRow" fieldmodel="Time" field="Status__c" enclosevalueinquotes="true" value="Posted" affectedrows="context"/>
                        <action type="save" rollbackonanyerror="true">
                            <models>
                                <model>Time</model>
                            </models>
                        </action>
                        <action type="requeryModel" model="Time" behavior="standard">
                            <onerroractions>
                                <action type="blockUI" message="There was an error. Please refresh and try again." timeout="3000"/>
                            </onerroractions>
                        </action>
                    </actions>
                </action>
            </massactions>
            <views>
                <view type="standard"/>
            </views>
            <filters>
                <filter type="select" filteroffoptionlabel="Today" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="manual" labelmode="no">
                    <sources>
                        <source type="manual" effectsbehavior="justdefault">
                            <options>
                                <option label="All Dates" type="complex">
                                    <effects>
                                        <effect action="deactivate" value="" condition="Date__c_Is_Today"/>
                                    </effects>
                                </option>
                            </options>
                        </source>
                    </sources>
                </filter>
                <filter type="select" filteroffoptionlabel="Me" createfilteroffoption="true" affectcookies="true" autocompthreshold="25" conditionsource="manual" labelmode="no">
                    <sources>
                        <source type="manual" effectsbehavior="justdefault">
                            <options>
                                <option label="All Employees" type="complex">
                                    <effects>
                                        <effect action="deactivate" value="" condition="Employee__c"/>
                                    </effects>
                                </option>
                            </options>
                        </source>
                    </sources>
                </filter>
            </filters>
            <searchfields usesosl="false" soslfields="Name Fields">
                <searchfield return="false" field="Matter__r.Name" operator="contains"/>
                <searchfield return="false" field="Employee__r.Name" operator="contains"/>
            </searchfields>
            <exportproperties usetablecolumns="true"/>
        <renderconditions logictype="and"/>
</skootable>
        <skuidvis__chart model="AllTime" maintitle="Time Chart" type="column" subtitle="Last 30 Days | Billed, Posted &amp; Unposted" stacking="true" uniqueid="sk-2QQPJZ-104">
            <dataaxes>
                <axis id="axis1" title="Hours"/>
            </dataaxes>
            <categoryaxes>
                <axis id="categories" categorytype="field" field="Date__c" title="Date" fillvals="true" dategranularity="day">
                    <allowedgranularities>
                        <type>calweek</type>
                        <type>calmonth</type>
                    </allowedgranularities>
                </axis>
            </categoryaxes>
            <serieslist>
                <series valuefield="Hours__c" splittype="field" modelId="AllTime" categoryField="Date__c" aggfunction="sum" splitfield="Status__c"/>
            </serieslist>
            <colors>
                <value>#ffe082</value>
                <value>#d81b60</value>
                <value>#91a7ff</value>
                <value>#e51c23</value>
                <value>#ffb74d</value>
                <value>#7b1fa2</value>
                <value>#4527a0</value>
                <value>#9fa8da</value>
                <value>#ff7043</value>
                <value>#29b6f6</value>
                <value>#00bcd4</value>
                <value>#00897b</value>
                <value>#0a7e07</value>
                <value>#558b2f</value>
            </colors>
            <legend layout="vertical" halign="right" valign="middle"/>
            <allowedtypes>
                <type>areaspline</type>
                <type>bar</type>
            </allowedtypes>
            <renderconditions logictype="and">
                <rendercondition type="multiple" operator="in" fieldmodel="RunningUser" sourcetype="fieldvalue" nosourcerowbehavior="deactivate" field="Type__c" value="" enclosevalueinquotes="true">
                    <values>
                        <value>Attorney</value>
                        <value>Paralegal</value>
                    </values>
                </rendercondition>
            </renderconditions>
        </skuidvis__chart>
        <skootable showconditions="true" showsavecancel="false" searchmethod="server" searchbox="true" showexportbuttons="true" pagesize="10" createrecords="false" model="AllTime" buttonposition="" mode="readonly" uniqueid="sk-2QQPJz-125">
            <fields>
                <field id="Matter__c" valuehalign="" type="" allowordering="true" uniqueid="sk-2QQPJg-108"/>
                <field id="Date__c" valuehalign="" type="" allowordering="true" uniqueid="sk-2QQPJj-110"/>
                <field id="Hours__c" decimalplaces="" valuehalign="" type="" allowordering="true" uniqueid="sk-2QQPJl-114"/>
                <field id="Type__c" valuehalign="" type="" allowordering="true" uniqueid="sk-2QQPJn-116"/>
                <field id="Description__c" valuehalign="" type="" allowordering="true" uniqueid="sk-2QQPJp-118"/>
                <field id="Status__c" valuehalign="" type="" allowordering="true" uniqueid="sk-2QQPJq-120"/>
                <field id="CreatedById" valuehalign="" type="" allowordering="true" uniqueid="sk-2QQPJs-122">
                    <label>Created By</label>
                </field>
            </fields>
            <rowactions/>
            <massactions usefirstitemasdefault="true"/>
            <views>
                <view type="standard"/>
            </views>
            <exportproperties usetablecolumns="true"/>
        <searchfields/>
<renderconditions logictype="and"/>
</skootable>
        <pagetitle model="Time1" uniqueid="sk-2HvgY-292">
            <actions/>
            <maintitle>Post Time(Test)</maintitle>
        </pagetitle>
        <skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" alwaysresetpagination="false" createrecords="true" model="Time1" buttonposition="" mode="read" allowcolumnreordering="true" responsive="true" uniqueid="sk-2HNqM-169" emptysearchbehavior="query">
            <fields>
                <field id="Matter__c" hideable="true" uniqueid="fi-2Hh8h-185" valuehalign="" type=""/>
                <field id="Date__c" hideable="true" uniqueid="fi-2Hh8h-186" valuehalign="" type="" allowordering="true" required="true">
                    <renderconditions logictype="and" onhidedatabehavior="keep"/>
                    <enableconditions/>
                </field>
                <field id="Employee__c" hideable="true" uniqueid="fi-2PeOf-464" valuehalign="" type="" required="true"/>
                <field id="Hours__c" hideable="true" uniqueid="fi-2Hh8h-188" decimalplaces="" valuehalign="" type="" required="true"/>
                <field id="Type__c" hideable="true" uniqueid="fi-2Hh8i-189" valuehalign="" type="" required="true"/>
                <field id="Description__c" hideable="true" uniqueid="fi-2Hh8i-190" valuehalign="" type="" required="true"/>
                <field id="Status__c" hideable="true" uniqueid="fi-2Hh8i-191" valuehalign="" type="" required="true"/>
                <field id="You_are_sure_you_want_to_proceed__c" hideable="true" uniqueid="fi-2Puwn-568" type="" valuehalign="">
                    <label>Proceed?</label>
                </field>
                <field id="CreatedById" hideable="true" uniqueid="fi-2Hh8i-192"/>
            </fields>
            <rowactions>
                <action type="edit"/>
                <action type="delete"/>
            </rowactions>
            <massactions usefirstitemasdefault="true">
                <action type="multi" label="Post Time">
                    <actions>
                        <action type="updateRow" fieldmodel="Time" affectedrows="context" field="Status__c" enclosevalueinquotes="true" value="Posted"/>
                        <action type="save">
                            <models>
                                <model>Time</model>
                            </models>
                        </action>
                        <action type="requeryModel" model="Time" behavior="standard">
                            <onerroractions>
                                <action type="blockUI" message="There was an error" timeout="3000"/>
                            </onerroractions>
                        </action>
                    </actions>
                </action>
                <action type="massdelete"/>
            </massactions>
            <views>
                <view type="standard"/>
            </views>
            <searchfields/>
            <renderconditions logictype="and"/>
        </skootable>
    </components>
    <resources>
        <labels/>
        <javascript>
            <jsitem location="inlinesnippet" name="newSnippet" cachelocation="false">var params = arguments[0];
  var $ = skuid.$;
 window.alert(params);

 
 
 </jsitem>
        </javascript>
        <css/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>
Photo of Luzie Baumgart

Luzie Baumgart, Official Rep

  • 1,310 Points 1k badge 2x thumb
Thank you. Unfortunately, this page contains custom objects (Transaction__c) so I can't try to reproduce the issue. Does the same issue happen on a page where you use only standard objects e.g. a table with a model connected to Account, Opportunity, or User?
Photo of Rajat Maheshwari

Rajat Maheshwari

  • 420 Points 250 badge 2x thumb
Hi Luzie,

We didn't try for standard object as, we need to perform for custom object (transaction__c)

Thanks
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Do you have any Workflow, Process Builder, etc running on the records. Are there conditions on the model that could exclude it? Are there any model actions?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
I'll be available @ 2pm or 9:30pm EST. Lemeno
Photo of Rajat Maheshwari

Rajat Maheshwari

  • 420 Points 250 badge 2x thumb
Hi Vachon.

Sorry for late response, Yes we can connect at @2pm EST as our customer now face the same issue once in 3 days.

We need to resolve asap. It would better when i will share my screen with you, so that you can suggest me to solve the issue.

Thanks
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Sure. 2pm today.
Photo of Rajat Maheshwari

Rajat Maheshwari

  • 420 Points 250 badge 2x thumb
Hi Vachon,

My bad :( I missed your message. Sorry for the same..

Shall I join with same meeting invite at 2pm today ?

Thanks
Photo of Aishwarya

Aishwarya

  • 290 Points 250 badge 2x thumb
Is there any condition on Your Model?
what is the Default Mode of the Table? Can you try to change it to Read with inline editing OR Edit.
Is there any Action on this Model after saving an record? Like Query Model.
Photo of Rajat Maheshwari

Rajat Maheshwari

  • 420 Points 250 badge 2x thumb
Hi Aishwarya,

Yes, we are putting conditions on our model on the basis of below fields : - 

a. RecordTypeId (field)
b. Date (Field)
c. Status (Field)
d. Employee (Field)

what is the Default Mode of the Table?
Read with Inline Editing

Is there any Action on this Model after saving an record? Like Query Model.

We are using standard save button, so there is no any action on save the record.

Thanks