GetPreviewLink Method
Gets a link that may be used to preview the resource.
Syntax
function GetPreviewLink(): String;Remarks
This method gets a link that may be used to preview a resource. The link is designed to be embedded in in a web page (such as within an iframe).
Before calling this method set ResourceId to the file for which the link should be obtained. This method will return the preview link.