my objective is by pressing an action button view one attachment which is attached in a hidden Rich text field.
I think only way to do this is as follows:
In a form I have 1 editable hidden text field (h1)and 1 rich text field which is hidden for a particular value of h1. now on click of an action button the following things should happen in order
-
the value of h1 will be changed so that rich text field become unhidden
-
focus the rich text field and view the attachment
-
change the value of h1 again so that the rich text field hides
this form is only available in Notes client
Now I write the formulae like below:
@Command([EditDocument];1);
@SetField(“h1”;“yes”);
@Command([ViewRefreshFields]);
@Command([EditGotoField];“h1”);
@Command([AttachmentView]);
@SetField(“h1”;“no”);
@Command([ViewRefreshFields])
but this is not working
Thank you in advance