How can I add a new document to Content Server with Category Attribute value (BuilingId )using the postman

797 Views Asked by At

How can I add a new document to Content Server with Category Attribute value (BuilingId )using the postmanenter image description here

1

There are 1 best solutions below

2
platinums On

You are trying to do too much at once. First add the file then apply the category, then add the buildingID to the category. See this thread on Appworks Site, top post explains that in detail.

Then once you are ready to edit the category... Use the form id of the input box for BuildingID , for example Key: "_1_1_13_1"
Value: "Your Data"

you will find this on the form itself in the html;

<textarea class="valueEditable multiline"  ----> id="_1_1_13_1" <----  name="_1_1_13_1" title="BuildingID" rows="5" cols="64" onchange="markDirty();"></textarea>

The best thing to figure this out is to use Postman and Postman Interceptor from the Chrome App Store.

Using these you can see what the form is sending to the server when you normally submit the category info, then work backwards from there.