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 – Default option for multiple section

Solved1.02K views7th July 2023DOM sections
3
Gerwin van der Kamp [DevOps Enabler]2.91K 7th March 2023 0 Comments

Hi,

I’ve got an DOM object that can have multiple “services” sections. Is there a way to have by default one option added and selected? (which also can be deleted, but in 98% of the cases we want to add this specific service)

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th July 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Thomas Ghysbrecht [SLC] [DevOps Enabler]4.84K Posted 7th March 2023 7 Comments

Hi Gerwin,

On any FieldDescriptor, you can define a default value. (Last property in the table here) You could assign the value for that specific service there. This way, when you create a DomInstance in a form of a low-code app, it will already assign it as the value.

Does this answer your question?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th July 2023
Gerwin van der Kamp [DevOps Enabler] commented 7th March 2023

Unfortunately not, i have the multiple on the section itself (it consist on a DOM instnace link, start and end datetime etc)

so yes most fields can have an default, exept the section itself (and not if it’s linked to another DOM instance)

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 7th March 2023

We can probably leverage the OnDomInstanceCrud automation script entry point to create an initial section (https://docs.dataminer.services/user-guide/Advanced_Modules/DOM/DOM_ModuleSettings/ExecuteScriptOnDomInstanceActionSettings.html?q=OnDomInstanceCrud)?

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 7th March 2023

You could use the CrudType to immediately return if it’s not equal to ‘Create’.

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 7th March 2023

Oh, ok, I misunderstood. I do not fully understand what you mean by a default section. Are you creating your DomInstances in a low-code app form or a script?
When using the form, an initial section should be shown where the aforementioned default values should be filled in.
Could you explain your use-case in a bit more detail?

Gerwin van der Kamp [DevOps Enabler] commented 7th March 2023

Sure we’ve got an DOM which is an Job entry form from our booking guys for our operational team, however sometimes there are services that are added to a job for our invoice department, there is one that is almost always added (unless otherwise noted) so i when i create a new instance with an lowcode app i would like to have an auto select on the first service name, which is an other dom instance list since we want to be able to give the bookings an easy way to add services)

Show 2 more comments
1
Gerwin van der Kamp [DevOps Enabler]2.91K Posted 7th March 2023 2 Comments

sure

it’s the services section. Where there is now Service Type (which is DomInstancefieldDescriptor, so i can’t select and default one) i would like to have an default option.

Gerwin van der Kamp [DevOps Enabler] Posted new comment 8th March 2023
Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 7th March 2023

Thanks for the screenshot. This clears things up a lot for me.

If the ‘Service Type’ DomInstance you want to be selected as default is always the exact same DomInstance, it should be possible to use that ID as the default value just like I suggested in my initial comment. I just tried this myself, and it seems to work fine on 10.3.3. (When adding an extra section, it currently does not assign the default value which may or may not be what you are looking for)

If, however, that ID is not always the same, I’m afraid that there is nothing built in at the moment that would fill it in for you depending on some specified condition. You could make this work with the OnDomCrud script that Sebastiaan referenced, but this would require you to save the new DomInstance first so the script is run, and then continue defining the services. You could make this more user-friendly by introducing states & transitions, but it won’t be as simple as just a create form.

Gerwin van der Kamp [DevOps Enabler] commented 8th March 2023

Right, i think it’s an issue then with the way i create DOM instance, we’ve had a script got deployed called DOM Editor that doesn’t support this functionality. Or it might be an version issue. We currently run 10.2.12

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