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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to write COC For Final Protected method

(0) ShareShare
ReportReport
Posted on by 122

Hi All,

I was facing issue while writing COC for Final projected method. I know COC will not support for Final method.

I tried using Wrappable(true) above the method ,but no luck

is there any solution for this?

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Sarath Varma,

    If it's the standard method you are trying to extend, there are not so many options as you can't modify standard code

    1. Check if there is another way to implement your change

    2. Request extension point from MS (usually it takes quite a lot of time, several platform updates, or even more)

    If you have access to modify the original method, use Wrappable attribute to solve the issue.

    docs.microsoft.com/.../method-wrapping-coc

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Hi,

    first of all, the author of the original code decides whether it's wrappable or not. Extenders (such as you and me) can't make the base code extensible. Extenders can extend the code that Microsoft has made extensible.

    As Sergei pointed out, you can log an extensibility support request. Very often you can also come up with another way of developing your code to solve your business requirement.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 445 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 407

#3
Martin Dráb Profile Picture

Martin Dráb 274 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans