Posted: 1 Jun 2018 11:17 EDT Last activity: 29 Apr 2019 21:41 EDT
Unable to delete Data types' records
I created a Data Type according to my needs. This Data Type has 2 keys (one ID and one Text), and several other values.
Willing to be able to delete entries easily, I saved as the section DataTableRecordEditor under my Data class.
I added an Icon with events on click: Running the activity pzDeleteRecord, then "Delete Item".
Using this,I see the records being deleted on click but after a refresh, the records come back, as if the changes were not taken into account.
Trying to add an action onclick "Post Value" didn't change the outcome.
Any recommandation on how to make this work?
The process works for other data types (mostly having only one key) but not for my current one.
Thanks in advance.
Do the run activity action followed by a refresh this section action and remove the delete item action. I had similar issue and this worked for me. Also, for context I was sourcing the table using the DataTableEditorReport report definition for the class of the data type and unchecked the "specify virtual" and "specify custom results" checkboxes when specifying this source.