Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2019-08-06 04:56 AM
I am using custom object to run a datafeed directly from the form.
For the datafeed report I want to provide a value list field that will uniquely identify the current record. In the code to run the datafeed, I want to first update a valuelist, save the record and then run the datafeed. But as soon as I save the form, further code is not executed and form comes back to the edit state. Hence, data feed is not running.
Looking for some suggestions. Any other solution to achieve the objective will be appreciated.
Thanks!
2019-08-06 05:37 AM
There are plenty of examples in Custom objects page.
2019-08-06 06:04 AM
Hi Arun,
Thanks for the help. These links are helpful but as soon as I am saving the form further code does not get executed. Form comes back to the initial stage. Hence, data feed is not running.
2019-08-06 06:12 AM
Yes, once the save (apply) command is executed, the form reloads and the scope of CO ends when the page is reloaded. You might have to play with calculated fields to accomplish your objective.
2019-08-06 11:33 AM
Devanshi, you have to create a cookie or session storage (Window sessionStorage Property) before you do a save and then have the custom object check for the cookie/session storage and then clear cookie/session storage and perform your data feed call.
Advisory Consultant
2022-12-01 08:12 PM
Hi Devanshi,
I am facing similar issue. Did you get it working? if so, would you mind sharing your input. thanks, Anand
2024-05-13 04:06 AM
Hi, David,
Is there a code available that I can use for this issue?
Thank you