The Sample App is hosted at https://ue-remote-app.adobe.net. Per Default the content is retrieved and written back to the Adobe Experience Manager as a Cloud Service ( Production ) Demo Environment:
The default settings from .env can be overwritten using Query parameters:
authorHost: host to retrieve data from and update content to; default=https://author-p7452-e12433.adobeaemcloud.comservice: Universal Editor Service endpoint; default Universal Editor defaultprotocol: protocol to use with backend, can beaem,aem65,aemcsLegacy; default:aemcors: defining which cors.js - connection between Universal Editor and application shall be used. Can bestageor empty; defaultnull/empty.stagewill use the cors library hosted on stage, else it will use the production version
To retrieve content from another environment add authorHost as query parameters, e.g.
https://ue-remote-app.adobe.net?authorHost=https://author-p7452-e12433.adobeaemcloud.com
Similarly, if running the Universal Editor App on local dev environment, add authorHost as query parameters like this:
- AEM 6.5 or AEMCS instance
- Latest WKND Content installed on the AEM instancehttps://github.com/adobe/aem-guides-wknd/releases/latest
- AEM configured to run on HTTPS https://experienceleague.adobe.com/en/docs/experience-manager-learn/foundation/security/use-the-ssl-wizard
Adobe Granite Token Authentication Handlerconfigured to settoken.samesite.cookie.attr=Partitioned- Remove
X-FRAME-Options=SAMEORIGINfromApache Sling Main Servlet'ssling.additional.response.headersattribute if run locally - Add policy for
https://localhost:3000toAdobe Granite Cross-Origin Resource Sharing Policy. The defaultadobeconfiguraiton can be used as blueprint if run local copy of the app - Follow configuration on https://github.com/maximilianvoss/universal-editor-service-proxy for local development set up
- Open Universal Editor either
- under AEM domain for AEMCS, e.g. https://author-p7452-e12433.adobeaemcloud.com/ui#/aem/universal-editor/canvas/
- or on https://experience.adobe.com/#/aem/editor/canvas/
- For experience.adobe.com use the
Local Developer Loginto authenticate against your local AEM instance when using a local SDK or AEM 6.5
In the project directory, you can run:
Runs the app in the development mode.
Open https://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Builds the app for production to the dist folder.
Run the built app in production mode locally to verify the build.
Build the application and push it to GitHub pages