web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Add icones to View Dynamics 365

(0) ShareShare
ReportReport
Posted on by 94

Hi ,

I have a question associated to view and icons in Dynamics 365.

I used the function "displayIconTooltip(rowData, userLCID)" and this function work fine either in unified and UCI interface, I can add icon to the columns with any problems for the simple operation(Like if the column exists in the row.).

Although when I try to get value from the related entity and the column doesn't exist in View,I must make asynchrone API call to get the value and after that I display the icons compare to this value.

The users of the CRM doesn't accept that I add this value in the view.

The problem that the synchrone API is very expensive in time and it slowed the scrolling of view if we make many API call.

My suggestion is to make the API asynchrone (less expensive) ,for that I must get all the str.rowId and with this list we did the call API "asynchrone" to get the value without the problem of scrolling. (I don't get any documentation for this method ).

Or you can suggest to me another solution.

Best regards.

I have the same question (0)
  • Suggested answer
    Filipe Relvas Profile Picture
    on at

    Hello,

    Currently our internal function responsible for the View Icon setup does not support Async operations. However this is being considered for a future release and the internal suggestion is already in place. We can then wrap-up the API call in a Async / Await function and deal with the returned Promise directly in "displayIconTooltip" function. This will allow us to keep setting the Icons for each record in a non-blocking way.

    Stay tuned for future updates on this!

  • Suggested answer
    Jesse Parsons Profile Picture
    on at

    Hello,

    This has been fixed and will roll out in the 2008.3 train.  You will be able to return a Promise that resolves to a boolean in Unified Interface.  We will update the docs accordingly.

    -Jesse Parsons

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans