简体   繁体   中英

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

How can I add a new document to Content Server with Category Attribute value (BuilingId )using the postman 在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM