gijungkim
Forum Replies Created
-
Forum: Plugins
In reply to: [Object Sync for Salesforce] Fields in custom table come back as undefinedHey @ibanezrg770 were you able to solve this? Interested in your topic
- This reply was modified 4 years, 7 months ago by gijungkim.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Mapping database table to Salesforce ObjectHey Jonathan, I’ve been attempting to modify the developer hook. Could you explain this part of the webhook object_sync_for_salesforce_create_custom_wordpress_item so that I understand it properly.
function add_object( $create_data ) {
// $create_data is array( ‘name’ => objecttype, ‘params’ => array_of_params, ‘id_field’ => idfield )
// run methods here to add the record to the database
// save the result as $result
}My understanding is that the add_object takes in a parameter (array) of 3 inputs. What does it mean by adding the record to the database if this is creating a WP object? I have code written elsewhere that updates a table that I want to utilize in mapping a custom WP object.
Ultimately, I am trying to achieve either adding the contents of another table to the User object or creating a brand new WP object that has the contents of that other table.
- This reply was modified 4 years, 7 months ago by gijungkim.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Create Salesforce Contact Object from WordPressHey Jonathan, I use the default method as in the link below. Perhaps it is a race condition that ObjectSync tries to push before the WP appends the WP ID and saves the data
Forum: Plugins
In reply to: [Object Sync for Salesforce] Create Salesforce Contact Object from WordPressHmm, this is just upon user creation via WordPress Admin UI page. To my knowledge, url being empty shouldn’t impact the push
Array
(
[action] => createuser
[_wpnonce_create-user] => 07d0ce9751
[_wp_http_referer] => /wp-admin/user-new.php
[user_login] => WPtoSF
[email] => [email protected]
[first_name] => WP
[last_name] => SF
[url] =>
[pass1] => sviL^@&9WO#4SeZdZhr#jAeL
[pass2] => sviL^@&9WO#4SeZdZhr#jAeL
[role] => student
[createuser] => Add New User
[slt-fsp-pass-strength-result] => strong
)Forum: Plugins
In reply to: [Object Sync for Salesforce] Create Salesforce Contact Object from WordPressForum: Plugins
In reply to: [Object Sync for Salesforce] Create Salesforce Contact Object from WordPressWould I be able to do the same the other way where I create a new Contact object and have WordPress pull from Salesforce and create a new user under wp_users table.
Do you have any suggestions on your reply above on going about the user registration syncing from WP to Salesforce
- This reply was modified 4 years, 8 months ago by gijungkim.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Mapping database table to Salesforce ObjectYep. Do you have any suggestions or recommendations then? I am familiar with writing php code, but just not as familiar with WordPress. Or is there another plugin that you recommend for such a task.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Mapping database table to Salesforce ObjectI’m not necessarily sure if it is on the user object itself. In the quiz database table, it has a reference to the ID that is listed in wp_users. I don’t see any value in the wp_usermeta table.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Mapping database table to Salesforce ObjectHi Jonathan,
I guess what the workflow I am trying to do is.
Quiz plugin writes to a specific database table in WP with a score tied to a user id. What I can’t seem to do is to find that field in the WP Object Users. Everything is fine from the Salesforce side, I am able to link that completely fine. I am just a bit confused on the WP bit. There is an existing value in the database table for quiz score.
- This reply was modified 4 years, 10 months ago by gijungkim.