Menu

DONE: Display URL Field as an inline iFrame

+3 votes

This is an extension to the feature request: Open and browse to a URL or UNC contained in the data, except that dbFront would instead display the contents of the URL in an iFrame directly embedded into the form.

This would make it very easy to integrate other network resources or systems into the current application.

in Features (Done) by (5.0k points)
edited by
This would be a cool feature for us.

1 Answer

0 votes

As of dbFront 1.1.2.1304, you can simply change the subtype of the field to Url. You can then specify that the field should be shown as an iFrame in the Url tab.

dbFront will then automatically display the Url contents just below the field in an iFrame. If the Url appears to point to a Png, Gif or Jpeg, then dbFront will load the image into a Img tag.

The iFrame or Img will display full width within the column.

If the field is marked as read-only then dbFront will remove the Input field and only show the iFrame/Img with the Field label showing. To also hide the field label update the field layout to hide the label.

by (54.2k points)
Welcome to the dbFront Q&A site, where you can ask questions and receive answers from other members of the community.
 | Minimalist Answer Theme by Digitizor Media
 |
Powered by Question2Answer
...