Is there a way, using formula language, to detect whether the document is being viewed through an embedded form? I’m thinking of something like @IsDocEmbedded that would evaluate to true/false, similar to @IsDocBeingEdited.
My goal is to hide some form elements based on a formula, where the embedded status is one of a few criteria.