Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Interactive dashboard with stream of a custom entity?

(0) ShareShare
ReportReport
Posted on by 560

Hi, I think I need help.
Thing is, I have a custom entity. I've created a couple of charts and one regular view (active records). 
All's fine with those.

Now I want to create an interactive dashboard on this entity. 
Here my problem starts. When I add the regular view to the dashboard as a stream, I receive an error (0x80041103 Query Builder Error).
I can show the data as a tile or as charts without a problem.

For what I found on the web this is because the stream needs a field named "name". But a field with the technical name "name" is only available on OOB entities.
On customer entities it will be something like "new_name", depending on your settings, but never just "name".

Or am I wrong and can I create a field without the prefix?

Or, is my conclusion wrong and is some other thing causing my dashboard to the error?

Would be lovely if someone could advise on this.

Kind regards,
Maurits
The Netherlands

  • Suggested answer
    Ben Thompson Profile Picture
    6,350 on at
    RE: Interactive dashboard with stream of a custom entity?

    This doesn't exactly answer your question but you can (programmatically) create an attribute called "name" you just can't do it within Dynamics 365's front end.

    Attribute = new StringAttributeMetadata
                    {
                        SchemaName = "name",
                        RequiredLevel = new AttributeRequiredLevelManagedProperty(AttributeRequiredLevel.None),
                        MaxLength = 100,
                        FormatName = StringFormatName.Text,
                        DisplayName = new Microsoft.Xrm.Sdk.Label(" Name", 1033),
                        Description = new Microsoft.Xrm.Sdk.Label("The primary attribute for the entity.", 1033)
                    }


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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans