Hey,
I don't understand how to use scriptArgs in [AlfrescoApiService].getInstance().webScript.executeWebScript in ADF.
I tried several ways, even using a regular string, but none of them worked.
I solved it for now by adding the args to tthe scriptPath and it works, but I wondered if someone could explain how the scriptArgs work.
this.apiService.getInstance().webScript.executeWebScript(
'GET',
`api/vmm/agendastructuur/workspace/SpacesStore/${result.id}?showAgendapunten=false`,
null,
null,
null,
null
).then(
(response: any) => {
const convertedResponse = this.objectToObjectArray(response);
// console.log(convertedResponse);
this.nodes = convertedResponse;
}
);
Thanks!
David.