Publié Thu, 14 Oct 2021 18:53:48 GMT par Sebastian Schultz Regional Sales & Consultancy Manager - Indirect Sales Division

Hello,

I'm performing a search with the following code:

DWIntegrationInfo integrationInfo = new DWIntegrationInfo($"https://" + @Server + "/DocuWare/Platform/WebClient", @OrganizationGUID, false);
integrationInfo.Scheme = "https";
integrationInfo.OrganizationId = OrganizationGUID;
DWIntegrationUrlEncrypted encryptedURL = new DWIntegrationUrlEncrypted(integrationInfo, IntegrationType.ResultlistAndViewer, @Passphrase);
encryptedURL.Parameters.ResultListGuid = new Guid(ResultListGUID);
encryptedURL.Parameters.UserCredentials = new UserCredentials(@Password, @Username);
                
Process.Start(new ProcessStartInfo { FileName = encryptedURL.Url, UseShellExecute = true });
Publié Thu, 14 Oct 2021 18:56:28 GMT par Sebastian Schultz Regional Sales & Consultancy Manager - Indirect Sales Division
But every time the search will be executed and opened with Process.Start in the browser there is also opening a viewer window.
How can I open a result list only?</p>


 
Publié Thu, 21 Oct 2021 14:15:39 GMT par Sebastian Schultz Regional Sales & Consultancy Manager - Indirect Sales Division
Nobody any idea?
Publié Tue, 26 Oct 2021 14:34:10 GMT par Gerardo Lisanti Team Leader Product Management
Hi Sebastian,

maybe the result list you are opening has the option enabled to automatically open the first document in the viewer?
You can find the option in the settings of the result list in the file cabinet administration, under "More options" (see screenshot)

Show document:  Open first document of the result list automatically in the Viewer
 

--

Gerardo Lisanti

Manager Product

Publié Tue, 26 Oct 2021 16:13:57 GMT par Sebastian Schultz Regional Sales & Consultancy Manager - Indirect Sales Division

Yes that was the problem. :)

Thank you in advance!

You must be signed in to post in this forum.