Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi,

I am not sure if it's the right place for this problem...

I have FileMaker Pro 6 and FileMaker Server 5.5.

I am trying to add new records to the database from the web using php.

I noticed a very strange thing - my script works when the layout used in the script is open. If the other layout is open in the database - the record is not inserted. I have no clue what might be the reason.

I am using FX class and my connection looks like that:

<?php

include_once ("FX.php");

$serverIP = "10.10.10.10";

$webCompanionPort = "471";

$recordData = new FX($serverIP, $webCompanionPort);

$recordData->SetDBData("example.fp5", "web_details");

...

?>

So when on the server layout "web_details" is open - it is working. If any othe rlayout is open - it is not.

I appreciate any ideas on this issue.

Thanks a lot

Jul

Posted

Hi, Jul! I'm not familiar with FX, but the Filemaker Web Companion actually draws data from your FileMaker Pro layouts. In CDML, we can specify what layout we want the WC to use, and if no layout is specified, it uses an internal.0 kind of layout or something.

See if FX allows you to specify a -lay kind of thing.... I thought I saw a reference in the multi-level array description I had read once, but I could be wrong. That's all I can think of...

--ST

This topic is 7456 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.