Title: wizardist's Replies | WordPress.org

---

# wizardist

  [  ](https://wordpress.org/support/users/wizardist/)

 *   [Profile](https://wordpress.org/support/users/wizardist/)
 *   [Topics Started](https://wordpress.org/support/users/wizardist/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wizardist/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wizardist/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wizardist/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wizardist/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wizardist/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/wizardist/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/wizardist/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Empty field records are created from a Twig Form](https://wordpress.org/support/topic/empty-field-records-are-created-from-a-twig-form/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/empty-field-records-are-created-from-a-twig-form/#post-11272191)
 * [@thepiweb](https://wordpress.org/support/users/thepiweb/) disregard that one
   question regarding requirements.
 * It is not clear what happens yet. Try explicitly adding the “key” parameter to
   the {% form %} tag.
 * Lots of factors may come into play, including different JS scripts, potentially
   conflicting WordPress plugins, and also in some situations even CRM workflows.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Empty field records are created from a Twig Form](https://wordpress.org/support/topic/empty-field-records-are-created-from-a-twig-form/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/empty-field-records-are-created-from-a-twig-form/#post-11249431)
 * Hi [@thepiweb](https://wordpress.org/support/users/thepiweb/)
 * Could you share the template? How do you ease the requirements?
 * Have you updated the plugin recently? What’s the version of the plugin and WordPress?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Can’t connect to caching file](https://wordpress.org/support/topic/cant-connect-to-caching-file/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/cant-connect-to-caching-file/#post-11244885)
 * Hi [@uweulbrich123456](https://wordpress.org/support/users/uweulbrich123456/)
 * Could you share the PHP version, sqlite extension version, WordPress version?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Entity binding in PHP code](https://wordpress.org/support/topic/entity-binding-in-php-code/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/entity-binding-in-php-code/#post-11170316)
 * Hi [@okayaelectric](https://wordpress.org/support/users/okayaelectric/)
 * `wordpresscrm_data_binding_columns` filter is pretty much deprecated.
 * The right way to access binding is by calling `ACRM()->getBinding()->getEntity()`.
 * If you’re getting a non-NULL value, you can access `productid`, `name`, `description`
   and other fields right away.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Redirect with parameters](https://wordpress.org/support/topic/redirect-with-parameters/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/redirect-with-parameters/#post-11170257)
 * [@graham6117](https://wordpress.org/support/users/graham6117/)
 * That would require custom code to be written. `wordpresscrm_twig_form_submit_success`
   action in `src/Form/Model.php` has two arguments, the submitted form with the
   new data, and the CRM record with new data too.
 * You can `add_action()` it and make a redirection by yourself.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Plugin not working on blocks/sections](https://wordpress.org/support/topic/plugin-not-working-on-blocks-sections/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-on-blocks-sections/#post-11170250)
 * Hi [@erikdj](https://wordpress.org/support/users/erikdj/)
 * I was able to use `[msdyncrm_twig]` in a “Custom HTML” block. That is probably
   the most appropriate block to use with V1 shortcodes.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Redirect with parameters](https://wordpress.org/support/topic/redirect-with-parameters/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/redirect-with-parameters/#post-11169998)
 * Hi [@graham6117](https://wordpress.org/support/users/graham6117/)
 * Let me assume that ?id= holds the GUID of the record you are editing with a form.
 * The form tag doesn’t accept a `parameters` argument – so it doesn’t make sense.
   You specify the record you’re eager to edit with the `record` parameter. In your
   code you use `currentrecord` which is good.
 * In terms of Twig syntax, the second example is close to excellent!
 *     ```
       {% set redirectUrl = "/share/?id=" ~ currentrecord.id
       {% form entity="contact" name="Web Update" mode="edit" record=currentrecord redirect=redirectUrl %}
       ```
   
 * HTH
    -  This reply was modified 7 years, 6 months ago by [wizardist](https://wordpress.org/support/users/wizardist/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] twig custom form – double verification](https://wordpress.org/support/topic/twig-custom-form-double-verification/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/twig-custom-form-double-verification/#post-11068445)
 * [@thepiweb](https://wordpress.org/support/users/thepiweb/)
 * Absolutely! What a grave misprint. Thanks for catching this one early.
 * Have a nice day
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] twig custom form – double verification](https://wordpress.org/support/topic/twig-custom-form-double-verification/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/twig-custom-form-double-verification/#post-11064924)
 * Hi [@thepiweb](https://wordpress.org/support/users/thepiweb/)
 * You can upgrade to 1.2.19 and have two or more forms on one page.
 * See the updated docs on custom forms: [https://docs.alexacrm.com/wpcrm/twig/#displaying-custom-forms](https://docs.alexacrm.com/wpcrm/twig/#displaying-custom-forms)
 * Just don’t forget to add different “key” attributes to form tags.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] twig custom form – double verification](https://wordpress.org/support/topic/twig-custom-form-double-verification/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/twig-custom-form-double-verification/#post-11051233)
 * Hi [@thepiweb](https://wordpress.org/support/users/thepiweb/)
 * The forms were not really designed to support a scenario with 2+ forms on a page.
 * However we can add a way for the system to distinguish submissions from different
   forms, either automatically or manually.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] How can I add a function to Twig?](https://wordpress.org/support/topic/how-can-i-add-a-function-to-twig/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [8 years ago](https://wordpress.org/support/topic/how-can-i-add-a-function-to-twig/#post-10505018)
 * Oh, noes. [msdyncrm_inline] is deprecated in favor of a more powerful [msdyncrm_twig].
 * HTH
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] How can I add a function to Twig?](https://wordpress.org/support/topic/how-can-i-add-a-function-to-twig/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [8 years ago](https://wordpress.org/support/topic/how-can-i-add-a-function-to-twig/#post-10501198)
 * Caching was not my original idea, it was rather order of execution, i.e. add_action()
   being called after the action has been already emitted. As for caching, could
   you share your environment details? Also, try dropping the Twig cache if it’s
   enabled (wp-content/uploads/wpcrm-storage/twig/*).
 * WordPress version, plugins, PHP version, things like executing inside VirtualBox
   with a shared folder mounted, etc. Anything can be relevant, because this is 
   super-weird as I have the same exact code running just fine.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] How can I add a function to Twig?](https://wordpress.org/support/topic/how-can-i-add-a-function-to-twig/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [8 years ago](https://wordpress.org/support/topic/how-can-i-add-a-function-to-twig/#post-10500797)
 * Hi Jon,
 * The code you’re using looks correct, and I checked – it works just fine. Are 
   you sure you’re editing the functions.php file of the active theme? Also, where
   do you call add_action()? Inside another action handler or in the outermost scope
   of the file?
 * Pavel
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Dynamics Login Details Stored in plain text](https://wordpress.org/support/topic/dynamics-login-details-stored-in-plain-text/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/dynamics-login-details-stored-in-plain-text/#post-10374024)
 * Hi
 * The issue has been addressed in the latest update!
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamics 365 Integration] Uncaught PDOException](https://wordpress.org/support/topic/uncaught-pdoexception-2/)
 *  Plugin Contributor [wizardist](https://wordpress.org/support/users/wizardist/)
 * (@wizardist)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/uncaught-pdoexception-2/#post-10130675)
 * Hi [@cheft](https://wordpress.org/support/users/cheft/)
 * Please try to delete the /wp-content/uploads/wpcrm-storage/cache/ directory and
   reactivate the plugin again.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/wizardist/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/wizardist/replies/page/2/?output_format=md)