Bug when uploading documents with accented names. Affected methods (createDocument, checkin, createAttachment, importMSG, importEML and doc2txt)
Improvements in the serialization and deserialization of objects: Folder, Document, Mail, Note, ChangeSecurity and FormElement. Affected methods (changeSecurity, createFolder, setProperties, setPropertyGroupProperties, setPropertyGroupPropertiesSimple and createMail).
v1.2.3
Released 2019-09-06
It is now compatible with Visual Basic.
Document changes:
Changed methods:
Document getDocumentProperties(String docId), corrected the serialization of the Document type.
PropertyGroups changes:
Changed methods:
List<FormElement> getPropertyGroupProperties(String nodeId, String grpName), corrected the serialization of the FormElementComplexList type.
List<FormElement> getPropertyGroupForm(String grpName), corrected the serialization of the FormElementComplexList type.
Search changes:
Changed methods:
List<QueryResult> findByContent(String content), corrected the serialization of the List<Node> type.
List<QueryResult> findByName(String name), corrected the serialization of the List<Node> type.
List<QueryResult> findByKeywords(List<String> keywords), corrected the serialization of the List<Node> type.
List<QueryResult> find(QueryParams qp), corrected the serialization of the List<Node> type.
ResultSet findPaginated(QueryParams queryParams, int offset, int limit), corrected the serialization of the List<Node> type.
Bugs:
Visual Basic is not case-sensitive in class properties, so they have been renamed as follows: TITLE for _TITLE to avoid conflict with the title property.
Method getPropertyGroupProperties only returns elements without their values.
Failed to search by metadata properties.
v1.2.2
Released 2019-04-09
Document
Added method isValidDocument.
Download large files. Affected methods: getContentByVersion.
Repository
Added methods: executeScript and executeHqlQuery.
Search
Added methods: saveSearch, updateSearch, getSearch, getAllSearches and deleteSearch.
Bugs
General
Validation of the host URL for methods using System.Net.Http. Affected methods: createDocumentSimple and check-in.
Conversion
Added header "Content-Type" and return a temporary file. Affected methods: doc2pdf, imageConvert
v1.2.1
Released 2018-11-13
Added ConversionService
New method public InputStream doc2pdf(FileStream fs, String fileName)
public InputStream imageConvert(FileStream fs, String fileName, String params, String dstMimeType)
PropertyGroupService
New method public Map<String, String> getPropertyGroupPropertiesSimple(String nodeId, String grpName)
RepositoryService
New method public SqlQueryResults executeSqlQuery(FileStream fs)
public Configuration getConfiguration(String key)
Updated tools:
Net Framework 4.5.2
Restsharp 105.2.3.0
System.Net.Http
Bugs
Upload, download and update large files. Affected methods: createDocumentSimple, getContent and check-in.
v1.2.0
Released 2018-09-24
Because we have introduced Swagger support the WS library has been updated and the behavior of some methods have been changed. That means if you use version 1.1.2 or older with OpenKM version 6.3.7 or upper it will be raised and error. The methods affected are what return boolean or long values :
isCheckedOut
isLocked
getVersionHistorySize
isValidDocument
isValidFolder
isValidMail
isValidRecord
hasGroup
hasNode
saveSearch
Improvements
Replaced properties Document, Folder, Mail and Document attachment in QueryResult with the Node type.
v1.1.2
Fixed bug when searching with the findPaginated method.
v1.1.1
Released 2015-11-18
Fixed a problem with MessageBox present in some methods.