In version 2310, the possibility of injection into DLE and Print Preview has been added. Example usage will be included on the Extension Portal after the new version is released to customers with Early Access.
- Via Polarion properties (Requires access to the filesystem)
- Configuration Properties in Polarion Global Administration
For this example, we are using the Polarion property com.siemens.polarion.scriptInjection.mainHead in the polarion.properties file, which appends the string (of HTML/JS/CSS) to the <head>) tag of the main pages of Polarion.
Alternatively, you can insert the custom code via the following runtime Configuration Properties in Polarion Global Administration:
Please note, that the string needs to be in one-line format. To get your HTML in one line you can use tools such as this one.
For more details, please see the Customize Polarion User Interface section in Polarion help.
HTML snippet customization offers a lot of power and flexibility, but be careful. With great power comes great responsibility and admins implementing these extensions need to adequately understand the functional, performance, security, and end-user impact they can have on end users.
Visit our Polarion Community for guidance and learn how other customers leverage the benefits of this new feature.