Jump to content

Perform Script on Server - Insert Picture


PaulSamuelson
 Share

This topic is 2574 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 2574 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
 Share

  • Similar Content

    • By cbum
      Any Experience running FMS 16 on Big Sur?
      What about 15/16/17 clients?
    • By ahum
      Hi, my FMP server 13 PC crashed, I want to reinstall the Server but keep getting the APR not able to download problem, just like everybody else, just wonder does any one resolve this issues?
      Thanks,
      Andy
    • By Philip Sommers
      I currently administer a Filemaker 16 Server and only use Oracle Java for the admin console (web publishing is turned off). We want to get rid of Java rather than start paying for it. Rather than upgrade to FMS18, is it possible to use OpenJDK instead of Java for the FMS16 admin console? If so, is there anyone that can provide some guidance on how to do that?
    • By jjjjp
      After upgrading to FM Server 16, I am seeing that the automatic daily script executed from the server side is no longer doing so without error. The script sends email reminders to workshop presenters scheduled within 4 days. The error code, which I record in a log, is 119. However, that code isn't listed among the error codes listed in the online help:
      https://fmhelp.filemaker.com/help/16/fmp/en/#page/FMP_Help%2Ferror-codes.html%23
      Knowing the meaning of the error may provide useful information that will help me reconfigure the email account settings for the command Send Via SMTP Server.
      Thanks.
       
    • By "... you mean these fans?"
      Mr. Ignoramus
      We have a solution in Canada where we moved the db from a hosting company to a LAN ( customers building ) They are using a Mac OS machine running FileMaker 16 server.
      We access the FM 16 server via apple's remote access, having trouble locating where we would put the index.html and php files for our web form that we used when we were hosting on an outside hosting company.  The hosting company put the html/php file in the folder that designated our account number. 
      My question is this ... where would we put the two web files; index.html (form) and the .php (create record in FM) file on the FM 16 server.  I can not seem to locate the instruction via the documentation FM is providing.  Have done several internet search ...
      I am gathering information to pass to the individual helping us with the FM server at location.
      Anybody able to provide a link or guidance I would be grateful.
      Thank you.
       
  • Who Viewed the Topic

    13 members have viewed this topic:
    Msaeed  mr_vodka  Jason Chow  SHNorwood  anteas  lewisandrea  dysong3  Aussie John  DPaquin  Steve Martino  temp007  comment  bcooney 
×
×
  • Create New...

Important Information

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