#IF(#IMPORT_OK)

{ImportOK}

#IF(#ImportFileName){NewImportFile}: #ImportFileName (#ImportFileSize[integer] kB)#ENDIF
#ELSIF(#IMPORT_NOTIMPLEMENTED)

{Notification}

{ImportNotImplemented}

#ENDIF #WITH_ERROR(#FormError) #IF(#FormError)
#IF(#FormErrors.Form.CSVExportImport) #IF(#FormError_Export)

{ExportErrors}

#ELSE

{InputError}

{PleaseCorrectErrors}

#ENDIF #IF(#FormError_Export)
{HideDetails}
    #LOOP(#FormErrors.Form.CSVExportImport.Errors) #LOCAL("ErrorDisplayed", 0) #MENU("CSVExportImportErrors") #INCLUDE(#Template) #ENDMENU #IF(NOT #ErrorDisplayed) #IF(#Reason EQ "WRITE_LINE_FAILED")
  • {WriteLineFailed}
  • #ELSIF(#Reason EQ "WRITE_LINE_WARNING")
  • {WriteLineWarning}
  • #ELSIF(#Reason EQ "INVALID_CHARACTER")
  • {InvalidCharacterEncodingUsed}
  • #ELSE #IF(NOT #Reason EQ "TOO_MANY_WARNINGS")
  • Reason #Reason #Name #Message
  • #ENDIF #ENDIF #ENDIF #ENDLOCAL #ENDLOOP
#IF(#FormErrors.Reason.TOO_MANY_WARNINGS)

{Notification}: {TooManyWarnings}

#ENDIF
#ENDIF #ELSE

{Notification}

{UnknownError} #ENDIF
#ENDIF #LOCAL("HelpCenterUrl", #HelpCenterUrl(#Session.User.Object))

{ExportWarningMessage} {UnityOpenHelpCenterLink}

#ENDLOCAL
#IF(#EXPORT_SELECTED_OBJECTS) #LOOP(#SelectedObjects) #ENDLOOP
#INCLUDE("CSVSelectiveExportMessage")
#ELSE
#ENDIF
{UnityFurtherOptions}
#REM #ENDREM
#REM #ENDREM
{UnityBubbleHelpEncoding}
{UnityBubbleHelpFormatting}
#LOCAL("ErrorConsideredLocaleID", #FUNCTION("ERROR_VALUE", #CSVLocale, #Session.User.LocaleID)) #IF(NOT #FormError AND #INPUT.CSVLocale) #SET("ErrorConsideredLocaleID",#INPUT.CSVLocale) #ENDIF #ENDLOCAL
#LOCAL("ErrorConsideredCSVDelimiter", #FUNCTION("ERROR_VALUE", #CSVDelimiter, "Comma")) #IF(NOT #FormError) #REM#ENDREM #IF(#Session.User.Locale.ListColumnSeparator EQ ",")#SET("ErrorConsideredCSVDelimiter","Comma")#ENDIF #IF(#Session.User.Locale.ListColumnSeparator EQ ";")#SET("ErrorConsideredCSVDelimiter","Semicolon")#ENDIF #IF(#Session.User.Locale.ListColumnSeparator NE "," AND #Session.User.Locale.ListColumnSeparator NE ";")#SET("ErrorConsideredCSVDelimiter","Tabulator")#ENDIF #REM#ENDREM #IF(#INPUT.CSVDelimiter)#SET("ErrorConsideredCSVDelimiter",#INPUT.CSVDelimiter)#ENDIF #ENDIF #ENDLOCAL
#LOCAL("ErrorConsideredCSVLanguage", #FUNCTION("ERROR_VALUE", #CSVLanguage, "AllLanguages")) #IF(NOT #FormError AND #INPUT.CSVLanguage) #SET("ErrorConsideredCSVLanguage",#INPUT.CSVLanguage) #ENDIF #ENDLOCAL
#IF(NOT #EXPORT_SELECTED_OBJECTS) #ELSE #ENDIF
#ENDWITH_ERROR