Tag Info

Hot answers tagged

1

If the user who you are Sharing File is part of SharePoint then you can simply pass the URL to the user, who can access the file directly. For external users, you can get this link using ObjectSharingInformation class. This class has property AnonymousEditLink and AnonymousViewLink You can use below snippet for that var item = //code to get list item.. ...


1

This is the implementation of SPWeb.IsAppWeb (via Reflector) public bool IsAppWeb { get { return (this.AppInstanceId != Guid.Empty); } }


1

You can look at the WebTemplate property of the Web object. The WebTemplate value will be "APP" if it is an App Web. // Exclude any App Webs if (subweb.WebTemplate.Equals("APP")) continue;



Only top voted, non community-wiki answers of a minimum length are eligible