Hi @Ryan,
I’m trying to achieve the same results mentioned in the initial query.
Currently, we’re setting the layout mode using:
instance.UI.setLayoutMode('FacingContinuous');
The layout mode value comes from an API, based on the user’s last selected layout. However, if we set the layout mode before the "documentLoaded"
event, the page layout does not get updated as expected.
Issue:
The layout mode needs to be set before the document loads so that it reflects the user’s last selected layout upon load, but currently, it only takes effect if set after the "documentLoaded"
event.
Expected Outcome:
We want to set the document layout mode before the document loads, based on the API value, ensuring the user’s last selected layout is applied immediately.
Could you suggest a solution to achieve this?
Thanks!