Custom Angular component and ADF

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Senior Member II

Custom Angular component and ADF

Jump to solution

By Default ADF providing component related to APS but some scenaria it is not full filling custom requirement so I am trying to create custom component in angular and want to inegrate that with APS.

I have created Workflow in APS.

1)I have created custom angular coponent with form filed and I am able to start workflow from that.

this.processService.startProcess() I have used this api to start workflow.
 
2)Workflow is assigned to user and I have created custom angular form with required field.Now I want to submit that form (usertask) so which api I need to use in ADF?
I have checked api-explorer and found that below api is used to submit usertask.
POST /enterprise/task-forms/{taskId}
From ADF how can I call this api?

 

Thanks & Regard,
Sanjay
1 Solution

Accepted Solutions
Highlighted
Alfresco Employee

Re: ld Re: Custom Angular component and ADF

Jump to solution

For the validation, you can have custom validation for any form field (see docs: https://github.com/Alfresco/alfresco-ng2-components/blob/develop/docs/core/interfaces/form-field-val...).

For the rewriting of the start form, as I've suggested, please refer to the source code.

View solution in original post

5 Replies
Highlighted
Alfresco Employee

Re: Custom Angular component and ADF

Jump to solution

The entire ADF is open source, you can check how the Start Form component is implemented if you really want to rewrite it from scratch. 

What scenarios are not fullfilled by the ADF implementation? Maybe it is worth raising a feature request for the missing stuff?

Highlighted
Senior Member II

ld Re: Custom Angular component and ADF

Jump to solution

First part is user interface.

Second part is we have 40 to 45 field in form where some of the field having complex validation , some field having rest call so We thought to use custom angular component with form so we can provide validation.

In form some fields are depend on each other.

Thanks & Regard,
Sanjay
Highlighted
Alfresco Employee

Re: ld Re: Custom Angular component and ADF

Jump to solution

For the validation, you can have custom validation for any form field (see docs: https://github.com/Alfresco/alfresco-ng2-components/blob/develop/docs/core/interfaces/form-field-val...).

For the rewriting of the start form, as I've suggested, please refer to the source code.

View solution in original post

Highlighted
Community Manager
Community Manager

Re: ld Re: Custom Angular component and ADF

Jump to solution

Hi @sanjaybandhniya,

Can I suggest you start a new thread for point #2? That's because some people see it's solved & therefore move on without looking.

Cheers, 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Highlighted
Member II

Re: ld Re: Custom Angular component and ADF

Jump to solution

@dvuika wrote:

For the validation, you can have custom validation for any form field (see docs: https://github.com/Alfresco/alfresco-ng2-components/blob/develop/docs/core/interfaces/form-field-val... and https://essaywriters.site/best-dissertation-writer).

For the rewriting of the start form, as I've suggested, please refer to the source code.


Thanks! This was helpful!