MinnPost / object-sync-for-salesforce

WordPress plugin that maps and syncs data between Salesforce objects and WordPress objects.
https://wordpress.org/plugins/object-sync-for-salesforce/
GNU General Public License v2.0
94 stars 51 forks source link

Field Label/API Name setting not working correctly #392

Closed jonathanstegall closed 3 years ago

jonathanstegall commented 3 years ago

Describe the bug The more urgent issue is that when API Name is selected in Settings, it doesn't work on new fieldmap rows. It only works on existing rows.

To Reproduce Steps to reproduce the behavior:

  1. Set API Name as the value for Salesforce Field Display Value on the plugin settings.
  2. Create a new fieldmap
  3. Check the Salesforce field dropdown

Expected behavior It should show the API Name of the field for each dropdown option.

Additional context I'm also noticing that the other Salesforce object data does not use this setting. I'm referring to the record type fields and date fields. These don't all necessarily have an API name vs a field label, but when/if they do, we should use it.

See this forum post