I have a low-code app with table representation of DOM instances.
How can I do bulk delete instances with selected table items?
Only by launching a script?
I’ve changed memory files to persistent and now it works.
Hi Wout,
script launches but for the table feed “Object Manager Instances” the value is a GUID instead of a JSON string: Clu^Networks^Network:
DELETE Condition: ID CONTAINS [“2d6ec334-7144-477b-8490-20b3fd7cbd95”] (Script ‘MyDomExecuter’).
For table feed “Query rows” the script parameter is empty and after script launch I’m asked for a value. In both cases there are selected table items.
Hi Harald,
Sorry for the late reply, there is no notification for comments on someone else’s answer. Since you need multiple selected rows to feed their data to the script, you will have to use the ‘query rows’ feed instead of the ‘DOM instances’ feed. This was an issue we have recently fixed, available from DataMiner 10.3.0[CU15], 10.4.0 [CU3] & 10.4.6. Does changing the feed type fix your problems?
Hi Wout, no problem.
as I said before, in case of feed type “Query rows” on launch of script by button press I’m asked for setting the script parameter, because it’s empty. We have DataMiner (10.4.4.0-14113)
If all parameters are filled in, the ‘Execute now’ button should be enabled. I tested a few configurations and noticed that Volatile memory files cannot be filled in in LCA, so the button will never enable. Could this be the issue you are having?