student student - 11 months ago 46
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

'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
lookup field for a custom entity

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
which will allow us to make multiple entries for one single field


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

Answer Source

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).