MscrmTools / MscrmTools.PolymorphicLookupCreator

GNU General Public License v3.0
6 stars 7 forks source link

Creation of Polymorphic Relationship for Virtual Entity #1

Closed AndrewButenko closed 3 years ago

AndrewButenko commented 3 years ago

Getting the following error:

An error occured when creating Polymorphic lookup column: For Relationships referencing Virtual Entites, Cascade link type must be No Cascade


MscrmTools commented 3 years ago

Hi @AndrewButenko, can you test with this release? It allows to change relationship info, so that you can define the cascading behavior yourself MscrmTools.PolymorphicLookupCreator.zip

madhavikaran commented 1 year ago

I am also having an same issue on Virtual Entities. I also tried with the shared DLL fir testing. But getting same error. Please Check.

koss054 commented 5 months ago

I just ran into this problem (version 1.2024.5.14). I managed to create the polymorphic lookup by:

  1. Ticking only one of the entities (it resets the settings we'll be applying when selecting another);
  2. Setting Cascade behavior to custom and all other behaviors to None from the Relationship info panel found on the right-hand side;
  3. Creating the polymorphic lookup column;
  4. Selecting the other entity I needed after the polymorphic lookup column had been created;
  5. Repeating step 2 for this entity;
  6. Applying the changes.

For polymorphic lookups with more than two entities, repeat steps 4, 5, and 6 until all required entities have been added.