Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Can the offline button be disabled?

Avatar

Level 1

Im creating a form which cannot be allowed to be taken offline by users. They are allowed to save it to fill it in later or submit it using the complete button but i need to know if its possible to disable the offline button in workspace.

2 Replies

Avatar

Former Community Member

The offline button cannot be explicitly disabled without customizing Workspace

Avatar

Former Community Member

I've had this requirement a few times.  Kind of a quick and dirty solution I've used is to put some script in the Pre-Save event of your form to hide the top-level subform.  Then you'd have to put one in the Post-Save event to show it again.  This obviously isn't an ideal situation, especially because the XML bound to the form is still available if the user knows how to retrieve it.  It does however save you the hassle of customizing Workspace.

Hope this helps!

Ryan D. Lunka

Cardinal Solutions Group

rlunka@cardinalsolutions.com