amddtim
Forum Replies Created
-
Forum: Plugins
In reply to: [Object Sync for Salesforce] Salesforce Pull ConditionalI’m realizing that $synced_object[‘mapping_object’] is empty when a WordPress post has been created for the first time (as opposed to being updated), which sort of defeats my purpose for attempting to publish the WordPress post on this successful pull filter. Does that sound correct?
Forum: Plugins
In reply to: [Object Sync for Salesforce] Clear Salesforce SyncOkay, deleting those rows is what I needed. Thanks!
Forum: Plugins
In reply to: [Object Sync for Salesforce] Clear Salesforce SyncGreat. Let me take a peek and let you know.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Clear Salesforce SyncI don’t really plan to delete the WordPress objects again in the future, so would there be a way, perhaps in the database, to delete all the ‘pull from Salesforce’ relationships? That filter might be heavy-handed for me in the long run.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Clear Salesforce SyncRight, but I’m not trying to do an actual sync to Salesforce, I just want to pull. So if Salesforce creates a post in WordPress, and then I delete that post, you’re saying the plugin won’t ever recreate that post when the object gets updated in Salesforce?
How do I reset the mapping/connection?
- This reply was modified 8 years, 5 months ago by amddtim.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Pull from Salesforce to WordPress ACF FieldsMarking this as resolved, even though I’d still love to see ACF support in the future. Thanks for the assistance!
Forum: Plugins
In reply to: [Object Sync for Salesforce] Clear Salesforce SyncSorry, maybe I wasn’t clear (or I’m not understanding what you’re saying), but I deleted the posts on the WordPress side, not the Salesforce side. Basically, I wanted to start with a new import, but the original Salesforce objects didn’t change. But having deleted the WordPress posts, it seems like Salesforce, having mapped to the ids with a key, doesn’t realize the WordPress posts don’t exist.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Salesforce Pull ConditionalOkay, cool. I’ll roll with this and see how it goes.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Salesforce Pull ConditionalHmm, maybe I need to go about this another way. Instead of using that field to determine whether a WordPress post should exist, can I publish or unpublish the post depending on the Salesforce value? I noticed that when creating a new post in WordPress, it’s set to ‘draft’ by default. At the very least, I need new posts to be published so that I don’t need to manually publish them.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Salesforce Pull ConditionalOkay, got it working. But now I’m thinking there may be an issue. If I’m using that field to determine whether a post should exist on the WordPress end, it’s not going to delete it if it already exists and ‘Pull_to_wordpress’ eventually gets set to ‘false’ in Salesforce, right?
Thanks, I saw this too. The sticky part is I need access to a variable that’s getting set with javascript, which is then filtering the alm instance. So I can’t set a session variable in the parent page template file and just be okay. If I’m using sessions, I have to set a session variable each time a button is clicked that toggles the filter. Does that make sense?
How is it that you have 4 variables available in the repeater templates and no more? Couldn’t I conceivably edit the plugin to pass something else along? I tried looking through the plugin files and couldn’t find where I might do that.
Fair point, but I am returning all the posts I need for a carousel. No ‘scroll’ loading. Eg, I’m getting all the speakers for the year 2018, but I need those speakers ordered by taxonomy terms and then by last name.
Overall, I’m using the ALM plugin to have the initial page load go faster and for the filtering abilities.
- This reply was modified 8 years, 6 months ago by amddtim.
Forum: Plugins
In reply to: [Object Sync for Salesforce] Pull from Salesforce to WordPress ACF FieldsThanks for the quick reply.
Yeah, I have mapped some ACF fields and saw at least half success. The thing that worried me is that normally saving an ACF field in the backend also creates a corresponding underscored field with the ACF field_key. It seems like that would be integral to ACF, which is why I wanted to go the update_field() route.
I guess I’ll try adding my own function, like
reorder_params_update_field(). Remind me which hook would be the best place to add that function for each mapped field…?Ah, bummer. Yeah that would be super helpful and I’d love to see it in a release soon. I know about and am using the alm_query_args filter in other situations, but like I said, the sorting capability I need is too advanced for the WP_Query.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Fixed Columns HeightDo you know if the responsive extension would suffer the same problem? If I can’t get the fixed column to work, a backup option would be to just have a responsive scroll.