alfresco-ng2-components/docs/select-apps-dialog.component.md
Andy Stark 441d1e648e [ADF-2201] Tidied Start Process docs (#2864)
* [ADF-2201] Tidied Start Process docs

* [ADF-2201] Removed file with probably incorrect name
2018-01-23 14:56:42 +00:00

645 B

Select app Component

Show all available apps and return the selected app.

select-apps-dialog

Basic Usage

import { SelectAppsDialogComponent } from '@alfresco/adf-process-services';

constructor(private dialog: MatDialog) {
}
   
startSelectDialog(){
   const dialogRef = this.dialog.open(SelectAppsDialogComponent, {
       width: '630px',
       panelClass: 'adf-version-manager-dialog'
   });
   
   dialogRef.afterClosed().subscribe(selectedProcess => {
       this.processId = selectedProcess.id;
   });
}

See Also