-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF42, 11.x, 2021.2
-
Component/s: Renditions
-
Release Notes Summary:The operations RenderDocument & RenderDocumentFeed are usable with REST.
-
Tags:
-
Backlog priority:650
-
Team:PLATFORM
-
Sprint:nxplatform #26, nxplatform #27
-
Story Points:2
- install Nuxeo
- create a Note document
- issue the following command (please replace the credentials, hostname and document id to make the command work:
curl -u Administrator:Administrator -X POST 'http://localhost:8080/nuxeo/api/v1/automation/Render.Document' \ --header 'Content-Type: application/json' \ --data-raw '{ "params": { "template": "foo ${Document['\''dc:title'\'']} bar", "type": "ftl" }, "input": "52cb4a1e-514f-4373-b121-7f0960334ecd", "context": {} }'
Result is:
foo bar
Expected behavior: the result should be
foo MYNOTETITLE bar
Note: RenderDocumentFeed seems to have the same behavior
- Is referenced in