SP.AppInstance.settingsPageUrl property (sp.js)

Gets the settings page URL of the current app instance.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value =SP.AppInstance.get_settingsPageUrl()

Return value

The tokenized URL. The caller is responsible for replacing the tokens.