Closed (outdated)
Project:
Rules
Version:
7.x-2.0
Component:
Rules Core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Jan 2012 at 01:34 UTC
Updated:
22 Aug 2018 at 05:21 UTC
Jump to comment: Most recent
Comments
Comment #1
barrett commentedIt took me a while to sort this out also.
To create a term, the action to use is "Create a new entity" then select the "Taxonomy term" option. That will give you the input fields for setting the name of the new term and the vocabulary to which it belongs.
One gotcha with selecting the vocabulary: the direct input option expects to get the integer vocabulary id, but from what I've seen the interface uses a text machine name everywhere. I was only able to find the vid by looking in the database.
I'm assuming the edit and delete will work similarly, but I haven't tried those.
Comment #2
rolkos commentedI know that this is not exactly what you need but maybe it will help
http://nodeone.se/sv/node/754
Comment #3
mfoda commentedWhat about taxonomy term custom fields, has anyone been able to access these in rules? I'm fetching the term by ID using an entity reference fields that refers to the TID, but I can only see core fields being loaded (description, weight...etc).
Any ideas?
Comment #4
rolkos commentedThis works for me, for now I must enter tid (term id) but it works
http://drupal.org/node/1057158#comment-4792118
Remember to change taxonomy field name before rule import.
Comment #5
SharonD214@aol.com commentedmfoda -
Did you figure out how to use Rules to access the custom fields? I'm trying to do the same thing and haven't had any luck.
Thanks
Sharon
Comment #6
jadhavdevendra commented@sharonD214 & @mfoda
You need to select "fetch entity by property" option. That will show you all CCK fields.
Comment #7
tr commentedThis seems to have been answered satisfactorily several times. Please open a new issue if you have additional questions about this.
Comment #8
tr commented