student student - 1 month ago 7
ASP.NET (C#) Question

How to have multiple entries for custom entity?

In our Dynamics CRM online custom project - we've the default ACTIVITIES tab in a custom entity named

DocProject
's form

Activities inside custom entity's Form

ACTIVITIES is able to take multiple entries.

Also, there is NOTES tab in the same form

Notes inside custom entity's Form

NOTES is also able to take multiple entries.

Okey, this is done by Dynamics CRM guys. So far so good.

In the same form, we also have a
DocProjectActivities
lookup field for a custom entity
DocProjectActivities


custom entity DocProjectActivities

This is a lookup field, hence it has got a 1:N relationship.


Clarification: Our problem is not only about Activities. WKT Notes also behaves similarly. We just need some
config
which will allow us to make multiple entries for one single field


Problem:




How do one makes sure that this custom entity
DocProjectActivities
allows to make multiple entries as that for ACTIVITIES & NOTES?

Answer

If you want your custom entity to work as an activity entity, you should have selected "Define as an activity entity" when you created it.

You cannot make a normal lookup field to multiple entities (with the exception being the possibility of creating Customer fields that was introduced in 2016.1).