Salesforce

REFS/Portal - ADD action in Page Builder pages doesn't work properly

« Go Back

Information

 
TitleREFS/Portal - ADD action in Page Builder pages doesn't work properly
SummaryThis article explain the causes and resolution when page builder is not displaying the data correctly.
URL NameREFS-Portal-ADD-action-in-Page-Builder-pages-doesn-t-work-properly
Resolution

Update .resource file to have a primary key.

For example, here is a test 'job" resource that defines the primary key:

<property name="job_id"     alias="jobId"     pk="true" description="The primary key. This is the primary identifier for the given job."/>

ProductsWarehouse Management
ModulePage Builder
Version9.1 and above
Error Message Code

If there are one or more rows displayed on the page's grid (based on the 'list' action results) and the 'add' button is pressed, the page will attempt to insert every record again, instead of creating the new entry based on the values passed through.

The resolution below can also resolve an issue where the Delete function removes the record when users are trying to delete from the screen, but never calls the webservice to delete. If users refresh the grid, the record that was just “deleted” reappears.

Cause

.resource file did not have a primary key.

Additional Information
Publication StatusPublished

Powered by