Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Retrieve message plugin

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I want replace value with "*****" when user loggin != owner, but not save in data. Because, when user = owner , value return. 

When i try use service.update(entity), value not return when user logged = owner. Someone can help. Tks !

Thanks & Best Regards

*This post is locked for comments

  • Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: Retrieve message plugin

    Hi. Actually you can enable field security for achieve that. Other way is to set hide the field when on load in Javascript.

    Please refer to this for enable field security: https://msdn.microsoft.com/en-us/library/gg309608.aspx

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Retrieve message plugin

    Hi David,

    Can you show me sample code ?

    thank you

  • ashlega Profile Picture
    ashlega 34,477 on at
    RE: Retrieve message plugin

    And don't call the "update":) That call will save your changes to the database - you don't want that

  • Verified answer
    David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Retrieve message plugin

    If you don't want to save the change, but just show different data to the user, then the plugin should be registered on a Pre step, and you should modify the Entity OutputParameter to change the data shown to the user

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans