3

I am trying to create a node with RESTFULL api using restws and services modules (latest versions) on Druapl 7 - openpublish destro. the node contains a Field collection (images field collection field) i was trying to attache the fid returned from the /backbone/rest/files.json [POST] but the field accept nothing

JSON Sample for the field

"field_op_gallery_image": {

"und": [

 {
   "value": "3",
   "revision_id": "3"
 },
 {
   "value": "4",
   "revision_id": "4"
 },
 {
   "value": "5",
   "revision_id": "5"
 },
 {
   "value": "6",
   "revision_id": "6"
 },
 {
   "value": "7",
   "revision_id": "7"
 },
 {
   "value": "8",
   "revision_id": "8"
 }

] },

Can any one help , thanks in advance

5
  • Could you edit the question and include your code please? A JSON dump of the payload you're sending with the request would also be extremely useful
    – Clive
    Dec 5, 2013 at 9:57
  • Done please recheck
    – Ahmad Zain
    Dec 5, 2013 at 10:09
  • Did you solve this?
    – polyclick
    Feb 18, 2014 at 12:05
  • I did not fiend any solution :( but the best way to use field with multi value enabled
    – Ahmad Zain
    Mar 30, 2014 at 13:53
  • Any luck with this? I have a similar problem. Sep 10, 2014 at 11:24

1 Answer 1

2

This sandbox will implement a field_collection service for services 3.x: https://www.drupal.org/sandbox/graber/2141747

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.