Changelog of version 1.x

 SDK for .NET 1.x

v1.5.0

  • In process
  • MailService
    • New method
      • public Document createAttachment(String mailId, String docName, FileStream fs)
      • public void deleteAttachment(String mailId, String docId)
      • public List<Document> getAttachments(String mailId)
      • public void sendMailWithAttachments(String from, List<String> to, List<String> cc, List<String> bcc, String subject, String body, List<String> docsId, String dstId)
      • public void sendMail(List<String> recipients, String subject, String body)
  • DashboardService
    • New method
      • List<DashboardDocumentResult> getUserCheckedOutDocuments()
      • List<DashboardDocumentResult> getUserLastModifiedDocuments()
      • List<DashboardDocumentResult> getUserLockedDocuments()
      • List<DashboardDocumentResult> getUserSubscribedDocuments()
      • List<DashboardFolderResult> getUserSubscribedFolders()
      • List<DashboardDocumentResult> getUserLastUploadedDocuments()
      • List<DashboardDocumentResult> getUserLastDownloadedDocuments()
      • List<DashboardMailResult> getUserLastImportedMails()
      • List<DashboardDocumentResult> getUserLastImportedMailAttachments()
      • List<QueryParams> getUserSearchs()
      • List<DashboardDocumentResult> findUserSearches(int qpId)
      • List<DashboardDocumentResult> getLastWeekTopDownloadedDocuments()
      • List<DashboardDocumentResult> getLastMonthTopDownloadedDocuments()
      • List<DashboardDocumentResult> getLastWeekTopModifiedDocuments()
      • List<DashboardDocumentResult> getLastMonthTopModifiedDocuments()
      • List<DashboardDocumentResult> getLastModifiedDocuments()
      • List<DashboardDocumentResult> getLastUploadedDocuments()

v1.4.0

  • Released 2021-09-01
  • DocumentService
    • New method
      • public Document createFromTemplate(String docId, String dstPath, bool categories, bool keywords, bool propertyGroups, bool notes, bool wiki, Map<String, String> properties)
  • NotificationService ( New )
    • New method
      • public void notify(String nodeId, List<String> users, List<String> mails, String message, bool attachment)

