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
    • 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
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Visio Button: String with space

Solved708 views28th August 2025visio automation
1
edward.smith@fox.com Smith200 14th February 2025 2 Comments

I'm trying to pass a table index that has a space in it to an automation script to populate a variable.  Here is an example...

Script:webclick||dmaID=222741;elementID=15;parameterNumber=406;tableIndex=Contol 32;parameterValue=1|||NoConfirmation,CloseWhenFinished,NoSetCheck

In the above - Control 32 - is the problem.  I've tried to add double and single quotes around it but when I save they seem to get dropped leaving the above string that doesn't work.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 28th August 2025
Marieke Goethals [SLC] [DevOps Catalyst] commented 26th June 2025

Hi,
I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon)?

Marieke Goethals [SLC] [DevOps Catalyst] commented 28th August 2025

As this question has now been inactive for a very long time, I will close it. If you still want more information about this, could you post a new question?

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Miguel Obregon [SLC] [DevOps Catalyst]20.54K Posted 14th February 2025 0 Comments

Hi Edward,

I tried to reproduce the issue that you reported but without success. Below the description of the small test performed:

Element:

For this test I will change the value of 'Column Parameter B3' from 61 to 25. Notice that the index of the table is 'Contol 32' (similar as your use case)

Overview:

Below you can find the content of the data shape 'Execute'

Script:test_execute_script||dmaID=107;elementID=21;parameterNumber=2003;tableIndex=Contol 32;parameterValue=61|||NoConfirmation,CloseWhenFinished,NoSetCheck

Note that I had to change the name of the script, IDs, and values.

Script:

ScriptParam spDmaId = engine.GetScriptParam("dmaID");
ScriptParam spElementId = engine.GetScriptParam("elementID");
ScriptParam spParameterNumber = engine.GetScriptParam("parameterNumber");
ScriptParam spTableIndex = engine.GetScriptParam("tableIndex");
ScriptParam spParameterValue = engine.GetScriptParam("parameterValue");

engine.GenerateInformation("[INFO]|Run|dmaID=" + spDmaId.Value);
engine.GenerateInformation("[INFO]|Run|elementID=" + spElementId.Value);
engine.GenerateInformation("[INFO]|Run|parameterNumber=" + spParameterNumber.Value);
engine.GenerateInformation("[INFO]|Run|tableIndex=" + spTableIndex.Value);
engine.GenerateInformation("[INFO]|Run|parameterValue=" + spParameterValue.Value);

Element element = engine.FindElement(Convert.ToInt32(spDmaId.Value), Convert.ToInt32(spElementId.Value));

if (element != null)
{
element.SetParameter(Convert.ToInt32(spParameterNumber.Value), spTableIndex.Value, spParameterValue.Value);
}
else
{
engine.ExitFail("[ERROR]|Run|Element does not exist.");
}

Once the overview is loaded, I was able to change the value:

Hope it helps.

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 14th February 2025
You are viewing 1 out of 2 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