This will perform an XML MRP 2+3 import. The format of the XML follows that defined by the XML import integration module.

Example parameter configuration

Parameter descriptions

(* = configuration required)

deleteAfterImport
true = The import file will be deleted when the import has finished.
false = The import file will be left untouched.

fileName *
The path to the import file or directory. It is possible to specify a directory in order to import multible import files – also see the filter parameter.

Rule 1: when fileName points to a directory then a file matching filter is imported only once. When the file is imported the date and time of the file is stored internally in the macro. Unless the file date and time is changed the file will not be re-imported. A file that has never been imported by the macro is imported no matter the date and time of the file.

Rule 2: If the path specified in fileName points to a real file (i.e. not a directory) then the file is imported every time the macro runs, i.e. the “import once” rule is not applied

filter
Use this parameter if fileName is specified to a directory.
For instance the filter ‘nov*’ will cause all import files beginning with ‘nov’ to be imported.

If this is left empty all import files in the directory will be imported.

ignoreResCal
true = Resource calendars will be ignored.
false = Resource calandars will not be ignored.

lastChanged
Internal use. Don’t change.

lastUpdated
Internal use. Don’t change.

moveAfterImportTo
Specify directory where imported file(s) will be moved to after successful completed import. This parameter is ignored if deleteAfterImport is true.

showLog
true = Show possible errors which occurred during the import, when import has finished.
false = Don’t show errors.

showFileChooser

true = File browser dialog will be shown, enabling user to select import file or directory. in that case fileName doesn’t have to be filled. However a path can be specified in the fileName and thus the file browser will open that directory.
false = Don’t show file browser dialog. fileName parameter must be filled.

type
Internal use. Don’t change.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment