Changelog of version 1.x

 SDK for .NET 1.x

v1.5.0

  • In progress
  • MailService
    • New methods
      • 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 methods
      • 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> getUserSearches()
      • 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 methods
      • 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:
    • Added 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:
    • Added 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 methods
      • 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 methods
      • 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
    • Added methods:
      • findByQuery(String query)
      • findByQueryPaginated(String query, int offset, int limit)
  • WorkflowService
    • New methods
      • 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 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.