Skip to content

Allow for bulk object maps to be created #98

@jonathanstegall

Description

@jonathanstegall

The plugin currently does not create object maps for items that already exist in WordPress or Salesforce. That is, if you have an item in either system, updating it will not flag the plugin's triggers and create an object map.

If you create a new item after installing the plugin, it will trigger the plugin and all its future updates will as well.

I think there's room to build a feature to create object maps for existing data.

Data requirements

For this to work, we'd need to create a new row in the wp_object_sync_sf_object_map for each existing item we wanted to trigger the plugin.

We'd need to know:

  1. Type of WordPress object
  2. WordPress object ID

OR

  1. Salesforce ID

Each item would then go through the push or pull process, including any prematch fields that would check to see if they had a matching record already, for example by sharing an email address. We have a basic version of this already on the user profile page, where users can be manually pushed to Salesforce as a new record, or mapped to an individual Salesforce ID.

Interface requirements

We'd need a usable way to guide people through this, but essentially we need to gather one or more Salesforce IDs that user wants to bring into WordPress (either by mapping them to existing WordPress IDs or by creating new items in WordPress), or one or more WordPress IDs that user wants to bring into Salesforce (in the same way).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedOther developer help would be great

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions