...
External application front-end can embed Pricefx Unity frontend. Pricefx frontend will be then rendered inside of a iframe of the external application.
To Example, how to embed Unity inside of external application:
Code Block | ||
---|---|---|
| ||
<iframe src="https://{partition}.pricefx.com" id="pfx-iframe" sandbox="allow-forms allow-modals allow-popups allow-same-origin allow-scripts"/> |
Parameters needed for the iframe:
Parameter | Description |
---|---|
src |
|
id | can be anything, depends on external application |
sandbox | URL for Pricefx Unity. |
id | (optional) used to target the proper iframe with messages. The value is decided by the external application embedding the Pricefx Unity. |
sandbox | (optional) If the external application uses this setting, ensure to allow at least the minimum permissions needed by Pricefx Unity front-end - |
The external application front-end can communicate with Pricefx Unity front-end through the Unity Messaging API.