Web AppBuilder widget to submit a form post?

02-03-2023 01:45 PM
Occasional Contributor III

I have a 3rd party website that I'd like to link to from my Web AppBuilder app. This website accepts form post submissions, and one of the required form fields is a polygon formatted as JSON text. It's remarkably simple to do in HTML, but I'm not sure how I'd add this to my Web AppBuilder app without creating a custom widget. Right now, this is deployed to ArcGIS Online, with no Portal or web servers from our organization, so I believe I am limited to the default widgets. Is there anything that could do something like this? 

I'm willing to get creative to work around how the input features are collected. Right now, the users mostly sketch polygons with their mouse, but we could use selected features or something else, as needed. 

Here is a working form from a basic HTML web page: 

<form name="SUBMIT_Form" target="_blank" method="post" action="<URL>">
   <input type="hidden" name="location.footprint"
    <input type="hidden" name="requestor" value="<our_app_URL>">
    <input type="hidden" name="destination" value="resources">
    <input type="hidden" name="project.name" value="">
    <input type="submit" value="Open Report" />


0 Kudos
0 Replies