File.GetWOPIFrameUrl(SPWOPIFrameAction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.SharePoint.Client.Remote]
public Microsoft.SharePoint.Client.ClientResult<string> GetWOPIFrameUrl(Microsoft.SharePoint.Client.Utilities.SPWOPIFrameAction action);
member this.GetWOPIFrameUrl : Microsoft.SharePoint.Client.Utilities.SPWOPIFrameAction -> Microsoft.SharePoint.Client.ClientResult<string>
Public Function GetWOPIFrameUrl (action As SPWOPIFrameAction) As ClientResult(Of String)
Parameters
- action
- SPWOPIFrameAction
Returns
- Attributes
Remarks
URLs returned by this method should be considered temporary and short-lived. Do not persist these URLs. Additionally, consider using the preferred method for generating preview URLs here: https://learn.microsoft.com/en-us/sharepoint/dev/embedded/development/tutorials/using-file-preview#get-the-preview-url-using-graph.