Difference between revisions of "Profile Custom Element"

From ADF Docs
Jump to: navigation, search
(Fields)
Line 3: Line 3:
  
 
== Fields ==
 
== Fields ==
Tab 1 - Profile
+
<h3>Tab 1 - Profile</h3>
 
+
<table id="ce-fields">
* uniqueID
+
<tr class="header">
** Type: Hidden
+
  <td>Field Name/Label</td>
** Default Value: ColdFusion Expression: createuuid()
+
  <td>Field ID</td>
* photo
+
  <td>Field Type</td>
** Type: Image
+
  <td>Required?</td>
** Label: Photo
+
  <td>Properties</td>
* userID
+
</tr>
** Type: Text Field Edit Once
+
<tr>
** Label: User ID
+
  <td>uniqueID</td>
*** Properties:
+
  <td>uniqueID</td>
**** Field ID: userid
+
  <td>Hidden</td>
**** Field Size: 40
+
  <td>N/A</td>
*** Security:
+
  <td>Default Value: {createuuid()}</td>
**** Anonymous Users - Read
+
</tr>
**** Authenticated Users - Read
+
<tr>
**** (Site Admin Group) - Read, Edit
+
  <td>Photo</td>
**** (Site Admin User Account) - Read, Edit
+
  <td>photo</td>
* firstName
+
  <td>Image</td>
** Type: Text
+
  <td>Yes</td>
** Label: First Name
+
  <td>
*** Properties:
+
Field Name: userIDFld
**** Size: 40
+
<br>Field Size: 40
* lastName
+
<br>Default Value: {request.user.userid}
** Type: Text
+
<br>Edit Once: true
** Label: Last Name
+
<br>Security:
*** Properties:
+
<br>Anonymous Users - Read
**** Size: 40
+
<br>Authenticated Users - Read
* email
+
<br>(Site Admin Group) - Read, Edit
** Type: Text
+
</td>
** Label: Email
+
</tr>
*** Properties:
+
<tr>
**** Size: 40
+
  <td>First Name</td>
* phone
+
  <td>firstName</td>
** Type: Text
+
  <td>Text</td>
** Label: Phone
+
  <td>Yes</td>
*** Properties:
+
  <td>Size: 40</td>
**** Size: 40
+
</tr>
 
+
<tr>
Tab 2 - Background
+
  <td>Abstract</td>
 
+
  <td>abstract</td>
* bio
+
  <td>Large Text Area</td>
** Type: Large Text Area
+
  <td>No</td>
** Label: Bio
+
  <td>Columns: 40<br>Rows: 4</td>
* website
+
</tr>
** Type: URL
+
<tr>
** Label: Website
+
  <td>Category</td>
*** Properties:
+
  <td>category</td>
**** Size: 40
+
  <td>Custom Element Select Field</td>
* blog
+
  <td>Yes</td>
** Type: URL
+
  <td>
** Label: Blog
+
Custom Element: Photo_Category
*** Properties:
+
<br>Select Value Field: categoryID
**** Size: 40
+
<br>Select Display Field: Title
 +
<br>Field Name: category
 +
<br>Field Display Type: Visible
 +
  </td>
 +
</tr>
 +
<tr>
 +
  <td>Photo</td>
 +
  <td>photo</td>
 +
  <td>Photo Upload</td>
 +
  <td>Yes</td>
 +
  <td>
 +
Photo Category Field Name: category
 +
<br>Include Image Gallery Field Name: includeImageGallery
 +
  </td>
 +
</tr>
 +
<tr>
 +
  <td>Include Photo in Image Gallery</td>
 +
  <td>includeImageGallery</td>
 +
  <td>Photo Image Gallery Checkbox Field</td>
 +
  <td>No</td>
 +
  <td>
 +
Field Name: includeImageGallery
 +
<br>Field Display Type: Visible
 +
<br>Default Field Value: Checked
 +
<br>Image Gallery PageID Field Name: imgGalleryPageID
 +
  </td>
 +
</tr>
 +
<tr>
 +
  <td>Image Gallery PageID</td>
 +
  <td>imgGalleryPageID</td>
 +
  <td>Custom Hidden Field</td>
 +
  <td>Yes</td>
 +
  <td>Field ID: imgGalleryPageID</td>
 +
</tr>
 +
</table>
  
 
[[Category:Profile]]
 
[[Category:Profile]]

Revision as of 15:15, 29 March 2010

Overview

Profile Custom Element for storing the main profile data.

Fields

Tab 1 - Profile

Field Name/Label Field ID Field Type Required? Properties
uniqueID uniqueID Hidden N/A Default Value: {createuuid()}
Photo photo Image Yes

Field Name: userIDFld
Field Size: 40
Default Value: {request.user.userid}
Edit Once: true
Security:
Anonymous Users - Read
Authenticated Users - Read
(Site Admin Group) - Read, Edit

First Name firstName Text Yes Size: 40
Abstract abstract Large Text Area No Columns: 40
Rows: 4
Category category Custom Element Select Field Yes

Custom Element: Photo_Category
Select Value Field: categoryID
Select Display Field: Title
Field Name: category
Field Display Type: Visible

Photo photo Photo Upload Yes

Photo Category Field Name: category
Include Image Gallery Field Name: includeImageGallery

Include Photo in Image Gallery includeImageGallery Photo Image Gallery Checkbox Field No

Field Name: includeImageGallery
Field Display Type: Visible
Default Field Value: Checked
Image Gallery PageID Field Name: imgGalleryPageID

Image Gallery PageID imgGalleryPageID Custom Hidden Field Yes Field ID: imgGalleryPageID