Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamics CRM 365 (v9) compatibility #28

Closed
MMlinsek opened this issue Sep 25, 2019 · 7 comments
Closed

Dynamics CRM 365 (v9) compatibility #28

MMlinsek opened this issue Sep 25, 2019 · 7 comments

Comments

@MMlinsek
Copy link

Hello,

I have one quick question. Is this library compatible with latest version of Dynamics CRM 365 (v9)?

Thank you in advance.

Best Regards,

Matej

@PaulNieuwelaar
Copy link
Owner

Hi Matej,

Yes Alert.js is fully compatible with the latest version of Dynamics 365 v9+ and is constantly updated to keep up with the latest CRM releases.

You can download the free trial version and test this in your environment to ensure it's all working correctly for you. If you do notice any styling issues etc, you can create an issue and we'll get that resolved as soon as possible.

Cheers,
Paul

@MMlinsek
Copy link
Author

MMlinsek commented Sep 27, 2019 via email

@PaulNieuwelaar
Copy link
Owner

Hi Matej,

Yes it's possible to access the form functions from inside the web resource. For this you should be using the getCrmWindow function. Documentation/usage for both versions below (depending on what version you're using).

v2.1: https://github.com/PaulNieuwelaar/alertjs/wiki/Documentation#alertgetcrmwindow
v3.0: https://github.com/PaulNieuwelaar/alertjs/wiki/Documentation-v3.0#getcrmwindow

In your case, once you've got the window, you can access Xrm.Page etc from there.

E.g. parent.Alert.getCrmWindow().Xrm.Page.

@MMlinsek
Copy link
Author

MMlinsek commented Oct 1, 2019 via email

@MMlinsek
Copy link
Author

MMlinsek commented Oct 17, 2019 via email

@PaulNieuwelaar
Copy link
Owner

Hi, in this case you'd need to prevent closing the alert via the default 'X', so you can control the callback function yourself.

https://github.com/PaulNieuwelaar/alertjs/wiki/Documentation-v3.0#base-alert-object
Set 'preventCancel' to true to remove the default 'X' button which hides the alert, then add your own custom button to handle your logic + hide the alert.

Cheers,
Paul

@MMlinsek
Copy link
Author

MMlinsek commented Oct 19, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants