Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

UserCustomAction in App Event Receiver

$
0
0

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!


Viewing all articles
Browse latest Browse all 8089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>