I have field collection item which has 3 fields, I wanted to set 'new' values of the fields using set data rule, this thing doesn't work.
We have to manually click the add link and again save then only the values are set, Can some one guide why it is not creating(adding) values from rules set data


jmickela’s picture

Did you ever get anywhere with this?

I have a content type that has a multi-value field collection and I would like to be able to add new values with a rule.

Jibus’s picture

Same here =)

kaizerking’s picture

select delta value 0 to set new value

busla’s picture

doesn´t that only add a value to the first field collection item? What happens if you add another item with delta:1 ?

funkeyrandy’s picture

anyone ?

vadym.kononenko’s picture

I'm trying to use this way too. But it is not work now.


This patch solved my problem. But I don't known if it will fix work of the Rules with FieldCollection revision operations.
I've debugged it and allocated Rules load the HostEntity FieldCollection field without revision_id value and save it after that.

As I see it fixes just view of the FieldCollections list.