Introduction
In ARender, a profile enabled the use of a specific interface configuration.
Thanks to the profiles feature, you can use specific CSS, hide/show icons, modify panel width…
Existing profiles
ARender is delivered with a default configuration and three profiles as follows:
Nom | Description |
---|---|
Base: arender-default.properties | Default configuration file offering a standard configuration for standalone use. Do not modify this profile |
arender | Profile dedicated to a specific configuration shared for all users. Editable |
book | Profile allowing visualization as book reading |
jsapi-demo | Profile presenting all features available with the ARender Javascript API |
http://arender.arondor.com/ARender/ARender.html?url=../samples/arender-en.pdf&props=book
Add 1 or N profiles
It is possible to a multiple specific profiles in order to dedicate interface configuration to users ou group of users.
Properties are listed in the file arender-default.properties located in WEB-INF/classes of ARender WAR (or EAR).
Steps to follow to create a new profile
- Create a file named for example newProfile.properties
- Add to this file the properties you want to modify (for example:
visualization.rotation.save.enabled=true
) - Save the file and add it to the Application Server classpath (for example: in the folder WEB-INF/classes of ARender WAR (ou EAR))
To trigger the use of this specific profile, add to the URL the parameter props and the name of the profile (without its extension):
http://localhost:8080/ARenderHMI/?url=../samples/arender.pdf&props=newProfile