Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Perform Script on Server - Insert Picture

Featured Replies

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

"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.

  • Author

That's too bad, but at least it explains my problem.

 

 

And the "local system" user issue explains a different problem I was having (and how I need to fix it).

 

Thanks!

 

Paul

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.