my probleme is that i use 2 differents ways of attaching files from the Notes client and the web browser, now if i create a document from the web using the web attachement i would like the Notes attachement button to be hidden… Is it possible to know if a document was created over the web or Notes?
For Notes users, i did something like that :
i created a rich text field and a buton.
And on the click event i put this down :
@Command( [EditGotoField] ; );
@Command( [EditInsertFileAttachment] )
and for web users i used the upload controle.
could anyone help.
cheers
Subject: What have you tried?
just wondering
Subject: RE: What have you tried?
i created a hidden text field called “web” which lets me know if the document was created over the web or not (its value would be 1 if yes, and 0 if not)I’m using a special button to submit the document on the web (different than the one i use to submit in Lotus Notes) and when i submit from the web, with javascript i switch the field “web” to 1 and viceversa…
That’s how i do it
Subject: RE: What have you tried?
Well…since you made an effort…
Create a hidden text field called fld_ClientType that is set to “Computed when composed” and enter a formula of @ClientType.
Now, when you ceate a new document the value of fld_ClientType will be “Web” when created on the Web, and “Notes” when created in the Notes client.
That should work for you.
Subject: how to figure out if a document was created on Lotus notes or over the web?
Look at @ClientType