投稿済み Thu, 14 Oct 2021 18:53:48 GMT 、投稿者 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 });
投稿済み Thu, 14 Oct 2021 18:56:28 GMT 、投稿者 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>


 
投稿済み Thu, 21 Oct 2021 14:15:39 GMT 、投稿者 Sebastian Schultz Regional Sales & Consultancy Manager - Indirect Sales Division
Nobody any idea?
投稿済み Tue, 26 Oct 2021 14:34:10 GMT 、投稿者 Gerardo Lisanti Manager Product
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

投稿済み Tue, 26 Oct 2021 16:13:57 GMT 、投稿者 Sebastian Schultz Regional Sales & Consultancy Manager - Indirect Sales Division

Yes that was the problem. :)

Thank you in advance!

フォーラムに投稿するためにはログインが必要です。