I currently have an iFrame which is loaded into SF using syntax similar to below.
<apex:component> <apex:iframe src="SomeURL" scrolling="true" height="600" width="1000"/> </apex:component>
The iFrame contains a self hosted web app which does have some data taken from salesforce. I do have access to some data points for things like the "Contact" [ID,NAME,ETC] etc with in my iFrame.
Is it possible to open a "New Opportunity" for an existing client from within the iFrame?
What are my options for creating a new opportunity by pressing a button in the iFrame. Could it even be to simply open a new window (if possible) using some generic URL plus the company ID field data like the below example for opening a contact.
https://eu9.lightning.force.com/one/one.app#/sObject/<%= company.id %>/view