I’m trying to develop a custom extension, but I’m facing an issue.
I’ve defined a button associated with action “Open Custom Extension” that points to my custom extension.
However in both case, I’m unable to retrieve the recordId of the line of the clicked button:
When extension panel is closed
When extension panel is opened
I’m trying to retrieve the “selectedRecordIds” but upon a button click, it remains empty…
Is it possible to retrieve this?
Is it possible for the custom extension, that the source event is a click on a button?
If I understand the documentation well, it’s not possible to test the button in development mode but only when the app is released.
To test the useRecordActionData hook in a development mode, the Perform record action within the Advanced panel.
So the button actually fires no trigger in development mode, is that correct?
Thanks,
Raphael
Correct. I usually create a formula field in the table that generates the record action data so that I can copy/paste the value into the Advanced panel for testing.
If I understand the documentation well, it’s not possible to test the button in development mode but only when the app is released.
To test the useRecordActionData hook in a development mode, the Perform record action within the Advanced panel.
So the button actually fires no trigger in development mode, is that correct?
If I understand the documentation well, it’s not possible to test the button in development mode but only when the app is released.
To test the useRecordActionData hook in a development mode, the Perform record action within the Advanced panel.
So the button actually fires no trigger in development mode, is that correct?
Thanks,
Raphael
Correct. I usually create a formula field in the table that generates the record action data so that I can copy/paste the value into the Advanced panel for testing.