• Set properties while creating docuıment

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #53027  by vngrshakan
 
I have metadata groups and properties and wanna set properties when im creating documents via RESTful api(document create or createSimple).
I cannot add properties from swagger collection. There are parameters here;
Code: Select all
 {
    "headers": {
      "additionalProp1": [
        "string"
      ],
      "additionalProp2": [
        "string"
      ],
      "additionalProp3": [
        "string"
      ]
    }
But its not working. Is there any way to set properties while creating documents?

OpenKm CE 6.3.9 version
 #53036  by jllort
 
Not possible, the OpenKM REST API does not have this method, you should create your own methods for this purpose. In the case of professional edition, the REST API has a method to extend with plugin architecture in case of CE must modify the current API code ( I suggest creating a new method instead of modifying the existing one ).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.