function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC n12SFDC n12 

Canvas redirection help needed


I want to redirect to a specific page through canvas without the help of any third party site named "Heroku"

please let me know how to do it.

Thanks in Advance
Hi Bharath,

See the blog below,

whenever we are working with web application redirects inside a Canvas App, we should be setting the javascript property to affect the redirection. The URL to be set on can be generated and set from server side.

It is at this point that I remembered that the Canvas documentation(page no.22) says that provides client side proxy written in Javascript to handle Cross Domain XML Http Requests. We can also develop and deploy our own proxies as a part of the SDK.

We should not use client side proxy for same domain calls. For this, we can rely on the web application language capability to handle self domain redirects.