01-06-2017 04:52 AM
We are using Alfresco Community Edition 5.2. We are building a front-end layer on top of Alfresco for searching and downloading documents. For searching, we are using the POST Search RESTful API available in v5.2.
We are also creating a custom field for 'Creation Date', since we want to show the date a document was created, rather than uploaded to the system.
I could not find this in the documentation - but is there a way to retrieve our custom date field using the RESTful API? How can this be done?
01-06-2017 06:28 PM
If you can share the exact URL you are POSTing to that would be helpful.
In general, you should be getting back node references which you can then use to get all of the properties.
If you want to get properties back that are not included in the out-of-the-box search response, you can either extend the web script to include your custom properties in the response or you can implement your own search end point using a custom web script and return exactly what you need.
01-09-2017 05:20 AM
Hi Sanket,
Have you tried setting "include": ["properties"] ?
You can use the include JSON body parameter to return additional information. This works in the same way as in the /nodes/{nodeId}/children method in the core API. For example:
"include": ["aspectNames", "properties", "isLink"]
Regards,
Jan
04-16-2022 04:05 PM
Am looking for same anwser
Explore our Alfresco products with the links below. Use labels to filter content by product module.