public String getLocationUrl()
Type: String
Use this method to obtain the URL of the page where the user accessed the canvas app. For example, if the user accessed your app by clicking a link on the Chatter tab, this method returns the URL of the Chatter tab, which would be similar to ‘https://na1.salesforce.com/_ui/core/chatter/ui/ChatterPage’.