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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • 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
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

DOM actions script options

Solved438 views29th August 2024DOM Actions
2
Benjamin Hodžić [SLC] [DevOps Advocate]1.12K 28th August 2024 0 Comments

Hello,

The DOM documentation states that ScriptOptions property of the ExecuteScriptDomActionDefinition can be used to pass properties.

My question is: how to set these properties when executing DOM actions? I don’t see any options to do that by using helper.DomInstance.ExecuteAction…

What should be entered in the DOM editor’s Script Options for the matching parameter?

Benjamin Hodžić [SLC] [DevOps Advocate] Selected answer as best 29th August 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Jens Vandewalle [SLC] [DevOps Enabler]9.44K Posted 28th August 2024 3 Comments

Hi Benjamin,

Below an example for setting a script input parameter.

PARAMETERBYNAME:<script parameter name>:<value>
PARAMETERBYNAME:Action:Mark complete

In the documentation you can find an example how it is used for Adding a button.

Thomas Ghysbrecht [SLC] [DevOps Enabler] Posted new comment 2nd September 2024
Benjamin Hodžić [SLC] [DevOps Advocate] commented 28th August 2024

Thanks Jens.
I’m triggering the action through another script. Is it possible to somehow add the input script parameter when calling a DOM action with the DomHelper instance, instead of using the button?

Jens Vandewalle [SLC] [DevOps Enabler] commented 28th August 2024

Hi Benjamin,
DomHelper.DomInstances has method ExecuteAction(DomInstanceId domInstanceId, string actionId) that you can use for this.

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 2nd September 2024

@Benjamin To make it possibly a little more clear. It is not possible to dynamically pass along the script options when calling the DOM action. You need to define the script options on the DOM action configuration in your DomBehaviorDefinition (the script option text boxes in the DOM editor app), and then the script will be triggered using these options when a trigger is sent using either a button in a low-code app or the ‘ExecuteAction’ method that Jens shared.

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
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