Filemaker field not found

We use filemaker for the client, but when adding a request, we get an error not found in the field.

This is the code we use that serves for the values โ€‹โ€‹of $ _POST. (I know that I am using bulk assignment, but it is currently under testing)

$newRequest = $fm->newAddCommand('REGISTRATIE', $_POST); $return = $newRequest->execute(); 

When we print the results of $return , we get the following error without additional information.

enter image description here Any idea what could be wrong?

Complete error log

http://pastebin.com/eqYHdDdT

+6
source share
2 answers

Web publishing in FileMaker is thus layout dependent. In your example, the layout you are referring to is called "REGISTRATIE", so all fields must exist on this layout and be accessible.

If this layout is complex, consider creating a dedicated web accessible layout with only the fields you need to access and / or return.

+6
source

Adding to the above, a common good practice with the FileMaker PHP API is to have a completely separate set of layouts for interacting with the API.

+2
source

Source: https://habr.com/ru/post/985858/


All Articles