- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2013 12:44 PM
Hi,
In the documentation, I saw the following code:
$answer = $session->newRequest("Blob.Attach")->set('params', 'document', $path) ->loadBlob($blob, $blobtype) ->sendRequest();
How do I convert a file to a blob? Also, what do I use as the blobtype?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2013 02:23 PM
Hi,
You should take a look at the samples in our php automation client:
https://github.com/nuxeo/nuxeo-automation-php-client/blob/master/samples/B4.php
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2013 02:23 PM
Hi,
You should take a look at the samples in our php automation client:
https://github.com/nuxeo/nuxeo-automation-php-client/blob/master/samples/B4.php
