Skip to content

sfpegListCmp - Refresh Treegrid after record create or update with standard__objectPage #73

@Ceabhar

Description

@Ceabhar

Describe the bug
Creating a record doesn´t refresh the Treegrid table.

To Reproduce
Steps to reproduce the behavior:

  1. Set an action type "standard__objectPage" on metadata sfpegAction__mdt:
    { "name": "new", "label": "Nuevo", "iconName": "utility:new", "action": { "type": "navigation", "params": { "type": "standard__objectPage", "attributes": { "objectApiName": "ShareHolder__c", "actionName": "new" }, "state": { "defaultFieldValues": "Account__c={{{RCD.Id}}}", "nooverride": "1", "useRecordTypeCheck": "1", "navigationLocation": "RELATED_LIST" }, "next": {"type": "done","params": {"type": "refresh"} } } } }
  2. Create new record
  3. The record is created but not shown on Treegird (until manual Refresh)

Expected behavior
Record is created and visible on Treegrid

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions