Suggestions on Deactivating a Parent Record but keeping related child records active but all fields disabled RRS feed

  • Question

  • We are interested in having the ability when a parent record is deactivated to keep related child records active but all fields disabled - basically so users can still easily access these records to view for information purposes.

    Looking for suggestions on how to accomplish this .

    Thank you,


    Thursday, July 25, 2013 6:09 PM

All replies

  • Maybe an option would first be to add JavaScript  to the Contact form OnLoad event to check if the parent Account is active or not. If not active, additional JavaScript could cycle through the fields and marked them as read-only. 

    Similar to:

    function ReadonlyForm() {
        var controls = Xrm.Page.ui.controls.get();
        for (var i in controls) {
            var c = controls[i];
            if (!c.getDisabled()) {

    Jason Lattimer
    My Blog -  Follow me on Twitter -  LinkedIn

    Thursday, July 25, 2013 6:32 PM