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>
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.