cancel
Showing results for 
Search instead for 
Did you mean: 

AlfrescoApiService createAssociation()

robertwoodhead
Champ in-the-making
Champ in-the-making

Has anyone used createAssociation() from the alfresco api service?

I've implemented the alfresco api service as described here https://www.alfresco.com/abn/adf/docs/core/services/alfresco-api.service/

let api: any = this.alfrescoApiService.getInstance();
const entry : AssociationEntry = await api.nodes.createAssociation(node.id, body);

and I get this error: ERROR Error: Uncaught (in promise): TypeError: api.nodes.createAssociation is not a function

I can see the function here https://github.com/Alfresco/alfresco-js-api/blob/development/src/api/content-rest-api/api/nodes.api....

0 REPLIES 0