Dear community,
I try to set a writable parameter with an "execute" shape-data field in Visio. On the left side you see the actual set parameter on the element, on the right side is the textbox shape to define the new password.
The shape-date field "execute" on the SET button is defined as the follow: Set|ElementID|ParameterID:DisplayKey|[var:Password]|NoConfirmation
The session variable "Password" and filled from a textbox shape with the shape-data filed "SetVar"
Setting a new password with the textbox shape works as expected. Now I have the following problem: in some cases, it is necessary to set no password, because of no encryption for a upcoming transmission. But if I try to set no password with an empty textbox, I receive a Dataminer Cube confirmation message:
To set the empty password I must click on the green check and then "Ok".
How can I set the empty password with any confirmation popups?
Thanks for your feedback and inspiration on my topic!
Daniel
Hi Jarno,
I now tried to use the "SetVarOptions" with "EmptyValue=-1", but Dataminer displays the popup to confirm the parameter, although "NoConfirmation" is set in the shape data field "execute".
May the community has some new ideas to solve the problem?
Kind Regards,
Daniel
Hi Jarno, thanks for your answer! We are using another version (1.0.2.7) of the connector and in the meantime we found possibility with your colleague Koen to set an empty parameter with visio.
Thank you very much and best regards!
Daniel
Hi Daniel, somehow I did my check incorrectly. There is no exception value defined for this parameter on the latest protocol version (1.0.4.4). Unsetting the password is thus not possible, and apparently I also cannot get away with the popup to be shown. If you can live with having an incorrect password set, you can do something like this:
Set|[this element]|151|[RegexReplace:^$,[var:myPassword],N/A]|NoConfirmation
This will replace an empty string with ‘N/A’. I think a more appriopriate solution would be to ask for a new feature to implement the exception value so you can set this.
Kind Regards,
Jarno