Skip to main content
Skip table of contents

How to transmit several data keys to a Popup Page?

Passing data to a Popup Page can be easily done with the NgxComponent Source window.

When it comes to only one key to transmit, you use a the prefix and suffix fields to build the object and the Data field is automatically generated by selecting the target key in the upper right panel:

image-20240301-094829.png

If you need to build a more complex object with several data keys, you have to check and use the “Custom” field.

Manually write your object in the “Custom” field by:

  • Clicking the key in the upper right panel to help you find out its item id (for example: item1708625866350).

  • Adding the “optional chaining operator“ (?.) before the target key. It is used to prevent Angular from throwing errors, when trying to access object properties of an object that don’t exist.

  • Adding the scope. prefix to all your item.

image-20240301-095637.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.