+ Start a Discussion
Maros SitkoMaros Sitko 

apex:canvasApp in Visualforce

Hi,

I have issue with include canvas app into Visualforce Page. My canvas app include PHP site from my server. It works in Canvas App preview and in Chatter tab too. But in Visualforce page not.

My simple VF page

 

<apex:page >
 <apex:canvasApp developerName="myCanvasAppName" />
</apex:page>

 

then I enter URL https:...salesforce../apex/myPage, and I got this error


Visualforce Error

Unable to retrieve installed application by namespace [null] and developer name [myCanvasAppName].

 


I tried to add namespacePrefix="" to canvasApp tag, but i got the same error.

Do I need something set somewhere?

Best Answer chosen by Admin (Salesforce Developers) 
Maros SitkoMaros Sitko

Issue was with case sensitive api name of canvas app

All Answers

Maros SitkoMaros Sitko

Issue was with case sensitive api name of canvas app

This was selected as the best answer
ctli.mobilelab1.3929660824463127E12ctli.mobilelab1.3929660824463127E12
i have a similar problem. My canvas app has JSP & html pages with jquery.

Following 'Info' is shown with a BLUE 'i' and not with a RED error.

Oops, there was an error rendering Force.com Canvas application [myCanvasConnectedApp].
The canvas app with namespace [svikas] and API name [myCanvasConnectedApp] does not support a location of [Visualforce Page].

I think the configuration is able to identify my app but not able to render it in tab. The app shows up fine in chatter feed and canvas previewer.

Any inputs will help.
Luca DellamoreLuca Dellamore
You should see a link after that error: if you follow it you go to a configuration page: click edit and add Visualforce to the supported location