AnsweredAssumed Answered

Set field issue when using the PHP API

Question asked by samhijazi on Feb 22, 2019

Product and version:

FileMaker server 16

 

Description:

When building a CWP using FileMaker PHP API, if you have a field with a dot in it's name
[ For example: Customer . ID ] the set field option will always return an error "field is missing"

 

How to replicate:

1- Create a field with a dot in it's name [ Customer . ID ]

2- Use the set field option in a PHP code [ $upd_rec -> setField ( 'Customer . id', "" ); ]

 

Workaround:

Remove the dot from the field name

Outcomes