v1.3.0

  • Released 2021-07-29
  •  AuthService
    • New method
      • createUser(String user, String password, String email, String name, boolean active)
      • deleteUser(String user)
      • updateUser(String user, String password, String email, String name, boolean active)
      • createRole(String role, boolean active)
      • deleteRole(String role)
      • updateRole(String role, boolean active)
      • assignRole(String user, String role)
      • removeRole(String user, String role)
      • changeSecurity(ChangeSecurity changeSecurity)
      • login()
  • Document changes:
    • Adding methods:
      • createUser(String user, String password, String email, String name, boolean active)
      • deleteUser(String user)
      • updateUser(String user, String password, String email, String name, boolean active)
      • createRole(String role, boolean active)
      • deleteRole(String role)
      • updateRole(String role, boolean active)
      • assignRole(String user, String role)
      • removeRole(String user, String role)
      • changeSecurity(ChangeSecurity changeSecurity)
      • extendedDocumentCopy(String docId, String dstId, String name, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki)
  • Folder changes:
    • Adding methods:
      • copyFolder(String fldId, String dstId)
      • extendedFolderCopy(String fldId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki)
      • getContentInfo(String fldId)
      • purgeFolder(String fldId)
      • createMissingFolders(String fldPath)
  •  RepositoryService
    • New method
      • getTrashFolderBase()
      • getPersonalFolderBase()
      • getMailFolderBase()
      • copyAttributes(String nodeId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki)
      • ScriptExecutionResult executeScript(InputStream is)
      • SqlQueryResults executeSqlQuery(InputStream is)
      • HqlQueryResults executeHqlQuery(InputStream is)
      • Configuration getConfiguration(String key)  
  •  MailService
    • New method
      • createMail(Mail mail)
      • getMailProperties(String mailId)
      • deleteMail(String mailId)
      • purgeMail(String mailId)
      • renameMail(String mailId, String newName)
      • moveMail(String mailId, String dstId)
      • copyMail(String mailId, String dstId, String newName)
      • extendedMailCopy(String mailId, String dstId, boolean categories, boolean keywords, boolean propertyGroups,boolean notes, boolean wiki)
      • getMailChildren(String fldId)
      • isValidMail(String mailId)
      • getMailPath(String uuid)
      • importEml(String dstId, InputStream is)
      • importMsg(String dstId, InputStream is)
  • BookmarkService:
    • New methods:
      • getUserBookmarks()
      • createBookmark(String nodeId, String name)
      • renameBookmark(int bookmarkId, String newName)
      • deleteBookmark(int bookmarkId)
      • getBookmark(int bookmarkId)
  • Search changes
    • Adding methods:
      • findByQuery(String query)
      • findByQueryPaginated(String query, int offset, int limit)
  • WorkflowService
    • New method
      • registerProcessDefinition(InputStream is)
      • deleteProcessDefinition(long pdId)
      • getProcessDefinition(long pdId)
      • runProcessDefinition(long pdId, String uuid, List<FormElement> values)
      • findProcessInstances(long pdId)
      • findAllProcessDefinitions()
      • findLatestProcessDefinitions()
      • findLastProcessDefinition(String name)
      • getProcessInstance(long piId)
      • findUserTaskInstances()
      • findTaskInstances(long piId)
      • setTaskInstanceValues(long tiId, String transName, List<FormElement> values)
      • getTaskInstance(long tiId)
      • startTaskInstance(long tiId)
      • setTaskInstanceActorId(long tiId, String actorId)
      • endTaskInstance(long tiId, String transName)
      • getProcessDefinitionForms(long pdId)
  • Bugs:
    • Bug to upload documents with accented names. Affected methods ( createDocument, checkin, createAttachment, importMSG, importEML and doc2txt)
    • Improvement in the Serializations and Deserializations of the 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:
    • Changes methods:
      • Document getDocumentProperties(String docId), correction with the serialization of the type Document.
  • PropertyGroups changes:
    • Changes methods:
      • List<FormElement> getPropertyGroupProperties(String nodeId, String grpName), correction with the serialization of the type FormElementComplexList.
      • List<FormElement> getPropertyGroupForm(String grpName), correction with the serialization of the type FormElementComplexList.
  • Search changes:
    • Changes methods:
      • List<QueryResult> findByContent(String content), correction with the serialization of the type List<Node>.
      • List<QueryResult> findByName(String name), correction with the serialization of the type List<Node>.
      • List<QueryResult> findByKeywords(List<String> keywords), correction with the serialization of the type List<Node>.
      • List<QueryResult> find(QueryParams qp), correction with the serialization of the type List<Node>.
      • ResultSet findPaginated(QueryParams queryParams,int offset, int limit), correction with the serialization of the type List<Node>.
  • Bugs:
    • Visual Basic is not case sensitive in class properties, so they have been renamed as follows: TITLE for _TITLE and 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
    • Adding method isValidDocument.
    • Download large files. Affected methods: getContentByVersion.
  • Repository
    • Adding methods:executeScript and executeHqlQuery.
  • Search
    • Adding methods: saveSearch, updateSearch, getSearch, getAllSearchs and deleteSearch.
  • Bugs
    • General
      •  Validation of the host URL for methods using System.Net.Http.  Affected methods: createDocumentSimple and check-in.
    • Conversion
      • Adding Header "Content-Type" and return temporal 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: createDocumetSimple, 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
    • Replacement in QueryResult of the properties: Document, Folder, Mail and Document attachment by the Node type.

v1.1.2

  • Fixed problem the bug while searching with method findPaginated.

v1.1.1

  • Released 2015-11-18
  • Fixed problem with MessageBox present in some methods.