Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 71679

Forum Post: RE: Bulk Edit on Sub Grid based on N:N relationship

$
0
0
Hi Aarush, I don't think there's a way to do this logically because all of the Contacts you'll edit have different starting values from each other, so you won't be able to have any prefilled/selected values for them. Another problem is if you edit 5 contacts and pick one {Custom Entity}, do you have to disassociate any others that exist? You'd need to come up with business rules on how to handle that. If I HAD to implement this I'd Put a button on the Contact home page (the list of contacts). When you click the button, open a new htm page and pass in the IDs of the selected contacts as a parameter. This will put you on a new page and you'll know which contacts need to be updated. On the custom page, I'd have a checkbox list or a multi-select grid of {Custom Entity}. The user picks what the want from the grid and submits the page. On submit, you sync up the N:N relationship between the contacts and the {custom entity}. You need to see if the specific records are already associated or you'll get an error. Depending on the business case, you'll have to disassociate and other records that were associated but weren't selected on the page. This would definitely meet the business requirement but I would try to talk the user out of it. Let me know if you have any followup questions. If this helps I'd appreciate if you would mark this as Answering your question. Thanks, Aiden

Viewing all articles
Browse latest Browse all 71679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>