AEMaaCS Forms Core Components Custom Submit Action - SharePoint Submit | Community
Skip to main content
March 13, 2024

AEMaaCS Forms Core Components Custom Submit Action - SharePoint Submit

  • March 13, 2024
  • 3 replies
  • 2037 views

Hi All,

We are creating forms using Adaptive Form Core Components and there is a use case in which we need to submit Form Data to a Backend API which saves form data in CRM along and also store form data in Sharepoint as a backup mechanism. To cater to this scenario, we are writing our own custom submit action.  

Is  there is a mechanism by which we can utilise OOB Submit form action that submits form data to SharePoint within our custom submit Action? Any info would be greatly appreciated.

Thanks,

Mohit

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Adobe Employee
March 13, 2024

Make the submit button hidden

add another button on the form and on its click event store the data in crm and on success trigger the click event of the hidden submit button which submits to share point 

March 13, 2024

Thanks @workflowuser  for the response. Will check this but the overall idea is to ensure that Form User can easily author forms and easily able to configure form submissions hence custom submit action which does both the things and form user just need to select the custom submit action in the Form container.Above approach might not be a good user experience from a setup perspective. 
Is there a way using which we submit form data to SharePoint (utilise OOB classes/methods) within our custom submit Action? 

Adobe Employee
March 13, 2024

May be submit to workflow 

the workflow will have two steps- one to insert data in crm and other to insert in share point 

Adobe Employee
March 13, 2024

 

March 19, 2024

@workflowuser  Thanks for the response. We are trying to validate this mechanism. Also, not sure saving form data as a list would be preferred way. Wanted to check with you is there a way we can submit to Sharepoint Document Library either using workflow or our own custom submit action instead of Sharepoint list?

April 2, 2024

Let me check


@workflowuser Let me know if you got a chance to check on submission to Document library using custom submit action or via W/F.

Adobe Employee
August 22, 2024

If you use a SharePoint list form data model, a workflow can be utilized to save data in CRM by invoking the CRM form data model service. In the next step, another invoke service can be used to save the data back into the SharePoint list.

While I understand that a SharePoint document library stores data as blobs and a SharePoint list stores it in rows and columns, it's important to note that a SharePoint list offers significantly more functionality compared to a document library.