CORS Error while integrating HTML form with Adobe Workfront. | Community
Skip to main content
Level 2
January 20, 2025
Solved

CORS Error while integrating HTML form with Adobe Workfront.

  • January 20, 2025
  • 1 reply
  • 634 views

Hi all,

 

I am trying to integrate an HTML form with Adobe Workfront so that after submitting that form, a task or project can be created. But I am getting a CORS error. How can we handle this error? As per documentation, support has been ended for JSONP, and adding domains to the allowlist for CORS is supported only for customers who were using JSONP prior to August 1, 2018.

Please help me to resolve this issue.

 

Regards,

Alksh

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

Hi @alkash4

 

Thank you for your question! CORS (Cross-Origin Resource Sharing) errors occur when your browser blocks requests from your HTML form because the origin (domain) of your form does not match the origin of the Workfront API server.

 

You could potentially approach a solution using Workfront Fusion scenario:

 

1) Trigger the scenario when new forms are submitted (you could use Google Forms or a similar platform to store the form itself) 
2) Create or update the task or project in Workfront with the necessary data mapped from the previous module 

 

https://experienceleague.adobe.com/en/docs/workfront-fusion/using/references/apps-and-their-modules/adobe-connectors/workfront-modules 

 

https://experienceleague.adobe.com/en/docs/workfront-fusion/using/references/apps-and-their-modules/third-party-app-connectors/google-forms-modules 

 

This approach abstracts CORS handling, as Fusion handles the API interaction. 

 

- Monica 

1 reply

monicacardosoAdobe EmployeeAccepted solution
Adobe Employee
January 28, 2025

Hi @alkash4

 

Thank you for your question! CORS (Cross-Origin Resource Sharing) errors occur when your browser blocks requests from your HTML form because the origin (domain) of your form does not match the origin of the Workfront API server.

 

You could potentially approach a solution using Workfront Fusion scenario:

 

1) Trigger the scenario when new forms are submitted (you could use Google Forms or a similar platform to store the form itself) 
2) Create or update the task or project in Workfront with the necessary data mapped from the previous module 

 

https://experienceleague.adobe.com/en/docs/workfront-fusion/using/references/apps-and-their-modules/adobe-connectors/workfront-modules 

 

https://experienceleague.adobe.com/en/docs/workfront-fusion/using/references/apps-and-their-modules/third-party-app-connectors/google-forms-modules 

 

This approach abstracts CORS handling, as Fusion handles the API interaction. 

 

- Monica 

Alkash4Author
Level 2
January 30, 2025

Thank you for the response, @monicacardoso 

 

Regards,

Alka Sharma