Skip to main content
Skip table of contents

Operation: Update Configuration

The Update Configuration operation updates the configuration located in the project with the specified ID.

Note:

The changes are updated only at runtime and are stored in a .runtime file. The .wac file in the repository is not updated. For more information, see Using Runtime Configurations.

These attributes are not changed at runtime:

  • <Notifications />
  • <HeaderIncludes />


Example

Input

The adapter expects an XML document (example below) as input.

XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Update>
	<Id>2a1c0699-cda1-4bdb-ac98-60834c74edd4</Id>
	<Configuration>
		<Url path="WebAppProject_1"/>
		<General displayName="$FailureReport"
		         enableCookieConsent="true"
		         enableOverlayBlurredBackground="true"
		         faviconUrl="favicon.png"
		         logoUrl="icon:3d_rotation"
		         logoColor="50"
		         imprintLink="Imprint.de"
		         dprLink="DPR.de"
		         enableUrlParameters="true"
		         showFooter="true"
		         showHeader="true"/>
		<Access accessRight="Admin"
		        authorizationFlow="Public Access"
		        realm="X4Realm"
		        client="X4"
		        clientSecret="A8M5pezJvqp9G)Nfx6aw9A(("/>
		<Logout redirectUrl="https://www.softproject.de/"/>
		<Status active="true"
		        localOnly="true"/>
		<MapAPIKey/>
		<SecurityHTTPHeaders>
			<StrictTransportSecurity enabled="false"
				preLoad="false" includeSubDomains="false" maxAge="0" />
		</SecurityHTTPHeaders>	
	</Configuration>
</Update>

The following elements have to be included in the input:

ElementDescription
UpdateThe root element of the XML document.
IdUUID of the project where the Configuration .wac is located.
ConfigurationThe root element of the .wac file
SecurityHTTPHeadersUsed to protect the Web App against unwanted attacks.

The attributes of the elements can be found in the Web App Guide, in the section Declaring Configuration.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.