Skip to content

Commit c4aafaf

Browse files
committed
updated documentation with information about uploading containers to related records
1 parent 15a9f31 commit c4aafaf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ Many fields in your FileMaker database will be read-only, such as summaries and
9797
### Container Fields
9898
This package supports both reading and writing container field data. Container fields are retrieved from FileMaker as attributes on your model which will contain a URL which can be used to retrieve the file from the container.
9999

100+
Please note: The FileMaker Data API does not allow you to write to container fields in related records:
101+
102+
[FileMaker Data API Container Documentation](https://help.claris.com/en/data-api-guide/content/upload-container-data.html)
103+
> The container field must be a field in the table occurrence of the specified layout. It cannot be a container field in a related table.
104+
100105
#### Writing to container fields
101106
When setting a container field you should set the value to be an `Illuminate/HTTP/File` or `Illuminate/HTTP/UploadedFile` object. These attributes will be written back to your container fields along with any other model updates when the `save()` method is called on your model object.
102107
```php

0 commit comments

Comments
 (0)