Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

External application front-end can embed Pricefx Unity frontendfront-end. Pricefx frontend front-end will be then rendered inside of a an iframe of the external application.

To embed Unity inside of This is an example how to embed Pricefx inside an external application:

Code Block
languagehtmlxml
<iframe
  src = "https://{partition}.pricefx.com"
  id = "pfx-iframe"
  sandbox      sandbox== "allow-forms allow-modals allow-popups allow-same-origin allow-scripts"
/>

Parameters needed for the iframe:

id

can be anything, depends on external application

sandbox

Parameter

Description

src

https://{partition}.pricefx.com

URL for Pricefx.

id

(optional) Used to target the proper iframe with messages. The value is decided by the external application embedding Pricefx .

sandbox

(optional) If the external application uses this setting, make sure that at least the minimum permissions needed by Pricefx

Unity

front-end are provided: allow-forms allow-modals allow-popups allow-same-origin allow-scripts

The external application front-end can communicate with Pricefx Unity front-end through the Unity Messaging API.