I have created one UserCustomAction in App Event Receiver which adds a link in Site Action (Gear) menu of host web. The link I want to put is the URL of a list in App web.
I tried below two options:
1) customAction.Url = "~appWebUrl/Lists/Configuration List/Allitems.aspx?{StandardTokens}";
2) Uri appweburl = properties.AppEventProperties.AppWebFullUrl;
customAction.Url = appweburl + "/Lists/Configuration List/Allitems.aspx?{StandardTokens}";
But both doesn't work.
How can I get the values of StandardTokens inside App event receiver?
Thanks in Advance!