HOW TO ADD AN IFRAME TO A SPECIFIC ENTRY IN DETAILS

Hello! Does anyone know how to add an iframe to a specific entry in the details?
It’s just that an iframe should appear inside a specific entry below the values. It will appear when a detail entry is active.

Thank you in advance!

Like 0

Like

1 comments

Hello.
In the current version of Creatio, it is not possible to add an iframe directly into a details column. However, you can add a button to a grid detail that opens a modal window containing an iframe. I followed the guidelines from - here.

I added an "Account Detail Test" to the Account section with a "Link" column and a "View Frame" button. When this button is clicked, it sets the detail record field values into session storage. Here is an example of the logic I implemented:1
Code of UsrFrameControl:
1
Code of UsrModalPage:
1
Code of test detail on account page:
2
The main point is to store the link in session storage. To achieve this, I added a "Link" column to the detail. In the FrameControl module, you read this value and set it as the src attribute of the iframe.

Hope this helps!
 

Show all comments