1

I am auto generating taxonomy terms basis of a text field with rules. I need to auto assign the newly generated taxonomy term to the node basis of the text field. I have tried the Rules Autotag as well as Taxonomy Autotagger. With both the modules, it does not pick any taxonomy terms.

I am trying to assign the Taxonomy Terms with rules, however, with the "Set a Data Value" option, it does not give me the option to select a Text Field to assign the Value for the Term Reference Field.

Please advice, how to assign a Term Reference Value from a Text Field using Rules?

Thanks

6
  • Is the text field is there in node itself or you are performing the auto generating taxonomy terms separately ?
    – nit3ch
    Commented Mar 9, 2017 at 5:58
  • Its within the node itself. I had to get the taxonomy terms generated for displaying related content. Commented Mar 9, 2017 at 6:19
  • In this case rules will only work when node is updated, it will not work on when node is inserted. You should use hook_node_insert to update the node one taxanomy is generated.
    – nit3ch
    Commented Mar 9, 2017 at 6:39
  • That's correct. The rule is set to assign the term to the field once the node is updated, however, that is not happening. For some reason, the terms are generated, however, it does not pick the relevant terms once the node is updated. I am not a coder, hence trying to use rules to get this working for me. Commented Mar 9, 2017 at 7:00
  • Similar issue. Also check this thread
    – nit3ch
    Commented Mar 9, 2017 at 7:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.