SaaS CMS has officially launched! Learn more now.

Override episerver preview url to SPA on another server


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?

Edited, May 06, 2020 11:52

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). 

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.