Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

How to add actionable info message in Dynamics 365 FinOps?

Hichem.Chekebkeb Profile Picture Hichem.Chekebkeb 3,371

Who else like me missing the actionable message where you can click on the link that take you to the subject document like in AX2012?
Fortunately, this was released back to FinOps in 2020. I haven't seen a blog post talking about it, so, I thought to make one.

Right into the subject, here is a working code I used when done from creating a purchase requisition:

2021_2D00_04_2D00_14_5F00_0_2D00_58_2D00_08.png

And the result is a link in my case will open the generated PR like below:

2021_2D00_04_2D00_14_5F00_1_2D00_18_2D00_27.png

Here is a bonus!

As I am fan of building reusable code I though of wrapping this chunk of code into a simpler call and a more or less satisfying result looked like this:

2021_2D00_04_2D00_14_5F00_0_2D00_58_2D00_09.png

What's magic behind the wrapper class? Just some simple defaulting logic:

2021_2D00_04_2D00_14_5F00_1_2D00_43_2D00_30.png

There is the other part where you can provide objects to the message action that you can fetch at the destination, I will cover that in another post soon.

Hope you can start including more actions to your info from now!

Comments

*This post is locked for comments

  • Hichem.Chekebkeb Profile Picture Hichem.Chekebkeb 3,371
    Posted at
    @Greg365 The goal here is to share an experience not to share code library for copy paste. I think you should put some efforts re-writing the code and put some thoughts to it. You might end up with a better version than mine. Best of luck.
  • Greg365 Profile Picture Greg365 77
    Posted at
    Please share the code?