My use case is a rewrite of the Standard Lightning Component "Visualforce" which lets you embed a Visualforce page on a Flexipage.
The reason for this rewrite is, that the Standard "Visualforce" component is simply not powerful enough, i.e. setting a fixed height in pixel (with a maximum of 600) is simple unacceptable for my use cases.
Now it's pretty simple to use an <iframe>
in a Custom Lightning Component. The only thing missing then in the embedded VF Page is sforce.one
- which is needed for several patterns.
How to get force.one
on any Visualforce page?