08-19-2020 08:45 AM
Hi there ,
I need to upload document using REST API . Along with this , I do have custom type (pololicy) defined and custom properties (pol:documentid) also . When i upload using POSTMan , i can see uploaded document and custom type in Alfresco , attached to uploaded to document . I can can custom propoerty shows blank , please see screen shot below for POSTMAN request . Am i doing anything wrong ? please help
Please see , above highlighted POSTMan client request. I dont see documentId "DOC_998" in Alfresco , I can see custom type "pololicy" in uploaded document . I can see , pol:documentId also, but blank
08-19-2020 10:46 PM
Using this api ,I'm afraid not ,I recommend folloing api,it is more powerful
http://dmstest03:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/{ parent node id}/children
08-19-2020 09:06 AM
Please use following api
http://dmstest03:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/{ parent node id}/children
for documentation please refer to https://api-explorer.alfresco.com/api-explorer/#!/nodes/createNode
08-19-2020 09:55 AM
Hi thanks for the response . But my problem is,
While i am uploading document , can i set custom propoerty ? . I can set custom type as mentioned in my original posting . for upload document i am using following API
http://dmstest03:8080/alfresco/service/api/upload
thanksa a lot
Brijesh N K
08-19-2020 10:46 PM
Using this api ,I'm afraid not ,I recommend folloing api,it is more powerful
http://dmstest03:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/{ parent node id}/children
08-20-2020 03:20 AM
@kaynezhang , thanks a a lot for this respone . I got it . Will go with this options
Explore our Alfresco products with the links below. Use labels to filter content by product module.