locked
Hide Entity Link in Sitemap based on security role RRS feed

  • Question

  • Hi

    I have a link to a custom entity on the left nav bar on the main form. I need to hide this link only for certain security roles. I have read quite a few forums, but could nto find anything that matches this requirement. Any help?

    Tuesday, January 31, 2012 12:50 AM

All replies

  • Hi Glora

    See if this link helps you:

    http://community.dynamics.com/product/crm/f/117/t/28176.aspx

    Let me know if this fits your need else I will try to look something else

     

    • Proposed as answer by nrodriEditor Tuesday, January 31, 2012 5:27 PM
    Tuesday, January 31, 2012 1:46 PM
  • Sorry, my issue is slightly different.

    I have a custom entity to store all configuration settings and values, which need to be read by users. If I do not give read permission, then I am unable to read the values from javascript. But, I want to hide the entity. So, it's like give read permission, but hide the entity for the same security role. How?

    Friday, February 3, 2012 5:53 PM
  • Hi Glora,

    In that case you can delete it from the site map.

    Sitemap is used for displaying links to entities, if you delete the entity, you removing it from the menus. However users will not see it, but they can still have read access and access the entities within other entities etc...

    Regards

    Nuno


    Visit my blog for CRM material, improving performance, kerberos, IFD, development tips, etc. :) http://quantusdynamics.blogspot.com
    Saturday, February 4, 2012 1:06 PM
    Answerer