Result List
Creates a link which displays a result list with all of the wanted documents.
Within that list it is possible to select one entry and open it in a separate viewer window.
All
Displays all documents from the given File Cabinet or Result List.
Following information needed:
Example File Cabinet
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var integrationType = IntegrationType.ResultlistAndViewer;
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
FileCabinetGuid = Guid.Parse("00000000-0000-0000-0000-000000000000"),
Culture = new CultureInfo("en-En")
};
var dwUrl = new DWIntegrationUrl(dwInfo, dwParam);
var url = dwUrl.Url;
//Result https://serveraddress:443/DocuWare/Platform/WebClient/ORGID/Integration?culture=en-EN&p=RLV&fc=00000000-0000-0000-0000-000000000000
Example Result List
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var integrationType = IntegrationType.ResultlistAndViewer;
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
ResultListGuid = Guid.Parse("00000000-0000-0000-0000-000000000000"),
Culture = new CultureInfo("en-En")
};
var dwUrl = new DWIntegrationUrl(dwInfo, dwParam);
var url = dwUrl.Url;
//Result https://serveraddress:443/DocuWare/Platform/WebClient/ORGID/Integration?culture=en-EN&p=RLV&rl=00000000-0000-0000-0000-000000000000
Document ID
Filters out all but one documents from the source using the Document ID.
Following information needed:
Example File Cabinet
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var integrationType = IntegrationType.ResultlistAndViewer;
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
FileCabinetGuid = Guid.Parse("00000000-0000-0000-0000-000000000000"),
DocId = "1",
Culture = new CultureInfo("en-En")
};
var dwUrl = new DWIntegrationUrl(dwInfo, dwParam);
var url = dwUrl.Url;
//Result https://serveraddress:443/DocuWare/Platform/WebClient/ORGID/Integration?culture=en-EN&p=RLV&fc=00000000-0000-0000-0000-000000000000&did=1
Example Result List
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var integrationType = IntegrationType.ResultlistAndViewer;
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
ResultListGuid = Guid.Parse("00000000-0000-0000-0000-000000000000"),
DocId = "1",
Culture = new CultureInfo("en-En")
};
var dwUrl = new DWIntegrationUrl(dwInfo, dwParam);
var url = dwUrl.Url;
//Result https://serveraddress:443/DocuWare/Platform/WebClient/ORGID/Integration?culture=en-EN&p=RLV&rl=00000000-0000-0000-0000-000000000000&did=1
Query
Filters all documents by a query.
The Query can be build with index fields marked with square brackets [ ] and the following operators:
Comparison operators:
- = equals exactly the value
- LIKE can use asterisk* wildcard to complete the comparison
Logic Operators:
- OR comparison A or comparison B is valid
- AND comparison A and comparison B is valid
Following information needed:
Example File Cabinet
var integrationType = IntegrationType.ResultlistAndViewer;
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
FileCabinetGuid = Guid.Parse("00000000-0000-0000-0000-000000000000"),
Culture = new CultureInfo("en-En")
};
dwParam.Query = @"[DocuWareFulltext] LIKE ""*Invoice 123*""AND [COMPANY] = ""Peters Engineering"" AND [Status] = ""done""";
var dwUrl = new DWIntegrationUrl(dwInfo, dwParam);
var url = dwUrl.Url;
//Result https://serveraddress:443/DocuWare/Platform/WebClient/ORGID/Integration?culture=en-EN&p=RLV&fc=00000000-0000-0000-0000-000000000000&q=W0RvY3VXYXJlRnVsbHRleHRdIExJS0UgIipJbnZvaWNlIDEyMyoiQU5EIFtDT01QQU5ZXSA9ICJQZXRlcnMgRW5naW5lZXJpbmciIEFORCBbU3RhdHVzXSA9ICJkb25lIg2
Example Result List
var server = @"serveraddress";
string orgGuid = "OrgGuid";
var serverUrl = $"https://{server}/DocuWare/Platform/WebClient";
DWIntegrationInfo dwInfo = new DWIntegrationInfo(serverUrl, orgGuid, false);
var integrationType = IntegrationType.ResultlistAndViewer;
var dwParam = new DWIntegrationUrlParameters(integrationType)
{
ResultListGuid= Guid.Parse("00000000-0000-0000-0000-000000000000"),
Culture = new CultureInfo("en-En")
};
dwParam.Query = @"[DocuWareFulltext] LIKE ""*Invoice 123*""AND [COMPANY] = ""Peters Engineering"" AND [Status] = ""done""";
var dwUrl = new DWIntegrationUrl(dwInfo, dwParam);
//Result https://serveraddress:443/DocuWare/Platform/WebClient/ORGID/Integration?culture=en-EN&p=RLV&rl=00000000-0000-0000-0000-000000000000&q=W0RvY3VXYXJlRnVsbHRleHRdIExJS0UgIipJbnZvaWNlIDEyMyoiQU5EIFtDT01QQU5ZXSA9ICJQZXRlcnMgRW5naW5lZXJpbmciIEFORCBbU3RhdHVzXSA9ICJkb25lIg2