<apex:page standardController="Opportunity" tabStyle="Opportunity" cache="false">
<c:GDrive recordType="Opportunity" recordId="{!opportunity.Id}"/> </apex:page>
-
120 Points
Posted 5 years ago
Pat Vachon, Champion
-
45,196 Points
Add a template field where you'd like the Cirrus Files page. Set the template to allow HTML. Put the URL for this page in an iframe element.
Not sure how to tweak the apex page to accept a URL parameter though. You'll have to tweak the apex page to take the ID this way.
Never tried this but I hope it's easy to do.
Pat Vachon, Champion
-
45,196 Points
-
120 Points
<apex:page standardController="Opportunity" tabStyle="Opportunity" cache="false">
<c:GDrive recordType="Opportunity" recordId="{!$CurrentPage.parameters.Paramtervalue}"/>
</apex:page>
Pat Vachon, Champion
-
45,196 Points
Pat Vachon, Champion
-
45,196 Points
-
120 Points
Moshe Karmel, Champion
-
8,686 Points
<iframe src="/apex/YOURURL?id={{{Id}}}&isdtp=mn" width="70%" height="800px" frameborder="false"></iframe>
Pat Vachon, Champion
-
45,116 Points
Moshe Karmel, Champion
-
8,686 Points
-
120 Points
Moshe Karmel, Champion
-
8,686 Points
Rob Hatch, Official Rep
-
44,968 Points
ID = {{{Id}}}
<iframe src="/apex/YOURURL?id={{{Id}}}&isdtp=mn" width="70%" height="800px" frameborder="false"></iframe>
This way you can make sure your data merges are good before you go on to make sure your VF code is good.
Pat Vachon, Champion
-
45,196 Points
Pat Vachon, Champion
-
45,196 Points
I think that you must the entire URL as there is a namespace prefix for the visualforce page. Basically means that the default site URL would not work as it is missing the namespace prefix. ie. IGD.na17.visual.force.com

The second thing is that header and footer shows up in the template. Anyway to force the page not to do this?

Moshe Karmel, Champion
-
8,686 Points
Pat Vachon, Champion
-
45,196 Points
BUT! Use &isdtp=nv
<iframe src="https://igd.na17.visual.force.com/apex/Opportunities_Component?id={{{Id}}}&isdtp=nv"; width="100%" height="600px"></iframe>
-
212 Points
<iframe src="https://arris--uat3--firstrain.cs15.visual.force.com/apex/FirstRain_Account_Snapshot?Id=0013000000Xtl4SAAR&isdtp=vw" width="100%" height="600px" frameborder="0"/>
Code versions mentioned above (starting with<iframe src="/apex...) did not work for me. I got a URL no longer exists error.Any suggestions? Is there any other info I can provide to help trouble shoot? Any advice is greatly appreciated. Thank you!
Pat Vachon, Champion
-
45,116 Points
http://www.ca-peterson.com/2011/11/magic-isdtp-param.html
Rob Hatch, Official Rep
-
44,968 Points
1. Your template compoent is connected to a model. Is this model set on the account object? If it on some other ojbect (say contacts) then the Id field will not be correct. You'd want to pass AccountId into the merge syntax.
2. Is the Id field (or AccountId as the case may be) in your model?
3. Preview the page and put your cursor over the section where you are getting the error message. Right Click and select "inspect element" from the menu (Hopefully you are using Chrome...) Look at the URL that is actually getting passed in the iFrame. Here you can see what is actually getting sent.
Hopefully this helps...
-
212 Points
I got the following variations all to work in preview. Is there a recommended variation? nv, vw or mn?
<iframe src="https://arris--uat3--firstrain.cs15.visual.force.com/apex/FirstRain_Account_Snapshot?Id={{{Id}}}&isdtp=nv"; width="100%" height="600px"></iframe>
<iframe src="https://arris--uat3--firstrain.cs15.visual.force.com/apex/FirstRain_Account_Snapshot?Id={{{Id}}}&isdtp=vw" width="100%" height="600px" frameborder="0"/>
<iframe src="https://arris--uat3--firstrain.cs15.visual.force.com/apex/FirstRain_Account_Snapshot?Id={{{Id}}}&isdtp=mn" width="100%" height="800px" frameborder="false"></iframe>
I appreciate all your help! This was such a thrill to get this working!Rob Hatch, Official Rep
-
44,968 Points
-
212 Points
Rob Hatch, Official Rep
-
44,968 Points

-
2,330 Points
Rob Hatch, Official Rep
-
44,968 Points
-
180 Points
-
532 Points
My only regret was that it took me an hour of searching to find this thread. You should think about building some basic tutorials for this kind of thing and for managing custom buttons. Most of us use third party applications (like Cirrus Files, DocuSign and LOOP) in our Salesforce instances, but your documentation has very little on how to add the buttons and VF pages that those third party apps incorporate.
Rob Hatch, Official Rep
-
44,968 Points
Skuidward Tentacles (Raymond), Champion
-
18,316 Points
<html><iframe src="/apex/box__BOXSection?id={{{$Model.Contact.data.0.Id15}}}¶m=Contact_Box_Section" width="70%" height="800px" frameborder="false">
</iframe>
</html>
Worked like a charm.
-
1,726 Points
I am completely new to skuid. But, I want to use PandaDoc an installed package on opportunity object. So my skuid page should have a PandaDoc section.
The iframe i used is
<iframe src="/apex/c__PandaDoc?id={{{Id}}}&isdtp=nv"; width="70%" height="800px" frameborder="false"></iframe>
But i am getting an error saying "page PandaDoc does not exist"
Can anyone help me out with this issue?
Thanks.