• Resolved ddoddsr

    (@ddoddsr)


    Hi,
    What a great tool, I’ve played with the developer hooks and the examples and docs are top rate.
    I have a mapping that I want to use to import all users into Salesforce, but how do I trigger off a full sync? Do I even want o start a 75,000 record sync?

    I could do smaller batches. I can loop thru a list of user IDs from a bulk action or run something programmatically. Is there a hook to cause a push?

    I also want to add a field for the Account ID to use for the contact.
    But I don’t see the field in the object lookup. What am I missing? I see the fields I added with the field_foo example but don’t see:

    add_filter( ‘object_sync_for_salesforce_wordpress_object_data’, ‘add_data’, 10, 1 );
    function add_data( $wordpress_object ) {
    $wordpress_object[‘account_id’] = ‘–record_id_for account–‘;
    return $wordpress_object;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ddoddsr

    (@ddoddsr)

    I added the 2nd question about using the developer hook for adding a field in another thread.

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    This plugin doesn’t really have a solution for bulk pushing data. It would be a nice to have thing, but currently there are no plans for when it might be added.

    I think it’s possible you could do it by messing around with lastmodifieddate on the query hooks, but I’m really not sure how you would do it and I certainly haven’t done any testing to see if it would work.

    Thread Starter ddoddsr

    (@ddoddsr)

    I can do it as a bulk action and update a field for each user but that is pretty clumsy. But it works and queues up the changes.
    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pushing all Users to Contacts’ is closed to new replies.