External Module: Page
Page APIs let solutions interact with and personalize the main page, for example by setting the title or favicon, or refreshing the solution iframe.
Interfaces
Type aliases
LocationLike
Ƭ LocationLike: ObjectWithHref | ObjectWithPath
Defines the location-like object for which to get the shell URL. You may specify either a path or an absolute URL.
Example:
{path: '/abc'}
or {href: 'https://example.com/abc'}
Import:
Copied to your clipboardimport page from '@adobe/exc-app/page';
Default export:
Usage:
Copied to your clipboardimport page from '@adobe/exc-app/page';page.title = 'Experience Cloud';// Show spinner while performing an async operationpage.spinner = true;try {await performOperation();} finally {page.spinner = false;}// Generate a shell URL that directly opens the specified solution URLconst shellUrl = page.generateShellUrl('/relative/path');// Navigate to another solutionpage.shellRedirect('/target');
Next steps
Explore details of the Index, TopBar, and User external modules.
Explore the attributes and behavior of Adobe Experience Cloud Interfaces:
Page | Topbar | User |
---|---|---|
Return to the Guides Index.