web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Active Discussion

Need to hide +New button of lookup in sub-grid.

(0) ShareShare
ReportReport
Posted on by

1)This is a custom Entity, i have created N:N relationship for the same entity(Self Referential).

2)Created a Sub-grid on custom entity form, now i need to hide +New button under "search" lookup of  sub-grid.

For reference please find below screen shot.Hide-sub-grid-New-Button.PNG

Please help on this issue asap.

Thanks,

Suresh

*This post is locked for comments

  • gdas Profile Picture
    50,091 Moderator on at

    Hi Suresh ,

    You need to remove entity create privileges from User Security role to hide this button.

  • Community Member Profile Picture
    on at

    Hi Goutam,

    Thanks for quick rply.

    If i remove  Create privilege, then "NEW" button from ribbon also will be hide right?. For me, "NEW" button on ribbon should be visible and need to hide "+New"  from sub-grid.

  • gdas Profile Picture
    50,091 Moderator on at

    Unfortunately there is no other supported way to hide only specific lookup new button.

  • Pawar Pravin Profile Picture
    5,237 on at

    Hi Suresh,

    As suggested by Goutam, there is no any supported way to hide it.

    In case of you want to hide + button please do refer following code:

    parent.$('#logicalnameofattribute').attr('isinlinenewenabled','0');

    crmtipsbyprm.wordpress.com/.../hide-new-button-on-inline-lookup-menu

  • Community Member Profile Picture
    on at

    How can hide "+New" button of sub-grid, using Xpath?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans