I am trying to use ScriptMaster GetFileAsContainer to populate a container field with a file in the temporary path.
My script is basically:
set variable ($pathToFile = "file:" & get(temporarypath) & "test.xlsx")
export records ($pathToFile)
set field (myContainer = GetFileAsContainer( $pathToFile ))
The file is created, I can see it, the container field exists and is in the current context, The ScriptMaster module is registered,
but I am getting an ERROR in the container.
Any help?
Thanks