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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
  • Downloads
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • >> Go to dataminer.services

Interactive Automation Toolkit – How to show informative loading screen

Solved1.68K views29th March 2023automation scipt interactive automation script
13
Mieke Dryepondt [SLC] [DevOps Advocate]3.69K 28th March 2023 0 Comments

I would like to show a not interactive screen to inform the user of loading data before the actual interactive screen is shown.

Currently I am using the engine.ShowProress method before creating + showing the actual interactive dialog. Although it works fine for the purpose, it is not possible to give the loading screen a proper title. It will show the automation script name.

How can I show a default screen with a nice "loading" title without blocking any of the code ( = not waiting for any user input)

Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 29th March 2023

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Mieke Dryepondt [SLC] [DevOps Advocate]3.69K Posted 29th March 2023 0 Comments

I got it to work by using this:

  • Create custom dialog containing 1 Label
  • Showing this dialog before running the controller
  • Have the controller run the interactive dialog iso the Loading dialog.

The dialog:

public class DialogLoading : Dialog
{
public DialogLoading(IEngine engine) : base(engine)
{
Title = "Info";
LoadingText = new Label();
AddWidget(LoadingText, 0, 0);
}

public Label LoadingText { get; set; }
}

Showing the loading screen:

internal void ShowLoadingScreen(string screenText)
{
var dialog = new DialogLoading(BaseEngine) { Title = "Loading" };
dialog.LoadingText.Text = screenText;
dialog.Show(false);
}

Showing an interactive screen after loading is done:

private void MyMethod()
{
userInfoMsg.AppendLine("Hang on, we are retrieving Categorization data...");
ShowLoadingScreen(userInfoMsg.ToString());
// Do other things and show progress...
// ...
ScreenController = new InteractiveController(BaseEngine);
var dialog = new DialogCategorizeTicket(BaseEngine)
{
Title = "Categorize Ticket ",
};
ScreenController.Run(dialog);
}

Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 29th March 2023
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