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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Hide the new button which comes in the look up using supported code in Dynamics 365 Version 1612(8.2.2.112)(DB 8.2.2.112) on-premise

(0) ShareShare
ReportReport
Posted on by 2

Hi All,

I am using Dynamics 365 Version 1612(8.2.2.112)(DB 8.2.2.112) on-premise

I have a requirement as below:

When the user will click the opportunity lookup, he/she should be able to select any one of the available opportunity. But the new button should not appear there.

Challenge is that, the user has opportunity creation privilege, we should only restrict him creating the new opportunity from the lookup.

Any input or suggestion with sample code is most welcome.

Thanks in advance

Amit Kumar Rath

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Hide the new button which comes in the look up using supported code in Dynamics 365 Version 1612(8.2.2.112)(DB 8.2.2.112) on-premise

    Hi Amit,

    This can be done only using security role , just to assign a security role to the user  which does not have any create permission of opportunity entity.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at
    RE: Hide the new button which comes in the look up using supported code in Dynamics 365 Version 1612(8.2.2.112)(DB 8.2.2.112) on-premise

    Hi Amit,

    The only supported way of doing that is to remove privileges to create records of type referenced in lookup. I would not suggest you to use unsupported approaches.

    Can check this also  - https://crmtipsbyprm.wordpress.com/2014/08/13/hide-new-button-on-inline-lookup-menu/


    If found useful, please mark the answer as verified.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.com

     

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Hide the new button which comes in the look up using supported code in Dynamics 365 Version 1612(8.2.2.112)(DB 8.2.2.112) on-premise

    Hi,

    No supported way other then removing create privilege as suggest, if you are ok with unsuppored way (which is not recommended) you can try option suggested here: community.dynamics.com/.../143994

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans