Feature request: Skip importing elements based on value in feed. #1011
Unanswered
metamachineco
asked this question in
Ideas
Replies: 2 comments
-
if writing a simple plugin is an option, you could use feed-me built in events, something like this;
also there are some good examples available on craftcms.stackexchange.com |
Beta Was this translation helpful? Give feedback.
0 replies
-
Agree with @vnali that events are probably the best route (you could also make a module, which much the same, but a tiny bit easier than a plugin). Setting up the scaffolding from https://pluginfactory.io/ should get you far along the way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I would like to skip certain elements from importing based on a value of a field in the feed itself.
For example: I'm building a Commerce site that imports products that are managed in an external system.
That external system contains thousands of products, but the commerce site only needs a small subset of those products.
A possible solution would be if we were able to set a field and value from the feed that FeedMe would check before importing an element.
Something like this:
Beta Was this translation helpful? Give feedback.
All reactions