You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SDP variable not resetting from action chain

edited Jun 11, 2024 5:37PM in Visual Builder 6 comments

Summary:

My SDP already has data. Now I want to reset the SDP when user clicks next record. In the action chain for click, I have resetted the SDP and then called Refresh fire data provider event. but still the SDP is not resetting. It still shows the old data of previously clicked record.

Content (please ensure you mask any confidential information):

await Actions.resetVariables(context, { variables: [ '$page.variables.pStarPositionCostingCollectionCListSDP', ], });

await Actions.fireDataProviderEvent(context, { target: $page.variables.pStarPositionCostingCollectionCListSDP, refresh: null, });

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!