[TYPO3-english] TCA inline select "foreign_table_where" parent id

Ivan Godorogea igodorogea at winify.com
Thu Feb 11 16:33:17 CET 2016


Hello,

E.g.:
Lets say I have the following entities:

_AbstractProduct_
uid
  options
  products

_Option_
  uid
  name

_Product_
  uid
  name
  option

Relations:

AbstractProduct::options (1 -> n) Option
AbstractProduct::products (1 -> n) Product
Product::option (1 -> 1) Option

In TCA fields AbstractProduct::options and AbstractProduct::product are 
of type "inline".
How can I configure the TCA for Product that then I create a new Product 
in AbstractProduct the Product::option select field will show only 
options related to parent AbstractProduct?

Regards,
Ivan



More information about the TYPO3-english mailing list