Portlet Factory, Version 6.1.2
Profile set structure
All profile sets share a similar structure, essentially containing a list of entries and profiles that specify values for those entries. A profile set includes the following major elements:
- Entries
- Contains 0 or more <entry /> elements. Each entry element corresponds to one "unit" of variability in your web application. Each entry element includes information about how it is displayed in the profile manager and the UI control to use to set its value.
- Profiles
- Contains a set of <profile /> elements.
- Profile
- Contains values for each entry element included in the profile set. When you profile a builder call input, you associate a builder call input with a profile entry value.
The following code sample defines a simple profile set:
<ProfileSet name="southwest"> <Description>Profiles for Southwest users</Description> <ProfileDef> <Entries> <Entry name="CustomerName"> <UI type="TextInput"> <Prompt>Customer Name</Prompt> </UI> </Entry> <Entry name="ProductData"> <UI type="Checkbox"> <Prompt>Products</Prompt> <ExtraData></ExtraData> </UI> </Entry> </Entries> </ProfileDef> <Profiles> <Profile name="Default" last_modified="1013788720766"> <Values> <Value name="CustomerName">Bobby Jo</Value> <Value name="CustomerName_Text_Text">Bobby Jo</Value> <Value name="ProductData"></Value> </Values> <Roles /> </Profile> <Profile name="Northeast" last_modified="1013788720766" parent="Default"> <Values> <Value name="CustomerName">Bobby Jo</Value> <Value name="CustomerName_Text_Text">Jo Bob</Value> </Values> <Roles /> </Profile> </Profiles> </ProfileSet>Parent topic: Profile sets
Library | Support |