Dynamics Crm: creating Connection entities via API
So Connections in Dynamics CRM provide a general purpose way of linking things together. Internally the Connections entity has a Record1Id attribute and a Record2Id attribute, among other things. When you create a connection via the UI , CRM actually " creates two entries in the Connection table in the database. Each entry allows you to search for the related record from the originating record or the related record. " That is, if you connect A and B, it saves two rows to the (behind the scenes) table: one with Record1Id = A and Record2Id = B and one with Record1Id = B and Record2Id = A This is