Service Portal - POST mappings
[postDataMappings]
You can open a support case from a Service Portal page using a HTML POST request. The data determined with the POST request can be acquired by IBI-helpMe in the create support case dialog if required. Currently, the fields Subject (id="Subject") and Description (id="Description") can be filled. The placeholder syntax %Html-Name%} can be used to access the data determined with the POST request.
Configuration.xml
<configuration version="1.2.0">
<applicationSettings>
...
<!-- Service Portal settings -->
<customContent>
<!-- Mapping a POST request -->
<postDataMappings>
<control id="Subject">
{%selPriority%} – {%txtSubject%}
</control>
<control id="Description">
{%txtDescriptionShort%}\n\n
{%txtDescription%}
</control>
</postDataMappings>
</customContent>
...
</applicationSettings>
</configuration>
Index.html
<!-- Service Portal page -->
<html>
...
<body>
<form enctype=”application/x-www-form-urlencoded"
action="ibihelpme:ShowSupportDialogWithPOST()"
id="showSupportDialogFrom" method="POST">
Dringlichkeit:<br/>
<select name="selPriority">
<option value="Prio0">Normal</option>
<option value="Prio1">Dringend</option>
</select>
<br/><br/>
Betreff:<br/>
<input type=”text” name=”txtSubject” />
<br/><br/>
Description (short):<br/>
<input type=”text” name=”txtDescriptionShort” />
<br/><br/>
Description:<br/>
<textArea type=”text” name=”txtDescription” />
</form>
</body>
...
</html>