All Aikau Tutorials are based on JSON Response which are returned from the repository, which will be rendered on the page. Is it also possible to use xml as Input for Aikau Widgets?
[...]
name: "alfresco/lists/AlfList",
config: {
loadDataPublishTopic: "ALF_CRUD_GET_ALL",
loadDataPublishPayload: {
url: "url/to/fetch/xml_data"
},
[...]
Thank you very much in advance for the answer.
Best regards
Kaffi
Solved! Go to Solution.
All default Aikau ReST handling has been designed with JSON in mind. There was never any intention of supporting XML in any way close to a "first class citizen". But technically, Aikau just relies on standard Ajax code provided by the Dojo framework, so anyone should be able to take the current JSON-based handling as a reference and implement XML handling...
Though to be honest, why would you want to handle XML? Only to consume some extremely old, legacy ReST endpoint. There should be no ReST endpoints in the Alfresco Repository that (only) provide XML...
All default Aikau ReST handling has been designed with JSON in mind. There was never any intention of supporting XML in any way close to a "first class citizen". But technically, Aikau just relies on standard Ajax code provided by the Dojo framework, so anyone should be able to take the current JSON-based handling as a reference and implement XML handling...
Though to be honest, why would you want to handle XML? Only to consume some extremely old, legacy ReST endpoint. There should be no ReST endpoints in the Alfresco Repository that (only) provide XML...
Thank you for your answer. I try to get data from an external service, that returns the information only in XML. Then I will convert the xml into json, for displaying in share via aikau.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.