21 redirect(
"data_import_field_mapping");
37 redirect(
"data_import_field_mapping?import_profile_id={$import_profile_id}");
49 trace(
"Mapping ".count(
$items).
" items", 3);
52 if (is_array(
$obj->spreadsheetFieldSizes))
76 $spreadsheet->emptyMessage =
"<strong>No valid records were found in the import file</strong>";
90 $spreadsheet->emptyMessage =
"<strong>No valid records were found in the import file</strong>";
97 <script type=
'text/javascript'>
101 window.addEvent(
'domready',
function()
110 <div
class=
"tab_border">
115 <div
id=
"sync_controls"></div>
119 <div
style=
'margin-top: 10px; width: 100%; overflow-y: auto'>
if(!DataSyncManager::fieldMappingHasMatchField($fieldMapping)) $filter
if($method=="POST") $script
Provides a central management class for event handlers and common functionality for the data_sync com...
static fieldMappingHasMatchField($fieldMappings)
static getFieldMapping($class, $import_profile_id)
static createImportItems($class, $import_profile_id=0, $file="", $format=null)
static generateFilter($fieldMapping)
static getAdminImportTabs()
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static notify($message, $blocking=false, $button="OK", $onClick="null")
Utility method to display a notification message to the user when the page has finished loading.
static getValue($component, $name)
Retrieve the value of the specified Setting.
$method
Pull out a simple reference to the request method.