Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I'm using the Video Embed Field, and I can't use it in Rules. It isn't available in Data Selectors for getting data in or out of it. I have used the condition "Entity has field" and selected it, but it won't show in Data Selectors.
What could be the problem with this module, and what can I do to solve that? Any link to information will be helpful :)
Thanks!
Comments
Comment #1
m0dMaybe I can give more information about what I want to do:
When a node is created, I want the thumbnail of Video Embed Field to be copied to an Image Field, if this Image Field is empty. I've used an "Entity has field" condition for each one of the fields. I can use the image field perfectly, but the video field can't be used at all.
Thanks!
Comment #2
mitchell CreditAttribution: mitchell commentedLet's see what they say.
Comment #3
mitchell CreditAttribution: mitchell commentedUpdated component.
Comment #4
Burningsoull CreditAttribution: Burningsoull commentedI Have the same problem :(
I use 7.x-2.0-beta5 - yes it still have the same problem with Rules.
Any solutions ?
Comment #5
primozsusa CreditAttribution: primozsusa commentedfor the rules to see your video_embed_field add this to your module:
/**
* Implement hook_field_info_alter()
*/
function ts_video_migrate_field_info_alter(&$field_info) {
$field_info['video_embed_field']['property_type'] = 'uri';
}
then in rules you need to put your field into scope and it will be visible - usable also in actions - cool video about VBO and rules
http://commerceguys.com/blog/power-rules-views-bulk-operations-and-commerce
Comment #6
plopescMarking as duplicate of #1436146: Video embed field visible in Rules?
Comment #7
plopesc