• Trying to sync Assets in SF to our website. Having very inconsistent results.

    We have some custom fields in SF, mapped to ACF fields in a custom post type.

    When doing an update in one of those fields in SF, I have the corresponding post open in my browser. I wait for the cron job to run, refresh the post and can see the new text. However, it won’t show up on the page with the post query… in fact, this change isn’t visible UNTIL I manually click save.

    Is this an issue with having the post open in “edit” mode? NO. Tested again, changing the text in the SF Asset. This time, the post disappears from the post query page (the “link to the page” in this ticket) altogether. I look in the custom posts, find the asset, open it up and can see the imported text that I just changed… BUT even thou it is marked as Published, its not. If I manually click UPDATE, then the post is “actually” published and then visible again.

    So does this plugin use some method that sets everything back to draft, even if its not visible as a draft? This makes zero sense.

    The page I need help with: [log in to see the link]

Viewing 16 replies (of 16 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    Well, the way the plugin’s database works is that the object map table maps a single WordPress object to a single Salesforce object. That doesn’t mean that you can’t have a single WordPress object that is mapped to multiple Salesforce objects, all of which update that WordPress object, or that you can’t do the same in the other direction. Both of those are use cases that people sometimes use this plugin for, although that’s clearly not what you are using it for.

    If you edit a record in Salesforce and it creates a new record in WordPress, though, what that means is that it is not able to find a record in the object map table that corresponds to that Salesforce record ID. You may need to hire a developer to help you figure out why yours isn’t detecting that the Salesforce record does have a corresponding record in that table.

    It may be that this issue is related to your other issue, but it may not.

Viewing 16 replies (of 16 total)
  • The topic ‘syncing issues’ is closed to new replies.