Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Low-code app table multi selection

Solved981 views22nd May 2024
3
Harald Schwarz [DevOps Advocate]215 12th April 2024 0 Comments

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?

Harald Schwarz [DevOps Advocate] Selected answer as best 22nd May 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Wout Mahieu [SLC] [DevOps Catalyst]7.47K Posted 15th April 2024 3 Comments

Hi Harald,

Deleting DOM instances using the built-in 'Delete instance' action is currently only possible on the instance in a form component. The table cannot execute these actions, even when it contains DOM instances. However, it is indeed possible to create a script that takes in the IDs of the selected DOM instances in a table and then delete these instances. Using a 'Fetch the data' action as a post action after the script execution, you can update the table to keep it up to date.

Example how to access selected items in your script:

  • Add a parameter to the automation script
  • Feed the selected items in the table to the script action. You can use the 'query rows' or 'DOM instance' feed of the table for this. Note that you need to first select a row in the table to make the feed available. (In this example my ID is in the 'Tower ID' column)
  • The IDs can now be accessed from the script. Note that script parameters coming from a LCA will always be contained in a JSON array. You can deserialize the JSON array and get the ids from there.

References: DOM nuget, Script parameters, Script actions in LCA

Harald Schwarz [DevOps Advocate] Selected answer as best 22nd May 2024
Harald Schwarz [DevOps Advocate] commented 15th April 2024

Hi Wout,
ok, I will do it by script. Can you provide a C# code example how to access a Low code app table for getting selected items.

Wout Mahieu [SLC] [DevOps Catalyst] commented 15th April 2024

I have updated my answer with an example how to get the IDs of the selected rows in the script

Harald Schwarz [DevOps Advocate] commented 16th April 2024

Hi Wout,
thanks for hint with documentation on Low code app launching script and feed table selection into parameter. All script parameters are set but I can’t start the script. The dark green Execute button is not active (light grayed out). I can close script dialog only.

0
Harald Schwarz [DevOps Advocate]215 Posted 16th April 2024 8 Comments

Hi Wout,
here are images:

Harald Schwarz [DevOps Advocate] Posted new comment 22nd May 2024
Wout Mahieu [SLC] [DevOps Catalyst] commented 16th April 2024

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?

Harald Schwarz [DevOps Advocate] commented 16th April 2024

I’ve changed memory files to persistent and now it works.

Harald Schwarz [DevOps Advocate] commented 16th April 2024

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.

Wout Mahieu [SLC] [DevOps Catalyst] commented 23rd April 2024

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?

Harald Schwarz [DevOps Advocate] commented 23rd April 2024

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)

Show 3 more comments
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin