Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Hide the button on subgrid present on quick view form

Posted on by 100

Hi All,

I need some help in hiding add  button from subgrid present on quick view form. I cannot hide it directly because it will hide the button from subgrid present on main form also.

On entity main form I have subgrid and also a quick view which contain same related entity subgrid. I want to hide button from the subgrid which is present in quick view form. When I hide the button from ribbon work bench directly, it the hiding the button from both places main form and quick view form

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Hide the button on subgrid present on quick view form

    Hi Vaibhav,

    After several tests, I am afraid that it couldn't be achieved.

    They all belong to the subgrids of the current main form, only subgrid button of main form is able to be hidden, however, button of subgrids on the quick view form on the main form couldn't be applied with any changes.

    Regards,

    Clofly

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Hide the button on subgrid present on quick view form

    Hi,

    Can you add Action customRule javascript and pass parameters which is mentioned in below blog and put alert to see what is the value returned from both main form subgrid and quick view subgrid button.

    xrmdynamicscrm.wordpress.com/.../

    Based on the result you can add Enable Rule CUstom Rule by passing the same parameter to hide the field. and remove action as this was only added for testing purpose.

    If found helpful, Please mark my answer verified.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans