Quantcast
Channel: TechCenter
Viewing all articles
Browse latest Browse all 2350

How to add a fixed text to a web form?

$
0
0
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.

  1. Configuration/Server Configuration/Virtual Attributes
  2. New -> Virtual Attribute
  3. 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

  1. Reconnect
  2. User -> Properties -> Object -> Advanced Properties
  3. Show All possible values: true
  4. Include attributes with emtpy values: true
  5. 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

  1. Restart IIS. Open http://localhost/ARServerAdmin/http://localhost/AR[[ars-wiki&mce_rdomain=dell.com:http://localhost/ARServerAdmin/|]]ServerAdmin/
  2. Customization -> Directory Objects
  3. User -> General Properties
  4. Edit Form
  5. Add Entry -> Create
  6. Show all possible properties: true
  7. Select edsvaHTML
  8. Entry name: HTML link. Ok
  9. Save
  10. Click "Reload"
  11. 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.

  1. 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
  2. Properties -> Object -> Advanced Properties
  3. Show all possible attributes: true
  4. Open "edsaWIEntries"
  5. Find FormEntry with attribute "Properties" is "edsvaHTML"
  6. 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="" />
  7. 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.


Viewing all articles
Browse latest Browse all 2350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>