Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to prevent change entity image

(1) ShareShare
ReportReport
Posted on by 395

Hi all,

we are use crm2016

we need to prevent change entity image

any idea?

thanks

*This post is locked for comments

  • Suggested answer
    RE: How to prevent change entity image

    Using Unsupported way ,might be you can do that using java script .

    1- take id of the image div section

    2- Apply disply : none   css

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to prevent change entity image

    If you dont want to remove write access , Create  security roles or teams and assign to the user . Check particular user roles or team for the record in the plugin and throw exception.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: How to prevent change entity image

    Hi,

    it seems this is not possible.

    stackoverflow.com/.../trigger-a-plugin-step-on-entityimage-change

  • NAOMI314 Profile Picture
    NAOMI314 395 on at
    RE: How to prevent change entity image

    So I create new plugin that trigger on update contact.

    I want to select "entityImage" in the filtering attributes, but I don't find it.

    Can you please explain me what should I do exactly to make the plugin to be run after user changed the "entityImage" field?

    Thanks!

  • Suggested answer
    Flydancer Profile Picture
    Flydancer 1,332 on at
    RE: How to prevent change entity image

    Hi Nomi,

    "entityimage" is the correct field but you can't use it in a workflow. You have to build a custom plugin and throw an Exception when an user tries to change the field.

  • NAOMI314 Profile Picture
    NAOMI314 395 on at
    RE: How to prevent change entity image

    Hi,

    I want to throw an exception when the user changes the entityImage, but I don't find this field,

    How does the field called?

    If there is no possibility of doing so, there is another idea how can we prevent the change?

    Thanks!

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to prevent change entity image

    Hi,

    I don't think there is any way to restrict the write access for the just the entity image. This is a kind of field and users can change it if they have access to update contact. I checked the field security as well but this is also by default disable i.e. you can't implement field security as well for this.

    I also check out of box workflow but it looks like you can trigger a workflow either on change of entity image. so last option (which I didn't check) but believes should work is using a plugin on contact update and then checking the image & user and then throw error if required.

    Hope this helps.

  • Suggested answer
    StefanS365 Profile Picture
    StefanS365 3,573 Most Valuable Professional on at
    RE: How to prevent change entity image

    If you set the Write privilege on Contact to User than only (you as) the owner of the contact can change the entity image

  • NAOMI314 Profile Picture
    NAOMI314 395 on at
    RE: How to prevent change entity image

    Hi,

    I want to update the contacts images in my job.

    But I don't want that the others users will be able to change it.

    Any idea?

    Thank you

  • gdas Profile Picture
    gdas 50,085 on at
    RE: How to prevent change entity image

    Hi ,

    What are you trying to achieve ? can you please elaborate ?

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