application.ptProfile.scripts.loadJQuery();
application.ptProfile.scripts.loadADFLightbox();
// Check for the the Config Options
disableProfileEdit = application.ptProfile.getUserProfileEditStatus();
enableProfileEdit = true;
if ( disableProfileEdit )
enableProfileEdit = false;
CSRF_Token = application.ADF.csSecurity.getCSRF_Token();
// Initialize the metadata values
profileUserID = "";
profileType = "";
// Verify that the metadata form exists on the page
if ( StructKeyExists(request.page.metadata, "profiles") )
{
// Get the page metadata for the profile userID
if ( StructKeyExists(request.page.metadata.profiles, "userid") )
profileUserID = request.page.metadata.profiles.userid;
// Get the page metadata for the profile type
if ( StructKeyExists(request.page.metadata.profiles, "type") )
profileType = request.page.metadata.profiles.type;
}
// get the items
items = attributes.elementInfo.elementData.propertyValues[1];
// get the formID and dataPageID for editing
currentFormID = attributes.elementinfo.elementparams.properties.formid;
currentDataPageID = attributes.elementinfo.elementdata.propertyvalues[1].pageid;
if ( !StructKeyExists(Request, 'fullPageProfileCSS') )
{
application.ADF.scripts.loadUnregisteredResource('/ADF/apps/pt_profile/style/profile.css', "stylesheet", "head", "TERTIARY", 0, 0);
request.fullPageProfileCSS = 1;
}
#items.values.firstname# #items.values.lastname#
#items.values.bio#
No User Profile Exists