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
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • 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
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Expose ‘send response’ in a low code app

Solved874 views7th July 2023lowcodeapps
5
Ross Elliott [DevOps Advocate]819 15th March 2023 0 Comments

I have a script and have just tried to launch it from a low code app. I don't get the 'send response' options I do when launched from the automation engine. Is there anything I can change in the code to make it work? I'm using CheckBoxList.

Example...

public void Example(Engine engine)
{
UIBuilder UI = new UIBuilder();
UIBlockDefinition checkBoxes = new UIBlockDefinition()
{
Type = UIBlockType.CheckBoxList
};
checkBoxes.AddCheckBoxListOption("1", "Option 1");
checkBoxes.AddCheckBoxListOption("2", "Option 2");

}

The app looks like this where there's no way to send the response whereas the script in Cube offers a 'send response' option.

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

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
8
João Severino [SLC] [DevOps Catalyst]13.23K Posted 16th March 2023 2 Comments

Hi Ross,

I do believe the "Send Response" button you see in Cube could be related to the RequireResponse option that expects an actionable interaction as a result.

Do note that even though you may not be defining that option or even have it set as false in the beginning, once you Append something to the UIBuilder object, that option will be set to true.

An option you could do is to use a Button and with that, you should be able to configure the message you want to display and the logic you want to trigger within your Interactive Automation Script

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 7th July 2023
Ross Elliott [DevOps Advocate] commented 16th March 2023

Hi Joao, I am using the requireResponse option but it’s not coming through onto the low code app. I think a button will be what I have to end up adding but I’d rather not have 2 versions of the script really. Is there a way to force it through to the app? The reason check boxes work for this use case is that I need to be able to select 1 or multiple actions. But yes, adding a button that carries out the exact same functionality as the ‘send response’ action will work. Thanks.

public void BackupRestoreUtility(Engine engine)
{
string logFile = @”C:Skyline DataMinerDocuments###manualIrdLog.txt”;
bool backupOK;
bool restoreOK;
UIBuilder brUI= new UIBuilder();
brUI.AppendLine(“Welcome to the xxx Utility script. Please select an action.”);
UIBlockDefinition checkBoxes = new UIBlockDefinition()
{
Type = UIBlockType.CheckBoxList
};
checkBoxes.AddCheckBoxListOption(“1”, “Backup an xxx”);
checkBoxes.AddCheckBoxListOption(“2”, “Restore an xxx”);
checkBoxes.DestVar = “checkDestVar”;
brUI.AppendBlock(checkBoxes);
brUI.RequireResponse = true;
UIResults checkResult = engine.ShowUI(brUI);
bool backupChecked = checkResult.GetChecked(checkBoxes.DestVar, “1”);
bool restoreChecked = checkResult.GetChecked(checkBoxes.DestVar, “2”);

João Severino [SLC] [DevOps Catalyst] commented 16th March 2023

Hi Ross, you can still use your checkboxes, the new button would work just as a confirmation step.
Your users would select from the options and then click the button you would add to confirm their intentions.

Also, when adding a button to the UIBuilder object it will know it no longer needs to “generate” the default “Send Response” one, so in the end you would only need 1 version of the script as the new button will replace the default one shown in Cube.

You are viewing 1 out of 1 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