Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Activities subgrid in case still active after case is not active

(0) ShareShare
ReportReport
Posted on by 350

Hi, I added an Activities sub-grid to the Case form. Everything works fine with the subgrid, however we noticed it is still possible to add activities to the Case pressing the plus (+) icon in the sub-grid although the Case itself is not Active and the form is read only because of that. Other controls in the form are correctly in read only mode while the Case is not active.

So, how can I force the Activities sub-grid to be in read only when the case is not active? We are using CRM 2016 OnPremise but it is occurring in the Online version too.

Thanks for your ideas and time.

Xavier Villafuerte

*This post is locked for comments

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Activities subgrid in case still active after case is not active

    Hi Xavier,  

     that information is still captured in the "case resolution" activity, but, of course, it's much easier to use the "owner" field. You might create a user lookup field on the case entity and use it for reporting (might have a workflow to copy "owner" lookup to that new field.. just don't forget a condition not to copy that special team). Anyway, those are just some workarounds.

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: Activities subgrid in case still active after case is not active

    Thanks Alex for your suggestion. I was trying to think about all the side-effects and what worries me the most is the fact if I reassign the case to this team, I will lost the information about who closed the case saved on the Owner field. Our customer is using that information for reporting purposes.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Activities subgrid in case still active after case is not active

    Hi Xavier,

     you might also assign all resolved cases to a dedicated team (which might belong to its own BU), and, then, configure security roles so that nobody has "append to" on the cases in that BU.

     Might do that re-assignment automatically in a workflow whenever a case is closed. That would probably require other adjustments to the security roles.

     Anyway, point being, if you re-assign resolved cases so that your users loose "appendto" permission, they won't be able to add activities.

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: Activities subgrid in case still active after case is not active

    Thanks for your answer but well, there was no luck. I followed Steve's procedure step by step but the button is still there. I can see the logic behind Steve's post and I agree with each step but in my case it is not working. I am pretty sure all customizations are published. Please see the attached image for clarification. It is really frustrating because I don't know what I am doing wrong.

    Button-Image.jpg

    Xavier

  • Suggested answer
    meenoo Profile Picture
    meenoo 7,316 on at
    RE: Activities subgrid in case still active after case is not active

    Ok. Here is another same question which I believe should give you what you are looking for.

    Mr. Scott Durow has given a solution to handle this situation. take a look:

    social.microsoft.com/.../crm-2011-how-to-disable-the-new-activity-ribbon-button-for-a-deactivated-custom-entity

    Thank you.

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: Activities subgrid in case still active after case is not active

    I would appreciate any ideas from you.

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: Activities subgrid in case still active after case is not active

    Thanks, but for any reason it is not working for the Activities subgrid. Usually when you use a JS function to control a button with RBW when the main form is loaded you can check if the button is firing the JS function but in this case the sub-grid is not firing the JS  function so no logic is executed. I don't know what I am doing wrong:

    1) I created a solution with case and Activities entities

    2) Open the Solution in RBW

    3) Select activitypointer entity and select the subgrid elements grid

    4) Right Click on the New {0} button and customize the command adding an Enable rule with the JS function. In case I was wrong, I performed the same task on the Add New {0} button. Same result (Not Active cases still able to add activities in the sub-grid)

    Any other ideas? This has no sense for me. Why a Closed Case with a read only form is allowing to work with controls?

    Xavier

  • Suggested answer
    meenoo Profile Picture
    meenoo 7,316 on at
    RE: Activities subgrid in case still active after case is not active

    Hi Xavier,

    Here is a similar question that's been answered in the forum already. See if this helps:

    community.dynamics.com/.../156441

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans