I would like to set a content type's default value from another content type. I am sure this would work with rules but I need the value to be set before the user creates the content type.

The field is a file.

I would also like to be able to use a rules like condition for example to update the value of one content type from another content type that is tagged with a certain term or flag.

I have searched around a lot and have not been able to find a way to do this. Any suggestions are appreciated.

Comments

swentel’s picture

Project: Drupal core » Rules
Version: 7.22 » 7.x-2.x-dev
Component: field_ui.module » User Interface

Since you're talking a lot about rules, it might make more sense to check that queue

eminencehealthcare’s picture

I dont think rules can fill files on a node add page, it seems like my only choices are before saving content and after saving content. There is when content is viewed but when adding a node it is not content yet.

TR’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

If you really mean "content type", as in you want to set default values for the content type itself and not just for nodes of that content type, then the answer is you will have to do this through core Drupal hooks, not Rules. Rules does not provide a way to manipulate the content type definition.