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 :
Microsoft Dynamics CRM (Archived)

cannot see the attribute in database tables/views

(0) ShareShare
ReportReport
Posted on by

Hi, I have exported a solution from my test enviroment and imported to my production enviroment as Unmanaged solution (I used the same approach when importing the solution from DEV to TEST), all changes have been published. I've added a new attribute to my Contact entity with som JScript code.

It is working fine - I can see the new attribute on the form, it contains data (i can find records via advanced find), when I change the value JScript reacts as expected, I can explore details throug XRMToolbox Metadata Browser...

But... I can't find the attribute in database. I cannot see it in dbo.FilteredContact view, it is not in the dbo.ContactExtensionBase table, I cannot find the attribute in metadataschema.Attributes table.

I have the System Administrator role in CRM, I've checked the DB with the domain admin account.

The question is - where are the data stored in my database? For the reporting reason I need a databse acces to this attribute.

I use theese select commands:

SELECT activityid FROM dbo.FilteredContact WHERE [MyOrgName]_[MyAttName] = 'some value'

or

SELECT activityid FROM dbo.ContactExtensionBase WHERE [MyOrgName]_[MyAttName] = 'some value'

In dev/test enviroments it works, in production enviroment it doesn't work. Any ideas why?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    If you are pulling data for a report, you need to add the account you are using to "PrivReportingGroup" in your active directory.

    community.dynamics.com/.../crm-2011-crm-2013-filtered-view-return-no-data

    Hope this article could help you.

  • Verified answer
    Community Member Profile Picture
    on at

    Shame on me....

    I was looking on a bad sql server, where the database was reproduced last year for some testing purpose, not on a real production DB.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans