Im getting 100’s of lines in our debug log in relation toPHP Deprecated: ?Function strptime() is deprecated in /home/site/wwwroot/wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/AbstractClient.php on line 205
Are there any planned releases to update this function?
]]>Recently i have updated php version, current version is php 8.3, but we are some issue, can you check this.
: Uncaught Error: Call to undefined function ASDK() in /var/www/html/folder/dev/wp-content/themes/folder/template-login.php:14 Stack trace: #0 /var/www/html/folder/dev/wp-content/themes/folder/base.php(36): include() #1 /var/www/html/folder/dev/wp-includes/template-loader.php(106): include(‘…’) #2 /var/www/html/folder/dev/wp-blog-header.php(19): require_once(‘…’) #3 /var/www/html/folder/dev/index.php(17): require(‘…’) #4 {main} thrown in
Hi there,
To get this plugin to work, it says:
“For this plugin to work, access to a working instance of Dynamics 365 Online, or Dynamics 365 / CRM On-Premises with IFD (Internet Facing Deployment) is required. Without an instance of Dynamics 365 / CRM the plugin is absolutely useless”
Do we enable the IFD (Internet Facing Deployment) in the Microsoft account or on the web hosting service side?
Thanks!
]]>I Installed and connected the Plugin, that worked well. But i can’t manage to get a form to my page. I tried the shortcode provides in the documentation and there was just a “submit”-button, nothing else (and the button isn’t named “submit” in the form i wanted to display). even the support couldn’t get me any other advice than “spell the name correctly”. I reasearched and found another shortcode:
[msdyncrm_form entity=”lead” name=”Contact Us” mode=”create” captcha=”true” message=”Thanks!” hide_form=”true”]
this one (with the correct name ant without captcha, message and hide_form) now shows the error [Can not get form definition] in a red field on my page. At least it looks like the shortcode will work. But why doesn’t it find the published forms?
Anyone got similar issues?
When activating the plugin in a WordPress environment with PHP 8.2 activated, there are deprecation messages shown from the Synfony HTTPFoundation package which is bundled in the plugin.
I think updating the bundled packages should resolve this issue.
[03-Jul-2024 14:19:13 UTC] PHP Deprecated: Return type of Symfony\Component\HttpFoundation\ParameterBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Volumes/data/projects/PROJECTNAME/wp-content/plugins/integration-dynamics/vendor/symfony/http-foundation/ParameterBag.php on line 224
[03-Jul-2024 14:19:13 UTC] PHP Deprecated: Return type of Symfony\Component\HttpFoundation\ParameterBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Volumes/data/projects/PROJECTNAME/wp-content/plugins/integration-dynamics/vendor/symfony/http-foundation/ParameterBag.php on line 234
[03-Jul-2024 14:19:13 UTC] PHP Deprecated: Return type of Symfony\Component\HttpFoundation\HeaderBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Volumes/data/projects/PROJECTNAME/wp-content/plugins/integration-dynamics/vendor/symfony/http-foundation/HeaderBag.php on line 283
]]>
Hello AlexCRM Team,
I am having troubles figuring out how to edit the amount of values in the modal pop up view when I click on a lookup field on a form. I would ideally like the values to paginate but it would also be okay to display just more than 10 records. Also, it looks like the “next page” button is cut off and hard to see which causes usability issues.
Could someone please provide guidance on how to approach a solution.
Thanks!
]]>Hello,
We are trying to troubleshoot a recent issue with the CRM plugin, and not sure if its a problem with the plugin, or my clients CRM? Here is the error message: “Fatal error: Uncaught TypeError: AlexaCRM\CRMToolkit\Entity\MetadataCollection::__construct(): Argument #1 ($client) must be of type AlexaCRM\CRMToolkit\Client, null given”
Any ideas if this is a problem with the CRM or plugin? Thanks in advance.
I’m using the Gravity Forms add-on to create a contact in Dynamics when a user registers, I can map all the fields from my form to fields in Dynamics just fine, one question I had though, is it possible to add the user to Marketing Lists in Dynamics?
The form I’m using has checkboxes for the user to select their marketing preferences and I was wondering if there’s a way for me add the user to the relevant marketing list based on their preferences.
]]>I need assistance with integrating D365 with WordPress Website I used the AlexaCRM plugin but when I click on connect it does not connect it refers me to check the region/deployment type/username and all these are correct my region is CRM14 so I am not sure if the issue is the compatibility with the region or what.
Please assist.
]]>Hi All,
I have a newsletter sign up form (simple form only 1 input requesting email)
On some pages the form is present 2 to 3 times (twig template form), my problem is when I submit one the others submit also. I have read the docs regarding a unique key but I’m not sure I have added this key correctly. Below is the code for the form, any help would be appreciated.
[msdyncrm_twig]
{% form entity="tek__newsandarticle" mode="create" required=["tek__email"] messages={ "success": "Form submitted.", "error": "Submission failed."} key="main-form" %}
<form method="POST">
<input class="newsletter-input" name="tek__email" required placeholder="Email">
<button class="newsletter-submit-button" type="submit">Subscribe to our Newsletter</button>
<input type="hidden" name="_key" value="{{form.key}}">
{% if form.submission and form.status %}
<div class="row twig-success-message">
<div class="col-12">
<div class="alert alert-success">
{{ form.parameters.messages.success ?? "You have been subscribed. Thank you!" }}
</div>
</div>
</div>
{% elseif form.submission and (not form.status) %}
<div class="row twig-error-message">
<div class="col-12">
<div class="alert alert-danger">
{% if form.parameters.messages.error %}
{{ form.parameters.messages.error }}
{% else %}
{% for descriptor, message in form.errors %}
<div>{{ message|join(', ') }}</div>
{% endfor %}
{% endif %}
</div>
</div>
</div>
{% endif %}
</form>
{% endform %}
[/msdyncrm_twig]
We are just testing the free version before we decide to use it and would be buying the premium version and also implementing it on a few other projects ??.
]]>Hi everyone,
PHP 8.0 active support ended over a year ago, most hostings are requesting that we update the PHP version by April 2024.
When updating the PHP version to 8.1, 8.2 or 8.3 the plugin throws a fatal error:
Uncaught Exception: Serialization of ‘DOMDocument’ is not allowed, unless serialization methods are implemented in a subclass /wp-content/plugins/integration-dynamics/src/Cache/PhpFastCache.php:1191 Stack trace: #0 [internal function]: DOMNode->__sleep()
Is it possible to update the plugin to be compatible with the new PHP versions before the hosting deadline?
The plugin is vital for our business, since it sends the leads to our Dynamics.
Thank you.
]]>Hi,
We’re using the premium version of the plugin and using a Gravity Form to create a new contact, which also creates a new user in WordPress at the same time.
The problem we’re having is the new user created in WordPress isn’t linked to Dynamics in any way, so when we later want that user to be able to fill in a different form to update their data on the website, which in turn updates their Dynamics data, there’s no way to do it as we don’t know the ID of their contact in the CRM.
Is there any way to include the newly created contact’s ID in either the Gravity Form’s entry or save it as meta against the newly created WP user?
]]>I am able to view most of the selected record details on the form but I noticed some custom and OOB Choice field values are not displaying (screenshot above) I looked through some of the previous forum items and found similar questions but the examples I found were regarding custom forms. My question in particular applies to displaying choice values (drop-down) on an existing D365 Form.
]]>Hi,
Our client is using Microsoft Dynamics CRM 2013, and the only access point available is through a multi-tiered remote access setup. Specifically, we need to navigate through two remote machines before reaching the one hosting the CRM.
My question is, is it possible to connect to their dynamics using this plugin with such a set up? Their Dynamics address (URL) is just https://dynamics/{Org Name} but when trying to use this URL I get the message:
“Invalid serverUrl has been provided. Check whether you selected the appropriate deployment type and that CRM URL and credentials are correct.”
Thank you.
]]>Is there a way to dynamically populate the optionset fields (marked bold in the below form)?
[msdyncrm_twig]
{% form entity="contact" mode="create" %}
{% apply spaceless %}
<form id="form-{{ form.id }}" enctype="multipart/form-data" method="post">
<input name="firstname" type="text" placeholder="First Name" />
<input name="lastname" type="text" placeholder="Last Name" />
<select name="gendercode">
<option value="0"> Male </option>
<option value="1"> Female </option>
</select>
<input name="file-1" type="file" />
<input name="file-2" type="file" />
<button class="button custombutton" type="Submit">Text me a demo</button>
<input name="_key" type="hidden" value="{{form.key}}" />
<input name="__formid" type="hidden" value="1234-6789" /></form>
{% endapply %}
{% endform %}
[/msdyncrm_twig]
I have just installed the Dynamics 365 Integration Plugins (free/premium), should i need to install the Dataverse plugin too? (for getting the optionset metadata) if yes, can I i use the dataverse plugin with same liscense i have for dynamics 365 plugin? OR Is there a way to dynamically populate the optionset fields within the dynamics 365 Integration plugin?
]]>I’m able to include file uploader in a custom twig form, but not able to include file uploder in an existing form (using an existing crm form that also have the timeline, but no uploader is showing in WP page).
below is the code i’m using
[msdyncrm_twig]
{% form entity="contact" name="WP - Portal - New Applicants4" mode="create" attachment="true" attachment_label="Upload a file" default={ "cat_registrationsubmitted":"Yes", "new_newmemberflag":"Yes" } %}{% endform %}
[/msdyncrm_twig]
]]>
Apologies if this is the wrong place for this question.
I am trying to figure out which version of this plugin I require and it is not clear.
The requirement is (at least to start with) pretty straightforward:
Display a set of fields from the Account table in the PowerPlatform and allow a user to login and complete these fields. 3 months later the same user needs to login again and update the information displayed in the fields.
I wondered whether using the primary contact relationship to the contacts table would allow login credentials to be set up and stored against an email address, or whether this could be done against the account table.
The system is being built from scratch so no need to worry about existing data and there will be a maximum of 15 PowerApps users licensed on the system.
Any help or guidance would be appreciated please.
A client has an existing company with a Microsoft Dynamics Business Central 365 set-up, and want to start a new division with a web shop.
Ideally he would be able to connect the CRM (which I can with the Dynamics 365 Integration plug-in) AND synchronise data between WooCommerce and the Dynamics ERP (sales invoices, stock management, book keeping etc.).
I can however not find any plug-in on www.ads-software.com which enables us to connect the ERP part – does any one know of such a plug-in?
The alternative would be to run a WooCommerce -> WP ERP -> Microsoft Dynamics Business Central 365 ERP set-up, but that does make not only things more complicated but also increases the changes of errors by at least a factor 4!
Any suggestions will be appreciated.
]]>greetings,
last week the connection from the Dynamics 365 plugin suddenly started failing.
on 1st August i created a new secret as the previous one had expired. everything was running fine until 16th August when it appears to have started failing.
the logs show:
[2023-08-16 01:53:34] wpcrm.NOTICE: Purging all caches and storage. [] [][2023-08-16 01:53:34] wpcrm.ALERT: Connection to CRM has been ceased. [] [][2023-08-16 01:53:34] wpcrm.NOTICE: Connecting to a new instance {“settings”:{“authMode”:”OnlineFederation”,”crmUrl”:”https://xxxx.crm6.dynamics.com/”,”ignoreSslErrors”:false,”strictFederatedSTS”:false}} [][2023-08-16 01:53:34] crmtoolkit.CRITICAL: Exception during instantiation of the CRM Toolkit. {“exception”:”[object] (BadMethodCallException(code: 0): AlexaCRM\\CRMToolkit\\Client constructor requires Username and Password at /home/xxxx/public_html/wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/Client.php:179)”} [][2023-08-16 01:53:34] wpcrm.ERROR: CRM connection attempt failed with exception. {“credentials”:[“https://xxxx.crm6.dynamics.com/”,”12121212-3434-5656-7878-999999999999″],”exception”:”[object] (BadMethodCallException(code: 0): AlexaCRM\\CRMToolkit\\Client constructor requires Username and Password at /home/xxxx/public_html/wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/Client.php:179)”} [][2023-08-16 01:53:34] wpcrm.ALERT: Connection to CRM has been ceased. [] [][2023-08-16 01:53:54] wpcrm.NOTICE: Purging all caches and storage. [] [][2023-08-16 01:53:54] wpcrm.ALERT: Connection to CRM has been ceased. [] []
when i enter in the secret again and save it, i get this at the top of the wordpress admin screen:
Unable to connect to Dynamics 365: Argument 1 passed to DOMDocument::importNode() must be an instance of DOMNode, null given. Check whether you selected the appropriate deployment type and that CRM URL and credentials are correct.
i tried the trick of changing from username/password to OAuth 2.0, providing dummy details and then switching back which i read in another post, but this made no difference.
i enabled debug and tried to connect again. here is the debug log:
[2023-08-21 05:00:20] wpcrm.NOTICE: Connecting to a new instance {“settings”:{“authMode”:”OnlineFederation”,”crmUrl”:”https://xxxx.crm6.dynamics.com/”,”ignoreSslErrors”:false,”strictFederatedSTS”:false}} []
[2023-08-21 05:00:20] crmtoolkit.DEBUG: cURL version {“curlVersion”:{“version_number”:481024,”age”:10,”features”:288343965,”ssl_version_number”:0,”version”:”7.87.0″,”host”:”x86_64-redhat-linux-gnu”,”ssl_version”:”OpenSSL/1.1.1p”,”libz_version”:”1.2.7″,”protocols”:[“dict”,”file”,”ftp”,”ftps”,”gopher”,”gophers”,”http”,”https”,”imap”,”imaps”,”ldap”,”ldaps”,”mqtt”,”pop3″,”pop3s”,”rtsp”,”scp”,”sftp”,”smb”,”smbs”,”smtp”,”smtps”,”telnet”,”tftp”],”ares”:””,”ares_num”:0,”libidn”:”2.3.0″,”iconv_ver_num”:0,”libssh_version”:”libssh2/1.10.0″,”brotli_ver_num”:0,”brotli_version”:””},”tls_constants”:{“CURL_SSLVERSION_TLSv1_2”:true}} []
[2023-08-21 05:00:20] crmtoolkit.DEBUG: Executing Execute request {“request”:”AccessTypeDefaultRetrieveCurrentOrganization”} []
[2023-08-21 05:00:21] crmtoolkit.DEBUG: Executed a SOAP request in 0.27267813682556 seconds {“request”:”https://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issueurn:uuid:55555555-6666-7777-8888-999999999999https://www.w3.org/2005/08/addressing/anonymoushttps://login.microsoftonline.com/RST2.srf2023-08-21T05:00:20.00Z2023-08-21T05:05:20.00Z11111111-2222-3333-4444-555555555555urn:crmoce:dynamics.comhttps://schemas.xmlsoap.org/ws/2005/02/trust/Issue”,”response”:”https://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issuehttps://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous2023-08-21T05:00:21.1660652Z2023-08-21T05:05:21.1660652Zurn:crmoce:dynamics.com0x8004882c0x80045b00″} []
[2023-08-21 05:00:21] crmtoolkit.INFO: Issued a new security token [organization] – expires at: Sun, 31 Dec 1899 00:00:00 +0000 [] []
[2023-08-21 05:00:21] wpcrm.ERROR: CRM connection attempt failed with exception. {“credentials”:[“https://xxxx.crm6.dynamics.com/”,”11111111-2222-3333-4444-555555555555″],”exception”:”[object] (TypeError(code: 0): Argument 1 passed to DOMDocument::importNode() must be an instance of DOMNode, null given at /home/xxxx/public_html/wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/Client.php:1410)”} []
[2023-08-21 05:00:21] wpcrm.ALERT: Connection to CRM has been ceased. [] []
(i have changed my username in the logs above to 111111-2222-3333-4444-555555555555)
is there something that has changed at the Dynamics 365 end which requires remediation in this plugin? or a new procedure to be followed at the Dynamics 365 end?
many thanks.
]]>Hi,
We have created the custom templates directory as described, but are not seeing any changes to the templates. Our goal is to override the default styles for forms, so they render to our styles.
To test, we have just changed the text on the submit button in form.twig, but it’s always “Submit” when rendered.
How do we know if the templates are being overridden?
]]>Hello Folks,
I tried connecting but no matter what i did i couldnt.
I followed the guides with Azure apps + Secret
you can see this screenshot https://prnt.sc/lRxrizyLgxs0
error message is:
Unable to connect to Dynamics 365: Cannot resolve CRM region: check CRM server url. Check whether you selected the appropriate deployment type and that CRM URL and credentials are correct.
Thank you.
]]>I am not sure if I can send the orders I receive in WooCommerce to my Navision.
This is my aim, this connection.
Can I do with this plugin?
]]>Hi, we’re working for a client that has created a View on Dynamics 365 CRM and we’re embedding it successfully through the plugin. However, they want the table being embedded to use sorting and a search functionality that seems to have been developed in the CRM backend. Is it possible to render that functionality too in WP’s frontend? Or we need to create our custom solution to include that functionality?
Thanks!
]]>Hello,
I’m new to the plugin.
I created a custom form to create new contacts.
In this form, I want to display a dropdown list for contacts to choose their nationality.
I get the list of nationalities via a FetchXML query that I display in the select tag.
The nationality field in the crm is linked to an entity, emn_nationalite.
In the contact entity, the nationality field is called “emn_nationalite_id”.
In the entity nationality, the ID is in the field “emn_nationalite_id” and the name of the nationality corresponds to the field “emn_name”.
The contact is created well when I submit the form but the nationality field remains empty in the CRM.
How can I ensure that the nationality is correctly transmitted to the CRM?
Here is my code:
[msdyncrm_twig]
{% form entity="contact" mode="create" required=["lastname", "emailaddress1", "description"] %}
<form method="POST">
<label for="firstname">First Name:</label>
<input name="firstname" required="" placeholder="First Name">
<label for="lastname">Last Name:</label>
<input name="lastname" required="" placeholder="Last Name">
<label for="mobilephone">Phone Number:</label>
<input name="mobilephone" type="tel" placeholder="Phone Number">
<label for="emailaddress2">email:</label>
<input name="emailaddress2" type="tel" placeholder="email">
<label for="nationalite">Nationalité:</label>
<select name="emn_nationalite_id">
{% for a in nartionality.results.entities %}
<option value ="{{a.emn_nationaliteid}}">{{a.emn_name}}</option>
{% endfor %}
</select>
<button type="submit">Submit</button>
</form>
{% endform %}
[/msdyncrm_twig]
]]>
Hi there,
I am helping a client integrate WP with Dynamics 365. With help of their IT person, I was able to connect successfully to the CRM.
I am not sure what happens next. Should I see a list of forms to embed w/ shortcodes?
I don’t see anything under Forms other than the reCaptcha fields.
Sorry for the newbie question….i have access to the CRM itself!
thank you.
Hello,
I installed the Dynamics 365 Integration plugin in WordPress, and I’ve been following the AlexaCRM configuration instructions.
However, I’m getting this error message when I try to connect: ” Unable to connect to Dynamics 365:?Could not find ExecuteResult node in XML returned from Server. Check whether you selected the appropriate deployment type and that CRM URL and credentials are correct.”
The Debug Log is as follows:
wpcrm.NOTICE: Connecting to a new instance {"settings":{"authMode":"OnlineFederation","crmUrl":"https://pyrogenesis.crm3.dynamics.com/","ignoreSslErrors":false,"strictFederatedSTS":false}} []
crmtoolkit.ERROR: Caught exception during Execute request {"exception":"[object] (Exception(code: 0): Could not find ExecuteResult node in XML returned from Server at /var/web/site/public_html/wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/Client.php:1025)"} []
crmtoolkit.CRITICAL: Exception during instantiation of the CRM Toolkit. {"exception":"[object] (Exception(code: 0): Could not find ExecuteResult node in XML returned from Server at /var/web/site/public_html/wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/Client.php:1025)"} []
wpcrm.ERROR: CRM connection attempt failed with exception. {"credentials":["https://pyrogenesis.crm3.dynamics.com/","<myemail>"],"exception":"[object] (Exception(code: 0): Could not find ExecuteResult node in XML returned from Server at /var/web/site/public_html/wp-content/plugins/integration-dynamics/vendor/alexacrm/php-crm-toolkit/src/Client.php:1025)"} []
wpcrm.ALERT: Connection to CRM has been ceased. [] []
wpcrm.NOTICE: Purging all caches and storage. [] []
Can anyone please help me with this?
Thank You
]]>I’m looking to get tables from this CRM Hub from Business Apps onto Dataverse and was wondering if this was at all possible since I don’t see the table or connection from Dataverse.
Hello @alexa,
I have followed the instruction as per https://alexacrm.com/kb/plugin/config/oauth-setup/ and https://docs.alexacrm.com/wpcrm/configuration/ – However when I input the App ID & Secret it will not authenticate.
I get the following error, any help is greatly appreciated
Unable to connect to Dynamics 365: Argument 1 passed to AlexaCRM\CRMToolkit\Client::__construct() must be an instance of AlexaCRM\CRMToolkit\Settings, instance of AlexaCRM\CRMToolkit\OnlineS2SSecretAuthenticationSettings given, called in /home/865594.cloudwaysapps.com/svwacnjexk/public_html/wp-content/plugins/integration-dynamics/src/Admin/Tab/General.php on line 139. Check whether you selected the appropriate deployment type and that CRM URL and credentials are correct.
Hi, I need to translate the form submit button in the page mentioned in the topic.
Is there any way to do that?
]]>The AlexaCRM Dynamics 365 Integration WordPress Plugin, using Twig templates, is causing a 500 error on pages using the msdyncrm_twig shortcode. Issue was reported by our client on 2022-12-12, and was working normally beforehand.
]]>