Code Monkey home page Code Monkey logo

Comments (7)

PaulNieuwelaar avatar PaulNieuwelaar commented on May 26, 2024

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

from alertjs.

MMlinsek avatar MMlinsek commented on May 26, 2024

from alertjs.

PaulNieuwelaar avatar PaulNieuwelaar commented on May 26, 2024

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.

from alertjs.

MMlinsek avatar MMlinsek commented on May 26, 2024

from alertjs.

MMlinsek avatar MMlinsek commented on May 26, 2024

from alertjs.

PaulNieuwelaar avatar PaulNieuwelaar commented on May 26, 2024

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

from alertjs.

MMlinsek avatar MMlinsek commented on May 26, 2024

from alertjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.