Factory Configuration

Stable Version 11.0.4 (O11)
Also available for 10, 9.1, 9, 8, 7
Published on 2 Jan (3 weeks ago) by 
Created on 29 September 2010
Documentation

After installing this component, please follow the steps below:

0 - Change the integration URL for the component in Service Center (http://bit.ly/2KUsj1y)

Navigate to Service Center for your PE and change the Integration URL for the consumed SOAP service to your personal environment as per the below:


1 - Open the page https://<Environment_URL>/FactoryConfiguration in a browser and log in using Service Center Credentials.


2 - Click on "Shared Configuration" > "Create New Shared Configuration"


3 - Add a meaningful "Name" to the configuration and add the XSLT template to the "Value" input by clicking the button "FILL"


4 - Look for and replace the two following lines:

<xsl:attribute name="executionTimeout">180</xsl:attribute>
<xsl:attribute name="maxRequestLength">65536</xsl:attribute>

with:

<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET,POST,OPTIONS" />
<add name="Access-Control-Allow-Headers" value="*" />


afterward, search for the following line:

<xsl:template match="/configuration/system.web/httpRuntime">

and replace with:

<xsl:template match="/configuration/system.webServer/httpProtocol/customHeaders">


5 - Click on tab "eSpaces" > search for the module that you want to change the headers > check the modules you want to add the configuration and click "Associate Shared Configuration"

6 - After finishing the steps above, don't forget to REPUBLISH your module.

7 - After republishing the module you should be able to see the headers within the requests of that module pages or services.


Support Options
OutSystems Supported
Customers entitled to Support Services may obtain assistance through Support.
Dependencies
Factory Configuration has no dependencies.