#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))
#ENDLOCAL
#IF(#EXPORT_SELECTED_OBJECTS)
#LOOP(#SelectedObjects)
#ENDLOOP
#INCLUDE("CSVSelectiveExportMessage")
#ELSE
#ENDIF
{UnityFurtherOptions}
#REM #ENDREM
#REM #ENDREM
#IF(NOT #EXPORT_SELECTED_OBJECTS)
#ELSE
#ENDIF
#ENDWITH_ERROR