SP.Utilities.Utility.createEmailBodyForInvitation(Context, pageAddress) Method
Applies to: SharePoint Foundation 2010
Gets the external (outside the firewall) URL to a document or resource in a site.
var value = SP.Utilities.Utility.createEmailBodyForInvitation(Context, pageAddress);
Parameters
Context
Type: SP.ClientRuntimeContext
The runtime context for accessing data from and invoking methods on remote objects.
pageAddress
Type: string
The URL for the document or resource.
Return Value
Type: SP.StringResult
A link to the page containing the invitation.