AlfrescoApiService createAssociation()

Showing results for 
Search instead for 
Did you mean: 
Member II

AlfrescoApiService createAssociation()

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

I've implemented the alfresco api service as described here

let api: any = this.alfrescoApiService.getInstance();
const entry : AssociationEntry = await api.nodes.createAssociation(, 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