Skip to main content
Nintex Community Menu Bar
Question

Visualforce missing as option on Page Include component

  • July 9, 2024
  • 14 replies
  • 10 views
  • Translate

Forum|alt.badge.img+6

Why is Visualforce missing as an option under the Page Include component on one of my Skuid pages?

This topic has been closed for comments

14 replies

Forum|alt.badge.img+5

Hey Peter.

This feature was rolled back as part of the Spring 14 release. The primary reason is that inserting visualforce pages into skuid pages opens up all sorts of issues where Javscript can conflict and the page actions returned by the VF page’s controller can take over the entire page.

We recommended you use a template component with an iframe to pull in your VF pages, as it allows execution of the page’s JS to occur in its own private context. If needed, you can always bubble up JS events/functions via window.parent.

Sorry for the confusion!

Translate

Forum|alt.badge.img+8

Hey - I am so close but so far.

What am I doing wrong here? How do i get the little component to show up instead of pulling in an entire page?

Here is the start of the visualforce I am trying to pull in:





  
![|53x20](upload://o58GGW3iuCIJX6sdOZJJLyTS9Ct.png)

No HubSpot Data on file.

![|53x20](upload://o58GGW3iuCIJX6sdOZJJLyTS9Ct.png)

Visit Information

Found Site Via {!foundSiteViaMap[hsIntel.portal_id__c]} First Visit {!earliestVisitMap[hsIntel.portal_id__c]} Recent Visit {!latestVisitMap[hsIntel.portal_id__c]} # of Visits {!totalVisitsMap[hsIntel.portal_id__c]}
Translate

Forum|alt.badge.img+5

Hey Kaede, you need to add the “showHeader” attribute to your VF page like this:

<apex:page sidebar="false" <b>showHeader="false"</b> extensions="HubSpot_Inc.HubSpotController" standardController="Lead">
Translate

Forum|alt.badge.img+8

What if it is part of a managed package?

Translate

Forum|alt.badge.img+2

You can copy the managed page and use the new version with the appropriate option.

Translate

Forum|alt.badge.img+8

Since it is a managed package, I am unable to access to necessary class. 

I get the following error: Error: The installed managed class HubSpot_Inc.HubSpotController is not visible


Translate

Forum|alt.badge.img+2

It’s been a while since I’ve done this, but I remember you have to do something with the namespace. Try dropping the namespace (HubSpot_Inc.) and seeing if it works for you like that.

Translate

Forum|alt.badge.img+5

Yeah, Kaede, the fact that it’s part of a managed package makes it tougher. Unfortunately you’re not going to be able to specify whether or not to show the page’s header because of that, and the iframe is going to render the page as it’s built. Lame, I know.

We are bouncing around a few alternatives to the vf page include that could possibly be added as part of the next release. 

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • 3763 replies
  • July 9, 2024

We were able to fix this for a customer today. Even thought this post is 5 months old, it seemed appropriate to go back and update this.

You can still use the mangaged package VF page but tweak the iFrame code that you put in the template component in skuid. It should look like this:

  1. Of course replace <> with your namespace__pagename__c combination.

2 Then tweak the query string by adding this parameter: &isdtp=vw Apparently this turns off header and sidebar in the VF page.

Early results are encouraging.

Translate

Forum|alt.badge.img+6
  • Nintex Employee
  • 130 replies
  • July 9, 2024

Be aware, though, that the isdtp feature is not officially supported outside the service console and can cause other problems (for example, “the isdtp parameter will break any and all apex:outputLink elements on a visualforce page with the apex:page showHeader parameter set to false”). It does seem to work most of the time and I know that a lot of developers use this parameter, but it’s something you’ll want to keep an eye on in case Salesforce drops support for it without warning.

Translate

Forum|alt.badge.img+1

If anyone is trying to do this with Person Accounts. This is how we made it work

Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • 3763 replies
  • July 9, 2024

Thanks Dave. 

Translate

Forum|alt.badge.img+4

I am also trying to include a third party visualforce page in my SKUID lead detail page.  I tried both of the above iFrame code suggestions and can’t get either to work.  I get a greyed-out box with the message “Unable to resolve the server’s DNS address”.  Any ideas?

Translate

Forum|alt.badge.img+10

Thanks for the “100%” tip!

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings