New HTML Form Render & Submit Processes
For every ‘AssignTask’ operation, specify a Render and a Submit process with the form. These processes are called by TaskManager renderForm
and submitForm
APIs to allow custom handling. Semantics of these processes for New HTML Form:
Render a new HTML form
The new process to render HTML, like every render process, has the following I/O parameters -
Input - taskContext
Output - runtimeMap
Output - outFormDoc
This method simulates the exact behavior of renderHTMLForm
API of the NewHTMLFormsService. It calls the generateFormURL
API to get the URL for HTML rendition of the form. It then populates the runtimeMap with following key or values:
new html form = true
newHTMLFormURL = the URL returned after calling generateFormURL
API.
Submit a new HTML form
This process to submit a new HTML form works with the following I/O parameters -
Input - taskContext
Output - runtimeMap
Output - outputDocument
The process sets the outputDocument
to the inputDocument
retrieved from taskContext
.
Default Render or Submit processes, and action profiles
The default Render and Submit services enable support to render PDFs on a desktop, and HTML on mobile devices (iPad).
Default Render Form
This process renders an XDP Form on multiple platforms, seamlessly. The process retrieves the user agent from taskContext
, and uses the data to call the process to render either HTML or PDF.
Default Submit Form
This process submits an XDP form on multiple platforms seamlessly. It retrieves the user agent from taskContext
and uses the data to call the process to submit either HTML or PDF.
Switch the rendering of mobile forms from PDF to HTML
Browsers are gradually withdrawing support for NPAPI-based plug-ins, including plug-ins for Adobe Acrobat and Adobe Acrobat Reader. You can change rendering of mobile forms from PDF to HTML using the following steps:
-
Log in to Workbench as a valid user.
-
Select File > Get Applications.
Get Applications dialog appears.
-
Select the applications for which you want to change the mobile form rendering and click OK.
-
Open the process for which you want to change the rendering.
-
Open the targeted startpoint/task, navigate to the Presentation & Data section, and click Manage Action Profiles.
Manage Action Profiles dialog appears.
-
Change Default render profile configurations from PDF to HTML and click OK.
-
Check in the process.
-
Repeat the steps to change the rendering for other processes.
-
Deploy the application relevant to the processes you have changed.