· Apr 10, 2018

How can I create a directory on a network shared drive from a business operation

Hi All,

I have a line of mumps code that creates a folder on a network shared drive.


d ##class($Library.File).CreateDirectory("\\share\folder\newfolder")

If I run this line of code from a cache terminal window it works fine and creates the folder without problems.

However If I create a very simple business operation in a production in the same namespace that simply runs this one line of code then the code fails.

Anybody encountered this issue in the past and If so how did you overcome the problem. Google'd it a bit and someone suggested it might be how my username is assigned to the business operation. If this is the case then how is that done?

Thanks in advance,

Discussion (4)1
Log in or sign up to continue