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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How do I create a Protocol write Param of with a type of string that will allow text containing rn

Solved1.19K views12th October 2023
0
Mark Smith82 6th October 2023 0 Comments

When I use the UI to paste text into the field that contains \r\n, it just takes the text up to the the first \r\n and seems to be treating the \r\n as a delimiter. Is there an option that I can specify to allow it to take the whole string including the \r\n?

I have looked at the protocol API to try to find some options and I have tried adding dimensions to the write param to make it multi line, but it is still displayed as a single line.

<Param id=”2600″ trending=”false”>
<Name>configDetails</Name>
<Description>config Details</Description>
<Information>
<Subtext>The Config that will be updated.</Subtext>
<Includes>
<Include>time</Include>
<Include>range</Include>
<Include>steps</Include>
<Include>units</Include>
</Includes>
</Information>
<Type>read</Type>
<Interprete>
<RawType>other</RawType>
<LengthType>next param</LengthType>
<Type>string</Type>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>Config Details</Page>
<Row>0</Row>
<Column>1</Column>
</Position>
</Positions>
</Display>
<Measurement>
<Type lines=”40″>string</Type>
</Measurement>
</Param>

<Param id=”2605″ setter=”true”>
<Name>configDetails</Name>
<Description>config Details</Description>
<Type options=”dimensions=5,1″>write</Type>
<Interprete>
<RawType>other</RawType>
<LengthType>next param</LengthType>
<Type>string</Type>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>Config Details</Page>
<Row>0</Row>
<Column>0</Column>
</Position>
</Positions>
</Display>
<Measurement>
<Type options=”hscroll”>string</Type>
</Measurement>
</Param>

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 12th October 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Floris Cockaerts [SLC] [DevOps Advocate]2.43K Posted 9th October 2023 0 Comments

Hi Mark,

It looks like the lines option is only applicable to the read parameter at the moment. Multiline parameters can be displayed when the data is received through any other means, like polling or a parameter set by a QAction. However, the cube UI seems to trim multiline content that gets pasted into a write parameter field by design.

I can’t speak to why it currently is this way, so I’d like to forward you to your point of contact or DataMiner Feature Suggestions – DataMiner Dojo for a new software feature request.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 12th October 2023
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