Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Identify if a field was updated in Power Pages(Power Portal) instead of D365 Sales app

(0) ShareShare
ReportReport
Posted on by 3,175
Hello Community
 
I have a requirement where i need to execute a business logic only when the field is updated by external user in the Power Page(Power Portal).
The same field could be updated by internal user via the standard Sales App, and the custom business logic should not run in this case.
 
Any pointers would be appreciated.
 
San
  • Verified answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Identify if a field was updated in Power Pages(Power Portal) instead of D365 Sales app
    Hi San,
    When external users create or update records on the portal, the actual creator or modifier of the record is not them.
    No matter which external user logs into the portal, the record belongs to a fixed user set by the system.
    Through test in my environment, 
    # Portals-Customer Self Service 1 is this fixed user.
    So i can use 'Modifield By = # Portals-Customer Self Service 1' as condition as a way to indicate that the current field change was operated by an external user on the portal.
    You can test this in your environment to see which user this is and use it in your business logic.

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     

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