alfresco-ng2-components/docs/process-services/select-apps-dialog.component.md

35 lines
686 B
Markdown

---
Added: v2.0.0
Status: Active
---
# Select app Component
Show all available apps and return the selected app.
![select-apps-dialog](../docassets/images/select-apps-dialog.png)
## Basic Usage
```ts
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
- [Start process component](start-process.component.md)