mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Update creating-javascript-app-using-alfresco-js-api.md
This commit is contained in:
parent
a3447836b1
commit
cff311897d
@ -45,7 +45,7 @@ Inside the `my-js-app` folder, create the `index.html` file with the following c
|
|||||||
<script src="node_modules/alfresco-js-api/dist/alfresco-js-api.js"></script>
|
<script src="node_modules/alfresco-js-api/dist/alfresco-js-api.js"></script>
|
||||||
<script >
|
<script >
|
||||||
|
|
||||||
this.alfrescoJsApi = new AlfrescoApi({ provider:'ECM', hostEcm: 'http://localhost:8082/' });
|
this.alfrescoJsApi = new AlfrescoApi({ provider:'ECM', hostEcm: 'http://localhost:8082' });
|
||||||
|
|
||||||
this.alfrescoJsApi.login('admin', 'admin').then(function (data) {
|
this.alfrescoJsApi.login('admin', 'admin').then(function (data) {
|
||||||
alert('API called successfully to login into Alfresco Content Services.');
|
alert('API called successfully to login into Alfresco Content Services.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user