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

m0d’s picture

Maybe 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!

mitchell’s picture

Project:Rules» Video Embed Field
Version:7.x-2.1» 7.x-2.x-dev
Component:Provided Rules integration» Code

Let's see what they say.

mitchell’s picture

Updated component.

Burningsoull’s picture

I Have the same problem :(

I use 7.x-2.0-beta5 - yes it still have the same problem with Rules.

Any solutions ?

primozsusa’s picture

for 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

plopesc’s picture

Issue summary:View changes
plopesc’s picture

Status:Active» Closed (duplicate)