Answered by:
Create custom entity and its attributes and open form in dynamic crm 2015

Question
-
Hi all,
I have created custom entity and its related attributes.
I also add data to entity successfully.
but I cant open a new form it also gives me error.
and when i try to open that record in dynamic crm it gives me error like below.
<Message>System.NullReferenceException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #7C2D3B4F</Message>
<Timestamp>2015-07-23T05:52:16.5869355Z</Timestamp>Thursday, July 23, 2015 9:07 AM
Answers
-
- Proposed as answer by Andrii ButenkoMVP, Moderator Monday, August 10, 2015 12:19 PM
- Marked as answer by NikkiShah Monday, September 14, 2015 11:59 AM
Sunday, August 9, 2015 7:08 AM
All replies
-
Did you try and publish the entity?
Halldór Jóhannsson
Thursday, July 23, 2015 12:26 PM -
yes,entity publish successfully.Friday, July 24, 2015 9:54 AM
-
If you look in the database.
There's definitely the record you entered in there?
Are any fields null?
I'm guessing maybe one of the fields is.
Friday, July 24, 2015 12:58 PM -
Hi,
How can I find which field is null?Monday, July 27, 2015 8:55 AM -
If you look at the database, look at the record you say you created.
Open it up in sql server management studio.
Each entity has 2 tables and custom entities are no exception.
They are brought together by a view.
Find the view names similarly to your entity.
Right click it.
Choose select top 1000 rows.
Fields which have something in them aren't null.
If you have a LOT of fields you could use a script.
http://www.daimto.com/sql-server-finding-columns-with-null-values/
Monday, July 27, 2015 6:12 PM -
Hi,
How can I mark area where i want to display that entity?
for example i want to show that entity in sales ..how can I ?Can you give me sample code?Monday, August 3, 2015 10:55 AM -
-
Hi,
Exactly I want to perform this action but through coading.can u give some idea or reference link for achieve this action?
Saturday, August 8, 2015 10:19 AM -
- Proposed as answer by Andrii ButenkoMVP, Moderator Monday, August 10, 2015 12:19 PM
- Marked as answer by NikkiShah Monday, September 14, 2015 11:59 AM
Sunday, August 9, 2015 7:08 AM