// Create a script obj application.ADF.scripts.loadJQuery("1.3.2"); application.ADF.scripts.loadJQueryUI("1.7.2", "ui-lightness"); application.ADF.scripts.loadADFLightbox(); // Action Param if ( NOT StructKeyExists(request.params, "action")) request.params.action = "select"; // Form ID Param if ( NOT StructKeyExists(request.params, "formid")) request.params.formid = 0; // Data Page ID Param if ( NOT StructKeyExists(request.params, "datapageid")) request.params.datapageid = 0; // Call Back Function Param if ( NOT StructKeyExists(request.params, "cbFunct")) request.params.cbFunct = ""; // UUID Param if ( NOT StructKeyExists(request.params, "uuid")) request.params.uuid = ""; // UUID Param if ( NOT StructKeyExists(request.params, "linkUUID")) request.params.linkUUID = ""; // Form status if ( NOT StructKeyExists(request.params, "renderResult")) request.params.renderResult = false; // Get the CE element form fields formElementFlds = application.ADF.forms.getCEFieldNameData("Link Builder Data"); // Run this only if we are not in the select action if ( request.params.action NEQ "select" ) { // Check if we have the UUID but not the data page id. // Then use cedata to get the data page id for the UUID. if ( (request.params.datapageid LTE 0) AND (LEN(request.params.uuid)) ) { // Get the CE data for the uuid linkDataArray = application.ADF.ceData.getCEData(application.ADF.cedata.getCENameByFormID(request.params.formID), "uuid", request.params.uuid); // Check that we have linkDataArray if ( ArrayLen(linkDataArray) ) { request.params.datapageid = linkDataArray[1].pageid; // Set the link for the field if ( LEN(linkDataArray[1].Values.cspage) ) request.params.type = "cspage"; else request.params.type = "extpage"; } } }
Loading Form ...
Select the Link type to add: