• Resolved Ken Nguyen

    (@ken-nguyen)


    I have a SF object call Account. I want to map the Account_ID (record ID) to a custom field in WordPress post. I also select ‘Salesforce Key’ and ‘Prematch’ for this.
    When I add new Account in SF, The plugin successfully create a WordPress custom post with information such as name, date, decription. But the custom field which is map with Account_ID is empty.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Did you figure out your earlier issue?

    In any case, try unselecting the “salesforce key” and “prematch” checkboxes. I believe that will work. I tested your situation and it seems to work without those checked. There would seem to be a bug on this, so I’ll investigate further and release any applicable fix when possible.

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Okay, I’ve done further testing on this and I’m thinking there is not a bug. When I was unable to save the Account ID on these key/prematch fields, it was because it was mapping against a field that WordPress can’t check (I had randomly chosen the excerpt field to test and WordPress doesn’t have a way to match excerpt fields).

    So this may be a matter of what kind of custom field technique you are using. This plugin doesn’t work with all custom field plugins. But I tested with ACF, creating a text field for Account ID, and WordPress is able to save the record with its account ID in that field.

    Unless it can be determined that there is an issue, there’s not much more I can do.

    Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Oh, I spoke too soon. I found it. This does have an issue with Salesforce Key being checked, but not with Prematch. I’ll release a fix for this bug in the next few days.

    Thread Starter Ken Nguyen

    (@ken-nguyen)

    Thanks for fixing so quick. It is working now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SF record ID not sync to WordPress custom field’ is closed to new replies.