Try our conversational search powered by Generative AI!

Override episerver preview url to SPA on another server

Vote:
 

I have EPI server instance with content delivery API enabled. On the other end I have Angular SPA application hosted on separate domain/server. 

I would like editors to be able to preview their changes. How to point the preview to the SPA rather than regular EpiServer preview, based on layouts and views?

#222478
Edited, May 06, 2020 11:52
Vote:
 

I gave an answer in your other thread that I've done what your trying to accomplish in the Blazor Music Festival site.

For this specific question, check out the DefaultPageController which will redirect the preview from Episerver to the "regular" application URL (but some parameters are passed, so the front-end knows to render the appropriate tags for OPE). 

#222545
May 07, 2020 12:03
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.