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

Is it possible to trigger the creation of a booking log file manually without creating a booking?

Solved1.07K views11th October 2022booking Booking Manager log profile load script SRM
2
Michiel Clepkens [SLC] [DevOps Advocate]1.31K 7th October 2022 0 Comments

Hi Dojo

We made a script that will apply a profile instance to a resource without creating a booking. Logging is included in the profile load scripts using the following method:

Skyline.DataMiner.Library.Solutions.SRM.LifecycleServiceOrchestration.ProfileParameterEntryHelper.LogSuccessResult(string dveName, string parameterName, string value){…}

When creating a booking, a (.html) log file will be automatically generated in the Booking Logging Location (can be configured in the visual overview of the Skyline Booking Manager element, Config tab > General tab > History and Logs > Booking Logging Location). But by just launching the profile load script, the log file is not created. Would it be possible to trigger the creation of this log file manually? From the script that will trigger the profile load script for instance?

Thank you in advance!

Kind regards

Michiel Clepkens [SLC] [DevOps Advocate] Selected answer as best 11th October 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Peter Vanpoucke [SLC] [DevOps Advocate]1.01K Posted 10th October 2022 3 Comments

hi Michiel

It’s possible to log the outcome of applying a profile to a resource.
If the Profile Load Script needs to be tested the SRM framework facilitates that. You can find more info about that here: SRM Framework 1.2.21 facilitates Profile-Load Script testing – DataMiner Dojo

In case you’d need to apply a Profile to a resource outside the context of a booking, the framework also provides functionality for that and allows you to log the outcome. So, there’s no need to launch the profile load script directly.
If that’s the case here, could you share more details about your use case?

Best regards

Peter Vanpoucke [SLC] [DevOps Advocate] Edited comment 11th October 2022
Michiel Clepkens [SLC] [DevOps Advocate] commented 11th October 2022

Hi Peter, thank you very much for your reply! It is already possible to launch the profile load scripts using our own “apply profile script”. I would like to know if there is a method available in the SRM framework which will create the log file in the Booking Logging Location. The goal here is to keep using the existing logging method calls in the profile load scripts without adding extra Skyline.DataMiner.Automation.Engine.GenerateInformation() method calls.

To go a bit more in detail, I noticed it’s possible to pass a Skyline.DataMiner.Library.Solutions.SRM.Logging.SrmLogHandler object with the Skyline.DataMiner.Library.Resource.ResourceExtensionMethods.GetOrchestrationHelper() method. To Create the SrmLogHandler object you need to pass a Skyline.DataMiner.Net.ResourceManager.Objects.ReservationInstance object with the SrmLogHandler.Create() method. I tried passing a ReservationInstance object created based on a random Guid but it doesn’t work. I am aware this is not the suggested approach, I’m just trying some things. Would you know if this is possible?
Thank you in advance!

Peter Vanpoucke [SLC] [DevOps Advocate] commented 11th October 2022

Since 1.2.18 (ID_30975) GetOrchestrationHelper also has an overload that takes the Booking Manager as an argument. The helper will then create a log file (format: “Resource_[Resource ID]_[Orchestration time].html”) in the location that’s specified in the Booking Manager.

Michiel Clepkens [SLC] [DevOps Advocate] commented 11th October 2022

Hi Peter, yes that’s exactly what I needed. Thanks a lot!

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