Hosting Custom Web Forms
You can use custom forms that are hosted on a separate domain.
HTTP Headers
To load custom web forms, you must:
- Create a secure web host.
- Add the following HTTP header to each host response: Access-Control-Allow-Origin.
- Configure the HTTP header value for each host response to include the domain information where you will be hosting the custom forms.
- Add a second HTTP header to each host response: Access-Control-Allow-Headers with the value authorization,content-type,pragma,cache-control.
Using IIS to Host Custom Web Forms
Note: This section assumes that you have a knowledge of web administration, and that you have already set up a web application and created a location containing a custom web form.
- Start the Internet Information Services (IIS) Manager application.
- Select the folder that contains the form.
- From the IIS section in the central panel, double-click HTTP Response Headers.
- From the Actions panel, click Add.
- In the Name field, enter Access-Control-Allow-Origin.
- In the Value field, enter the host where the Task List will be hosted. For example, for the Vision web server, enter https://mywebserver.
- Click OK.
- To add another header, from the Actions panel, click Add.
- In the Name field, enter Access-Control-Allow-Headers.
- In the Value field, enter authorization,content-type,pragma,cache-control.
- Click OK.