You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So he doesn't create each field collection item. He just try to link with qty values.
The text was updated successfully, but these errors were encountered:
julienperrault
changed the title
Create Taxonomy Term with specific parent Term and Vocabulary
Create Node with Multiple FieldCollection Item
Jul 4, 2018
@charlie-rushton
Oh indeed, I forgot to close the ticket.
I found a tricky way to do it. First I create a route for each multiple FieldCollection ressources.
During execution:
We retrieve the target node and the ids of Multiple FieldCollections (if it is an update of the target node)
We update or create the target node (its data only)
We create all Multiple FieldCollection Items to link
For each Multiple FieldCollection, we create an array of items's id, and update the target node with them.
We delete the old linked items.
The big problem is the infinite creation/deletion of this system which leads to an excessive increase in the primary key of the elements.
Hi,
I want to create a node through the POST route with a proprety named "box".
Box is a FieldCollection. So when i send :
I looking for a node linked with those 2 new items.
When i look in SQL log i found this :
So he doesn't create each field collection item. He just try to link with qty values.
The text was updated successfully, but these errors were encountered: