Question
7
Replies
515
Views
Posted: October 22, 2015
Last activity: April 18, 2016
Closed
Embed IAC gadget in different websites
Hi,
We have a requirement to embed IAC (Mashup) gadget in different websites. The domain name for these different websites are different. While trying to do a POC, realized the domain names should be similar and were getting cross-domain errors in the JS console. Any guidance to satisfy this requirement would be really appreciated.
Thanks,
Thilak
You can have prgateway installed on each of those websites to avoid cross domain issues while invoking gateway URL. This is from mashup help -
There are three main components in Pega Web Mashup:
. Pega Composite Gadget Manager, a JavaScript file that you load on your web page that implements your Pega gadgets
. An application running on a system
. Pega Composite Gateway, a servlet that manages the HTTP traffic between the Pega gadgets and the application
The Gateway servlet and the web application hosting the Pega gadget must be located in the same domain and sometimes runs on the same web server. The application typically runs in a different domain.
Thanks,
Abhishek