cobwebch / external_import

Other
20 stars 16 forks source link

How to set default category #275

Closed marexx closed 1 year ago

marexx commented 1 year ago

I import Data from different Data Sources in JSON Format as "news-item", How can i set each NewsItem a default Category, depending on the Data Source.

fsuter commented 1 year ago

You can set a fixed value using the value transformation property: https://docs.typo3.org/p/cobweb/external_import/6.3/en-us/Administration/Transformations/Index.html#value

Since I suppose that you have a different configuration for each Data Source, you can set a different value each time.

Does that fit your scenario?

marexx commented 1 year ago

thnx. that's it