Hi,
I would like to create a node that contains an array of data. The node is created correctly but only the first item of the array is being added to the node.
Here is my code, only the first "target_id" is created:
var node = new Hashtable
{
{ "type", "step" },
{ "title", "title" },
{ "language", "en" },
{ "field_content_reference", new Hashtable
{
{ "und", new Object[3]
{
new XmlRpcStruct
{
{ "target_id", "Visibilite conso content (996)"} ,
},
new XmlRpcStruct
{
{ "target_id", "Visibilite conso (997)"}
},
new XmlRpcStruct
{
{ "target_id", "Visibilite conso (267)"}
}
}
}
}
}
};
var nid = drupal.NodeCreate(node);
Hi, I would like to create a node that contains an array of data. The node is created correctly but only the first item of the array is being added to the node.
Here is my code, only the first "target_id" is created:
Can you please help me with this? Thanks