07-26-2018 07:41 AM
Hi, I am trying to implement login api from https://github.com/Alfresco/alfresco-js-api in IONIC project and getting this error.
Here is the .ts file for the reference
07-26-2018 08:25 AM
alfrescoApi: AlfrescoApi;
this.alfrescoApi = <AlfrescoApi> new alfrescoApi({
provider: 'YOUR_CONFIG',
hostEcm: 'YOUR_CONFIG',
hostBpm: 'YOUR_CONFIG',
authType: 'YOUR_CONFIG',
contextRootBpm: 'YOUR_CONFIG',
contextRoot: 'YOUR_CONFIG',
disableCsrf: 'YOUR_CONFIG',
oauth2: 'YOUR_CONFIG'
});
Can you try Like the code above?
We use it in ADF like that:
07-26-2018 08:25 AM
alfrescoApi: AlfrescoApi;
this.alfrescoApi = <AlfrescoApi> new alfrescoApi({
provider: 'YOUR_CONFIG',
hostEcm: 'YOUR_CONFIG',
hostBpm: 'YOUR_CONFIG',
authType: 'YOUR_CONFIG',
contextRootBpm: 'YOUR_CONFIG',
contextRoot: 'YOUR_CONFIG',
disableCsrf: 'YOUR_CONFIG',
oauth2: 'YOUR_CONFIG'
});
Can you try Like the code above?
We use it in ADF like that:
Explore our Alfresco products with the links below. Use labels to filter content by product module.