Revision 3 posted to Active Roles Wiki by DELL-Tatiana G on 3/14/2014 9:22:13 AM
How to add a fixed text to a web form?
FAQs, Tips and How-to's
1. Virtual attribute edsvaHTML
Creating a virtual attribute for user.
- Configuration/Server Configuration/Virtual Attributes
- New -> Virtual Attribute
- Fill
- Commmon-Name: edsvaHTML
- LDAP display name: edsvaHTML
- Syntax: DirectoryString
- Object Class: User
- Store values: true
2. Put value
An attribute value of an user
- Reconnect
- User -> Properties -> Object -> Advanced Properties
- Show All possible values: true
- Include attributes with emtpy values: true
- Put in "edsvaHTML" attribute a value, example "<a href="http://www.site.com">The link</b>". Ok
3. Change WI user properties form
A new entry to General Properties of user
- Restart IIS. Open http://localhost/ARServerAdmin/http://localhost/AR[[ars-wiki&mce_rdomain=dell.com:http://localhost/ARServerAdmin/|]]ServerAdmin/
- Customization -> Directory Objects
- User -> General Properties
- Edit Form
- Add Entry -> Create
- Show all possible properties: true
- Select edsvaHTML
- Entry name: HTML link. Ok
- Save
- Click "Reload"
- Select the User (from p.2.2), you see new field with the URL
4. Prepare WI configuration
A changing entry ID and entry type.
- Open the WI Configuration (working copy). There is a GUID of your web interface instance.
- Configuration/Application Configuration/Web Interface/15166884-ac84-4a88-b03b-99f58f6083f3/Customization Settings/WorkingCopy
- Properties -> Object -> Advanced Properties
- Show all possible attributes: true
- Open "edsaWIEntries"
- Find FormEntry with attribute "Properties" is "edsvaHTML"
- Set IsStatic to "true". Click OK.
<FormEntry ID="edsvaHTML" ResID="9fbdb1b9-d002-4b5d-adab-7d2636e70add" DescriptionResID="" ToolTipResID="" Properties="edsvaHTML" SingleValue="true" EntryType="1" DontShowCaption="false" IsHidden="false" IsStatic="true" Flags="0" Arguments="" FunctionAction="" />
- On WI site "Customization -> Reload" (check: the field is here)
The link has address from edsvaHTML attributes.
You might see the customization is trivial. Enjoy.