This object contains flags which can be used to simulate certain behavior during development.
addOnUISdk.app.devFlags are provided for testing purposes only, and thus can only be used during the development phase.
Simulate APIs as a free user.
simulateFreeUser: boolean
boolean representing the current value of the flag.
import addOnUISdk from "https://new.express.adobe.com/static/add-on-sdk/sdk.js";
addOnUISdk.ready.then(async () => {
addOnUISdk.app.devFlags.simulateFreeUser = true;
});
See this export content use case example, which uses this flag for more details.