var profileFormID = application.ptProfile.getProfileFormID(); var rtnHTML = ""; var formResultHTML = ""; // Find out if the CE contains an RTE field var formContainRTE = application.ptProfile.cedata.containsFieldType(profileFormID, "formatted_text_block"); // Google Analytics tags for the profile action if ( arguments.dataPageID EQ 0 ) request.params.ga_contentActions = "profile-create"; else request.params.ga_contentActions = "profile-update"; application.ptProfile.scripts.loadJquery(force=true); application.ptProfile.scripts.loadADFLightbox(force=true);
Saving Profile...

// Wrap the form HTML in the LB header/footer rtnHTML = application.ptProfile.forms.renderAddEditForm( formID=profileFormID, dataPageId=arguments.dataPageId, customizedFinalHtml=formResultHTML, callback="syncProfile"); return rtnHTML;
var APIPostToNewWindow = true; var rtnHTML = ""; var formResultHTML = ""; //var formContainRTE = application.ptProfile.cedata.containsFieldType(arguments.formID, "formatted_text_block"); var CEName = application.ptProfile.cedata.getCENameByFormID(arguments.formID); request.params.userID = arguments.userID; application.ptProfile.scripts.loadJquery(force=1);
#ReplaceList(CEName, "_,-", " ")# Record Updated Successfully!

Click Here to close this window.
application.ptProfile.scripts.loadJQuery(force=1); #Server.CommonSpot.UDF.UI.RenderSimpleForm(arguments.dataPageID, arguments.formID, APIPostToNewWindow, formResultHTML)#
var targetModule = ""; var CD_dialogName = ""; var CD_Title = ""; application.ptProfile.scripts.loadJQuery(); application.ptProfile.scripts.loadADFLightbox(); if ( NOT StructKeyExists(request.params, "title") ) request.params.title = "Delete Profile"; targetModule = "/ADF/apps/pt_profile/datasheet-modules/delete_element_handler.cfm"; // IF in CS6.1 or greater set into 'RealTargetModule' variable if ( application.ADF.csVersion GTE 6.1 ) realTargetModule = targetModule; request.params.pageID = arguments.dataPageID; request.params.formID = arguments.formID; CD_dialogName = request.params.title; CD_Title = CD_dialogName;