Search Results :

×

Salesforce CPT UI (Custom Post Type) & ACF (Advanced Custom Fields) integration | Salesforce WordPress Integration Scheduled Sync

Salesforce CPT UI (Custom Post Type) & ACF (Advanced Custom Fields) integration | Salesforce WordPress Integration Scheduled Sync


Salesforce provides an efficient mechanism to store various kinds of data using custom objects by creating different fields for them as per your requirements, but businesses need this data to be displayed on their front-facing WordPress sites. To achieve this, data needs to be synced between Salesforce objects and WordPress custom posts.

The Object Data Sync for Salesforce plugin allows you to sync data between custom/standard Salesforce objects and custom/standard WordPress posts and allows you to schedule these sync with the time interval of your choice this makes sure that all the data presented in WordPress is always in sync with the Salesforce data

Scenario

1. You have a WordPres site and you have created the Custom post type and Custom fields for the post using CPT UI and ACF plugin respectively.

2. You want to sync between Custom post types and Custom objects in Salesforce.

Requirements

  • Data from the Custom Salesforce Objects should be synced to WordPress in the form of the Custom Post Type.
  • Ability to sync multiple Custom Salesforce objects to Custom Post types and Custom Post fields.

Pre-requisites : Download And Installation

Note: You will need the Premium version of the plugin to implement the below solution. You can download the free version of the plugin using the link mentioned below

To configure Object Data Sync for Salesforce please download the following plugin

WordPress Salesforce Object Sync | Sync Salesforce Objects bidirectionally with WordPress. Enable real-time sync, scheduled sync, Salesforce Sync with Workflows Automation, sync leads from WordPress to Salesforce, Salesforce ACF/CPT UI integrations, and more.

To get the premium plugin, please contact us at salesforcesupport@xecurify.com

Configuring CPT UI and ACF Integration with Salesforce CRM

  • First using the CPT UI plugin we will create a Custom Post Type.
  • Navigate to the CPT UI plugin and in the Add new Post Type tab fill the required fields for the post type and click Add Post Type.
  • Salesforce WordPress Integration | CPT UI / ACF integration with Salesforce | Add new post type
  • Now as we have created the custom post type we will use the ACF plugin to add custom fields to the post type.
  • Navigate to the ACF plugin, in the Field Groups tab and click on Add new.
  • On the next page add all the fields you want in the field group.
  • To apply this field group to the custom post type you created, use the dropdowns in the Location section on the same page.
  • Salesforce WordPress Integration | CPT UI / ACF integration with Salesforce | select field group
  • Now, Navigate to your WordPress site and click on test_custom (the custom post type created using CPT UI in earlier steps) on the left panel and add a dummy post of that custom post type with all the fields populated so that the plugin can read its custom field list.
  • Salesforce WordPress Integration | CPT UI / ACF integration with Salesforce | Custom field list
    Setting up the Salesforce connection
    • To connect the plugin to Salesforce you can follow the first 2 steps in this guide.
    • Once done please follow the steps below to configure the Scheduled pull from Salesforce.
    Configuring the field mapping
    • Navigate to the Object Mapping tab of the plugin.
    • In the WordPress Object please select the required post type.
    • For the Scheduled pull to work make sure to enable the Sync From Salesforce to WordPress toggle as shown below.
    • Salesforce WordPress Integration | CPT UI / ACF integration with Salesforce | Scheduled Pull
    • Under the Map WordPress fields to Salesforce fields section, we will be mapping the Salesforce fields with WordPress object fields.
    • The required fields from Salesforce are already selected and new fields can be added using Add Salesforce Field button.

    IMPORTANT NOTE: ACF creates 2 fields for each custom field that you create, for example, if you create a field titled checkbox ACF will create 2 fields titled checkbox and _checkbox. Make sure to map the field without "_" in the beginning i.e the checkbox field.

    • Once you configure the field mapping scroll down and click the Save Object Mapping button.
    • The mapping will look as similar to the picture below:
    • Salesforce WordPress Integration | CPT UI / ACF integration with Salesforce | Field mapping
    Configuring Scheduled Automation Sync

    Note: The following steps are for configuring Scheduled Sync, If you want to configure Real-time sync you can follow this guide.

    • Once you have configured All the field mapping we can now go ahead and set up the scheduled pull.
    • Navigate to the Manage Application tab.
    • Scroll down to the Scheduled Sync section.
    • Enable the toggle and select the Sync Duration according to your need.
    • Click on the Save Configuration button.
    • Salesforce WordPress Integration | CPT UI / ACF integration with Salesforce | Click on save

      Note: When you click on the save button for the first time then an initial sync will take place. Afterward, the sync will run periodically as per the duration selected by you.

    • If you want to stop the scheduled sync you can simply disable the Toggle and click save again.

    The WordPress Object Sync for Salesforce plugin facilitates mapping of the Salesforce objects to the respective objects in WordPress. This allows for all the mapped objects to sync changes in the data from Salesforce to reflect the same in WordPress.

    Additional Resources

    Why Our Customers choose miniOrange WordPress Single Sign-On (SSO) Solutions?


    24/7 Support

    miniOrange provides 24/7 support for all the Secure Identity Solutions. We ensure high quality support to meet your satisfaction.

    Sign Up

    Customer Reviews

    See for yourself what our customers say about us.
     

    Reviews

    Extensive Setup Guides

    Easy and precise step-by-step instructions and videos to help you configure within minutes.

    Watch Demo


    We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Adaptive MFA, Provisioning, and much more. Please contact us at

     +1 978 658 9387 (US) | +91 77966 99612 (India)   salesforcesupport@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com