I have a button which commits all changes to dataminer tables. When the button is clicked I'd like to disable it so the user cant click on it. How can I achieve this? When commit is complete then the button should be active again.
<Param id="250" trending="false" level="3" confirmPopup="always">
<Name>Configuration Operations</Name>
<Description>Configuration Operations</Description>
<Type>write</Type>
<Interprete>
<RawType>other</RawType>
<LengthType>next param</LengthType>
<Type>double</Type>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Positions>
<Position>
<Page>Review and Commit</Page>
<Row>1</Row>
<Column>0</Column>
</Position>
</Positions>
</Display>
<Measurement>
<Type width="120">button</Type>
<Discreets>
<Discreet>
<Display>Commit</Display>
<Value>1</Value>
</Discreet>
<Discreet>
<Display>Discard Changes</Display>
<Value>2</Value>
</Discreet>
</Discreets>
</Measurement>
</Param>
Hi Samantha
Unfortunately, this is not directly possible. Some alternatives are listed in the answer of the following question:
Condition or Exception to hide or disable button in protocol - DataMiner Dojo
In the meantime, a feature suggestion was created for this. Feel free to vote here: Ability to disable a button in protocol on a datadisplay like you can other parameters – DataMiner Dojo
Kind regards