Jump to content

Perform Script on Server - Insert Picture


This topic is 3562 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am trying to do an "Insert Picture" script step on a Server and not getting any results. The script works fine (but too slow for the volume of images) on a client. This seems like a perfect case for "Perform Script on Server" but it is not working.

 

The server is 13.0.3.300 on Windows 7. User Account Control is off.

 

The JPGs are on a file server. The server has access to the files. The drive is mapped exactly the same as a client.

 

The script provides the correct context (layout and find) for the import, but the server is not finding the images.

 

Is there something else I need to do on the server to make this work?

 

Thanks,

 

Paul Samuelson

Link to comment
Share on other sites

"insert picture" is not a server-compatible script step.  Set your scriptMaker (lower left corner) to "server" and all the grayed-out steps are the ones you can not use.

 

Apart from that:

drive mapping is a user-space thing.  FMS runs as a service under the "local system" account (by default).  So it does NOT have access to files on a remote share.  Not unless you have changed the account that FMS runs under.

If you do change the account, you still would not use drive mapping because that implies that a user is actually logged into the OS.  Use the UNC name of the share itself (serverNameshareNamesomeFile.jpg) to avoid that vulnerability.

Link to comment
Share on other sites

This topic is 3562 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.