02-21-2019 11:41 PM
I just began to use ADF. I want to use login function following this:https://www.alfresco.com/abn/adf/docs/core/login.component/ .
but when I pushed login-button, a loading was shown.
I use only process service(BPM).
I want to use the BPM login function.
how do I implement login function?
----------login.compornent.ts----------
import { Component } from '@angular/core';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css']
})
export class LoginComponent {
mySuccessMethod($event) {
console.log('Success Login EventEmitt called with: ' + $event.value);
}
myErrorMethod($event) {
console.log('Error Login EventEmitt called with: ' + $event.value);
}
}
--------------------------------------------
----------login.compornent.html----------
<adf-login
[showRememberMe]="true"
[showLoginActions]="false"
(success)="mySuccessMethod($event)"
(error)="myErrorMethod($event)"
successRoute="/home"
>
<adf-login-header>
<ng-template>
ログインしてください。
</ng-template>
</adf-login-header>
</adf-login>
--------------------------------------------
02-25-2019 06:15 AM
Hi Karin,
Maybe you want to consider to go through the tutorials before:
https://www.alfresco.com/abn/adf/docs/tutorials/
Eugenio
02-25-2019 06:15 AM
Hi Karin,
Maybe you want to consider to go through the tutorials before:
https://www.alfresco.com/abn/adf/docs/tutorials/
Eugenio
02-25-2019 07:05 AM
Hi Eugenio,
thank you for your message.
but I tried the tutorials, I couldn’t login.
Can’t I use login compornent only following the code?
Is it necessary any code like a event?
——
<adf-login
successRoute=“/home”>
</adf-login>
——
02-27-2019 09:38 AM
Sorry, Might file is corrupted.
I installed on another machine, it did well.
Explore our Alfresco products with the links below. Use labels to filter content by product module.