Dear All,
I have a scenario wherein user uploads a file and it needs to be then read and then create multiple documents from it from web environment. I am using CSV file for this upload.
For this I have provided a form to user in which he uploads the file and after upload is done the user click on a button. This button then runs an agent on server which gives following error on the code.
The code which generates error is :
mEnv = session.GetEnvironmentString("Directory",True)
The error received is:
You must have UNRESTRICTED access in order to set environment variables or get system variables.
I have tried running this agent with Administrator’s ID and my own ID. My name as well as Administrators name is added in Server Document in Unrestricated Agent.
Any suggestion why this is not working. Also is there any better way of reading a CSV file and creating new documents without storing it on server.
Thanks in Advance…
Siddhartha