Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Date Only shows date and time in dashboard when plugin registered

Posted on by 10

Hi,

We created a custom date field on the opportunity.
This field uses has the setting "User Local" and the format is set to "Date Only".

We created a view on queue items to display all opportunities in queues, and have included this custom date in the view.

We also created a view on the opportunities itself including this view.

We noticed that on dashboard the view on queues shows date and tiem whereas the view on opportunity works fine.

When executing from Advanced Find, both views shows date only.

The dashboard issue doesn't show when plugin is disabled.

It seems that referring to the output is what causes the date to turn into date and time.

Even when only having a condition in the plugin, it went wrong.

Anyone similar issue or any idea what I can do to solve it?

This is what I have in the plugin

if (context.MessageName == "RetrieveMultiple" && context.OutputParameters.Contains("BusinessEntityCollection")){

}

Kind regards

  • Suggested answer
    Binau Profile Picture
    Binau 10 on at
    RE: Date Only shows date and time in dashboard when plugin registered

    Since this week, the problem disappeared.

    We assume it got fixed with the weekly Microsoft updates as we didn't make any changes.

  • Suggested answer
    chris xu Profile Picture
    chris xu on at
    RE: Date Only shows date and time in dashboard when plugin registered

    Hi Binau,

    Sounds like it's some potential issue that CRM should improve against "Plugin is changing the format of date type value to date time". But this needs double checking and verification.

    At this point, against your scenario, if it's really caused by plugin registered on "RetrieveMultiple" message, please do double check and change its format in plugin code to make sure the output is date only format.

    If this does not work, you may need to check the specific dashboard configurations to see whether anything unexpected.

    Thanks,

    Chris

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans