- This topic has 2 replies, 1 voice, and was last updated 3 years, 3 months ago by Perry.
June 15, 2020 at 3:08 am #59679
We need to show several different datasets (and maps). I would like to be able to create maps from ACF fields on posts, as per your docs page, but I can’t seem to limit the posts that those fields are imported from?
For example, if I had two categories (hypothetical):
… I would like to be able to import data into a map, ONLY from the Venues category. And similarly, import data into another map, only from the Restaurants category.
Further, I’d like to be able to set up a schedule, or at least trigger the re-import when posts in the relevant categories are saved.
I’m happy to write some code to do this… are there are hooks you can point me to that might help?June 15, 2020 at 7:32 am #59686PerryModerator
Thank you for getting in touch.
Unfortunately we don’t support filtering imports right now, however we will add this to our feature request list if that would help.
We do have this experimental plugin which will allow you to filter based on post category
You could use our plugins shortcode attributes to show one category on one page, and one category on another page.
I see you mention triggering re-import upon save, if you use live integration (as opposed to scheduled imports) then our plugin will pull data directly from your posts, there’s no need to re-import.
If we’ve misunderstood anything or you still have technical questions please let us know how we can help!
– PerryJune 16, 2020 at 4:08 pm #59717
Thanks Perry, I’ll check out the plugin.
add this to our feature request list if that would help.
Yes please! Since we have several datasets with thousands of data points each, I think it’s probably going to be a bit slow to just munge them all into one and show/hide categories based on the shortcode…?
Can you please clarify how to use live integration?June 17, 2020 at 7:20 am #59731PerryModerator
You can read our documentation on that here
Documentation – Advanced Custom Fields Integration
If you have any questions please do feel free to ask!
Does that help?
– PerryJune 18, 2020 at 4:07 am #59776
Thanks Perry. The team has decided they need to use a Google Sheet to manage data, so unfortunately “live integration” doesn’t seem to be an option right now. Not directly related to the original question in this thread, I realise, as I was asking about importing from WP Posts.June 18, 2020 at 7:45 am #59783PerryModerator
Our Pro add-on support scheduled Google sheets imports, if that helps.
Is there anything else we can help you with?
- You must be logged in to reply to this topic.