cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Angular component and ADF

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

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?
1 ACCEPTED ANSWER

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 answer in original post

5 REPLIES 5

dvuika
Star Collaborator
Star Collaborator

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?

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.

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.

MarkVal
Champ on-the-rise
Champ on-the-rise

@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!

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!