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

How to assign an alias to the resources in services created by SRM?

Solved1.10K views19th January 2024SRM SRM Booking Manager
3
Razvan Mielcioiu [DevOps Member]340 27th October 2023 0 Comments

Hi,

How can I assign an alias to the resources added to the service created by an SRM booking? I'm creating these bookings via an automation script.

My question is similar to the one here: https://community.dataminer.services/question/how-to-assign-an-alias-to-the-resources-in-services-created-by-srm/?hilite=Alias except that in my case, I already have the 'use node label as element alias' option set on the general page in the booking manager, and I also use this in code:

bookingManager.UseNodeLabelAsElementAlias = true;
engine.Sleep(1000);

The service at pre-roll ends up with devices but without aliases set. If you have any hints with what I can do to troubleshoot this further it would be really great!

images:

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th January 2024

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Thomas Warnez [SLC] [DevOps Advocate]629 Posted 30th October 2023 3 Comments

Hi Razvan,

Would it be possible to show me the node info inside the service definition ( only label and profile with the toggle button is necessary)?

Do you have the toggle button set to "by value" or "by reference"?

Razvan Mielcioiu [DevOps Member] Edited comment 30th October 2023
Razvan Mielcioiu [DevOps Member] commented 30th October 2023

In the service definition, the option ‘By Reference’ is displayed. When I create the functions that I pass later to the Booking object, I use function.ByReference = false;

Thomas Warnez [SLC] [DevOps Advocate] commented 30th October 2023

Would it be possible to change that to “By Value” and make sure the label is set to the correct value.

Razvan Mielcioiu [DevOps Member] commented 30th October 2023

in code I can see that the ‘By Reference’ option is related to how the parameters are set (see pic added in initial description), so I’m not sure this has anything to do with Aliases.
Also if I change the option in the service definition, all my old bookings will go into quarantine, so probably I don’t want that.

You are viewing 1 out of 3 answers, click here to view all answers.
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

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