M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Valued Contributor
Posts: 631
Registered: ‎10-27-2015

How to enable CORS on M.App Enterprise server

We are trying to embedd m.app enterprise applications in other web pages and we have CORS errors.
Is there available a guide to enable CORS on MAE server?

 

thanks

Highlighted
Technical Evangelist
Posts: 711
Registered: ‎11-12-2015

Re: How to enable CORS on M.App Enterprise server

I think rather this needs to be reviewed in IIS documention.

Here is link to one resource on this topic.

https://docs.microsoft.com/en-us/iis/extensions/cors-module/cors-module-configuration-reference

 

You may let us know if you have specific question.

 

HTH

Highlighted
Valued Contributor
Posts: 631
Registered: ‎10-27-2015

Re: How to enable CORS on M.App Enterprise server

Hi sclow, thanks for the reply,

 

we tried several times to configure CORS on a M.App Enterprise server, without success.

Our customer want to embed M.App Enterprise browser apps in his html page, we developed a working prototype that works on M.App Enterprise server, but we cannot make it working on other server.

So this is the situazione:
Server A: MAE;

Server B: custom html page with an iframe that calls a browser app.

We have always CORS error.

Should we modify only the web.config in the main M.App Enterprise root or also the web.config in the folders "BrowserClient" or "MApViewer"?
thanks