The API is completely independent of your operating system, database system or development language. We provide and support API SDKs in many development languages in order to make it even easier to integrate. You can see our available SDKs list here.
SDK Examples
// For complete examples and data files, please go to https://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-dotnet-samplesstringMyClientSecret="";// Get Client Id and Client Secret from https://dashboard.groupdocs.cloudstringMyClientId="";// Get Client Id and Client Secret from https://dashboard.groupdocs.cloudvarconfiguration=newConfiguration(MyClientId,MyClientSecret);varapiInstance=newViewApi(configuration);varviewOptions=newViewOptions{FileInfo=newFileInfo{FilePath="SampleFiles/sample.ost"},ViewFormat=ViewOptions.ViewFormatEnum.HTML,RenderOptions=newHtmlOptions{OutlookOptions=newOutlookOptions{TextFilter="Microsoft",AddressFilter="susan"}}};varresponse=apiInstance.CreateView(newCreateViewRequest(viewOptions));
// For complete examples and data files, please go to https://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-java-samples
stringMyClientSecret="";// Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
stringMyClientId="";// Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
Configurationconfiguration=newConfiguration(MyClientId,MyClientSecret);ViewApiapiInstance=newViewApi(configuration);FileInfofileInfo=newFileInfo();fileInfo.setFilePath("SampleFiles/sample.ost");ViewOptionsviewOptions=newViewOptions();viewOptions.setFileInfo(fileInfo);viewOptions.setViewFormat(ViewFormatEnum.HTML);HtmlOptionsrenderOptions=newHtmlOptions();OutlookOptionsoutlookOptions=newOutlookOptions();outlookOptions.setTextFilter("Microsoft");outlookOptions.setAddressFilter("susan");renderOptions.setOutlookOptions(outlookOptions);viewOptions.setRenderOptions(renderOptions);ViewResultresponse=apiInstance.createView(newCreateViewRequest(viewOptions));
# For complete examples and data files, please go to https://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-ruby-samplesrequire'groupdocs_viewer_cloud'$client_id="XXXX-XXXX-XXXX-XXXX"# Get Client Id and Client Secret from https://dashboard.groupdocs.cloud$client_secret="XXXXXXXXXXXXXXXX"# Get Client Id and Client Secret from https://dashboard.groupdocs.cloudapiInstance=GroupDocsViewerCloud::ViewApi.from_keys($client_id,$client_secret)viewOptions=GroupDocsViewerCloud::ViewOptions.newviewOptions.file_info=GroupDocsViewerCloud::FileInfo.newviewOptions.file_info.file_path="SampleFiles/sample.ost"viewOptions.view_format="HTML"viewOptions.render_options=GroupDocsViewerCloud::HtmlOptions.newviewOptions.render_options.outlook_options=GroupDocsViewerCloud::OutlookOptions.newviewOptions.render_options.outlook_options.text_filter="Microsoft"viewOptions.render_options.outlook_options.address_filter="susan"request=GroupDocsViewerCloud::CreateViewRequest.new(viewOptions)response=apiInstance.create_view(request)
// For complete examples and data files, please go to https://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-node-samples
global.viewer#require("groupdocs-viewer-cloud");global.clientId="XXXX-XXXX-XXXX-XXXX";// Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
global.clientSecret="XXXXXXXXXXXXXXXX";// Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
global.viewApi=viewer_cloud.ViewApi.fromKeys(clientId,clientSecret);letfileInfo=newviewer_cloud.FileInfo();fileInfo.filePath="SampleFiles/sample.ost";letviewOptions=newviewer_cloud.ViewOptions();viewOptions.fileInfo=fileInfo;viewOptions.viewFormat=viewer_cloud.ViewOptions.ViewFormatEnum.HTML;viewOptions.renderOptions=newviewer_cloud.HtmlOptions();viewOptions.renderOptions.outlookOptions=newviewer_cloud.OutlookOptions();viewOptions.renderOptions.outlookOptions.textFilter="Microsoft";viewOptions.renderOptions.outlookOptions.addressFilter="susan";letrequest=newviewer_cloud.CreateViewRequest(viewOptions);letresponse=awaitviewApi.createView(request);
# For complete examples and data files, please go to https://github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-python-samplesimportgroupdocs_viewer_cloudclient_id="XXXX-XXXX-XXXX-XXXX"# Get Client Id and Client Secret from https://dashboard.groupdocs.cloudclient_secret="XXXXXXXXXXXXXXXX"# Get Client Id and Client Secret from https://dashboard.groupdocs.cloudapiInstance=groupdocs_viewer_cloud.ViewApi.from_keys(client_id,client_secret)view_options=groupdocs_viewer_cloud.ViewOptions()view_options.file_info=groupdocs_viewer_cloud.FileInfo()view_options.file_info.file_path="SampleFiles/sample.ost"view_options.view_format="HTML"view_options.render_options=groupdocs_viewer_cloud.HtmlOptions()view_options.render_options.outlook_options=groupdocs_viewer_cloud.OutlookOptions()view_options.render_options.outlook_options.text_filter="Microsoft"view_options.render_options.outlook_options.address_filter="susan"request=groupdocs_viewer_cloud.CreateViewRequest(view_options)response=apiInstance.create_view(request)
packageRenderingOutlookDataFilesimport("fmt""github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-go-samples/config"viewer"github.com/groupdocs-viewer-cloud/groupdocs-viewer-cloud-go/models")// This example demonstrates how to render Outlook Data File with filtering the rendered messages
funcFilterMessages(){viewOptions:=viewer.ViewOptions{FileInfo:&viewer.FileInfo{FilePath:"SampleFiles/sample.ost",},ViewFormat:viewer.ViewFormatHtml,RenderOptions:&viewer.HtmlOptions{OutlookOptions:&viewer.OutlookOptions{TextFilter:"Microsoft",AddressFilter:"susan",},},}response,_,err:=config.Client.ViewApi.CreateView(config.Ctx,viewOptions)iferr!=nil{fmt.Printf("Exception: %v\n",err)return}fmt.Printf("FilterMessages completed: %v pages\n",len(response.Pages))}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.