Hide actions when viewed in inbox

Hello

I created a form call OrderCert that is mail enabled.

When the form is received in a persons inbox

I do not want the form’s action buttons to be visible. the document is also stored in its own database and I do need actions available there.

what is the best way to hid them when viewed in inbox?

notes 6.5

cheers…maggie

Subject: hide actions when viewed in inbox

You can compare @DbTitle, @DbName or @DbReplicaID against the value in your application database.

Subject: still wont hide when viewed in inbox

Hi Stan Can you tell me what I am doing wrong please ?

I need , action button to hide:

if new document

or if database Name is not “aaaa”

@If(@IsNewDoc) & !(@DbName) = “aaaa.nsf”

Subject: RE: still wont hide when viewed in inbox

@DbName is a two-parter, “server”:“database”. You’ll need to use @Subset(@DbName;-1). And remember to include the full database path, not just the filename. Oh, and use OR rather than AND – it’s unlikely that the document will both be a new doc AND be in a user’s mail database at the same time.

Subject: works now

thankyou very much