openDesign
Reads a specified part of the user's design and returns all elements in that part.
Parameters
optionsDesignOpenOptionsOptions for configuring how the design is read.
typestringThe type of context.
The only valid value is "current_page".
callbackDesignOpenCallbackA callback for operating on the design.
Parameters
sessionDesignEditing.CurrentPageSessionSession received by the openDesign callback.
pageDesignEditing.PageThe current page of the design.
A page with either fixed or unbounded dimensions.
For more information, see AbsolutePage.
Represents something that's not supported by the Apps SDK.
typestringRead-onlyThe only valid value is "unsupported".
helpersDesignEditing.PageHelpersThese are various utilities that allow apps to do more complex operations on the page.
For more information, see PageHelpers.
syncfunctionSaves any changes made during the session while keeping the session open.
- Any changes in the session are only reflected in the design after this method is called.
- Once this method is called, further changes in the session can still be made.
Returns
Promise<void>
Returns
Promise<void>
Returns
Promise<void>