variables.ElementName = getSocialMediaSelectorCEName();
variables.CCAPIName = getCCAPIName(ceName=variables.ElementName);
variables.ElementIDfield = "uniqueID";
var ceArray = Application.ptSocialMedia.CEData.getCEData(variables.ElementName);
return ceArray;
var dataStruct = StructNew();
var ceArray = Application.ptSocialMedia.CEData.getCEData(variables.ElementName,variables.ElementIDfield,arguments.uniqueID);
if ( ArrayLen(ceArray) )
dataStruct = ceArray[1];
return dataStruct;
var retStatusStruct = "failed";
// Populate dataValues struct into the element
retStatusStruct = application.ptSocialMedia.csContent.populateContent(variables.CCAPIName, arguments.dataValues);
/* retStatusStruct RETURNS: CONTENTUPDATED : true/false & CONTENTUPDATERESPONSE: Success:1 */
return retStatusStruct;