How do I pass parameters to my embedded iframe app?
Last updated: December 11, 2024
When using Embedded Iframes in Pylon, you may want to pass additional information or parameters to the iframe URL. This can be useful for filtering or customizing the content displayed within the iframe based on specific data, such as a user's email address.
Passing Parameters to Iframe URLs
To pass parameters to an Embedded Iframe URL in Pylon:
Open the Embedded Iframe configuration in your Pylon settings.
In the URL field, use curly braces
{}to insert dynamic variables.As you type the opening curly brace
{, Pylon will provide autocomplete options for available variables.Select the desired variable from the autocomplete list.
You should default and custom fields on issues, accounts, and contacts as variables
Example Usage
Let's say you want to filter the iframe content based on a contact's email address. Your iframe URL might look something like this:
https://example.com/embedded-content?email={contact.email}In this example, {contact.email} will be replaced with the actual email address of the contact when the iframe is loaded.