Title: Pull all objects from SF into WordPress
Last modified: October 2, 2019

---

# Pull all objects from SF into WordPress

 *  Resolved [danatpi](https://wordpress.org/support/users/danatpi/)
 * (@danatpi)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/pull-all-objects-from-sf-into-wordpress/)
 * When first setting up an object sync, is it possible to pull all the objects 
   for a particular salesforce object into WordPress?
 * Thanks,
    Dan

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/pull-all-objects-from-sf-into-wordpress/#post-11990224)
 * [@danatpi](https://wordpress.org/support/users/danatpi/) not really, no. The 
   plugin does have an import/export feature, but even if you had the matching JSON
   structure, all it really does is create maps between individual objects (so between
   individual posts and individual Salesforce objects that already exist). There’s
   not really a way to do a bulk import of all of the objects. I’d like to add that
   to the plugin at some point, but there’s no current plan for doing that.
 * You could probably do it with a combination of developer hooks and making direct
   queries to the Salesforce API, but certainly there’s no documentation or support
   for that kind of thing at this point.
 *  Thread Starter [danatpi](https://wordpress.org/support/users/danatpi/)
 * (@danatpi)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/pull-all-objects-from-sf-into-wordpress/#post-11998389)
 * Thanks [@jonathanstegall](https://wordpress.org/support/users/jonathanstegall/),
   very much appreciate the info.
 *  [Raju Mandapati](https://wordpress.org/support/users/mvpspl619/)
 * (@mvpspl619)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/pull-all-objects-from-sf-into-wordpress/#post-12529611)
 * Hi [@jonathanstegall](https://wordpress.org/support/users/jonathanstegall/), 
   apologies for commenting in an old thread. What is your recommended way to inflate
   the database as per [@danatpi](https://wordpress.org/support/users/danatpi/)’
   s request?
 * There are about ~3000 records we’d like to fetch into the WordPress database 
   from Salesforce. Should we write code to do an “Update” call on these Salesforce
   records which will be caught by your plugin making it create records in WordPress?
 *  Plugin Author [Jonathan Stegall](https://wordpress.org/support/users/jonathanstegall/)
 * (@jonathanstegall)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/pull-all-objects-from-sf-into-wordpress/#post-12529638)
 * [@mvpspl619](https://wordpress.org/support/users/mvpspl619/) I would not recommend
   that you do this at all, honestly. But if you have the resources to try it and
   fix things that might possibly break, you could:
 * 1. Use the plugin’s import feature to import the records into the plugin as object
   maps. You’d have to generate the JSON yourself, so you’d probably want to do 
   some manual records and then export it to get the JSON structure, and then have
   some way of generating a matching set.
    2. Then do some kind of update on the
   Salesforce records as you say.
 * Some caveats:
 * 1. I’m not sure it would work. I think it would, but I’m not positive and would
   certainly not provide support for it on this forum, since it’s not a feature 
   in the plugin.
    2. Your initial question of doing an update on those records 
   in Salesforce would not work. This plugin doesn’t catch update records unless
   they already exist as object maps.
 *  [Raju Mandapati](https://wordpress.org/support/users/mvpspl619/)
 * (@mvpspl619)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/pull-all-objects-from-sf-into-wordpress/#post-12529656)
 * Appreciate your quick response [@jonathanstegall](https://wordpress.org/support/users/jonathanstegall/).
   Couple of follow up questions.
 * 1. We do already have about 3000 of these records in WP but in a different Custom
   Post Type. Hypothetically speaking if we add a custom field for this CPT called“
   Salesforce ID” and manually (outside the plugin) add the salesforce IDs to these
   ~3000 records, and setup your plugin to do the “Sync”, would it work?
    2. You
   said the “plugin doesn’t catch update records unless they already exist as object
   maps”, but I configured the plugin to act on Salesforce add/update/delete and
   it did end up creating a new WordPress custom post when I manually edited an 
   Object in Salesforce. Am I misunderstanding you or is this not how it’s supposed
   to work?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Pull all objects from SF into WordPress’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/object-sync-for-salesforce.svg)
 * [Object Sync for Salesforce](https://wordpress.org/plugins/object-sync-for-salesforce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/object-sync-for-salesforce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/object-sync-for-salesforce/)
 * [Active Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/object-sync-for-salesforce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/object-sync-for-salesforce/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Raju Mandapati](https://wordpress.org/support/users/mvpspl619/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/pull-all-objects-from-sf-into-wordpress/#post-12529656)
 * Status: resolved