shyamla
Forum Replies Created
-
Forum: Plugins
In reply to: [Object Sync for Salesforce] Plugin is not pulling records from SFHi,
Thanks for your prompt reply!!
Everything is fine as you mentioned, but still facing the same. I can able to map the fields but it’s not pulling from Salesforce. I have reviewed the above documentation.
We have a Wp-Control plugin for wp-cron event schedule Actions. It is also working fine.In the Scheduled Action tab, I can see the object_sync_for_salesforce_pull_check_records hook status as completed. I have mapped Salesforcce API version as sprint 20.
Is there any other way to solve this problem?
Forum: Plugins
In reply to: [WP REST Cache] Deleting the recordHi Richard,
Thank you so much for your reply, I could not find the cause. I have followed all your instructions, uninstalled other plugins and cross-checked everything. Still, we are facing the same issue.
Hi,
Thanks for the quick reply.Yes, I can see the revisions in screen settings. Under the revision button, I can see only standard fields like “Title”. If I edit any “custom field” and update the changes, at that time, it’s not showing the changes under the revision button.
Forum: Plugins
In reply to: [WP REST Cache] Deleting the recordHi @rockfire
We are using the custom post type. We have changed the code (line 144) and deleted the record in the custom post type. still, we could notice the data is cached. It did not clear the cache as well.
Forum: Plugins
In reply to: [WP REST Cache] Deleting the recordYes, it is determining the correct object type. But once we delete the record, both in the endpoint and in the cache details’ cache data, we could notice the data is still cached.
Forum: Plugins
In reply to: [WP REST Cache] Deleting the recordThanks for your reply. Our custom endpoint looks something similar to this:
https://<domain>/wp-json/<custom_namespace>/<custom_name>/faq
We have added from the plugin FAQ like this:
function wprc_add_endpoint( $allowed_endpoints ) { if ( ! isset( $allowed_endpoints[ '<custom_namespace>' ] ) || ! in_array( 'posts', $allowed_endpoints[ '<custom_namespace>' ] ) ) { $allowed_endpoints[ '<custom_namespace>' ][] = '<custom_name>'; } return $allowed_endpoints; } add_filter( 'wp_rest_cache/allowed_endpoints', 'wprc_add_endpoint', 10, 1);
Adding this helped the plugin to identify the custom object (post) type, thereby allowing the plugin to flush the cache whenever the post/record is created or edited. But not while deletion. We still needed to wait till the next scheduled flush (We set that as 1 hour).
Note: We are not using any other custom code to perform the CRUD operations.
- This reply was modified 5 years, 1 month ago by shyamla.
Forum: Plugins
In reply to: [WP REST Cache] Deleting the recordI face similar issue:
Once a record related to an object type with custom endpoint is deleted, it is still cached and the cached endpoint is not flushing automatically. I noticed the auto-flushing of the cache is happening whenever an object’s record is created or edited. I need similar solution for the delete action as well. Any solution?