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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Custom the action of renewing contract

(0) ShareShare
ReportReport
Posted on by

Hi All,

I am trying to overwrite the system action of renewing a contract
The system action when pressing on "renew contract" button ,is taking

  1. copy from the expired contract
  2. create new contract with status "Draft"
  3. pasting the data from expired contract to new drafted contract 

This action is disastrous for me because I have a lot of custom entities and records which associated with the expired contract ,and I also want to link them with the new renewed contract 
So what I want when pressing on "renew contract" button , is to change the status of the original contract from "Expired" to "Draft"
I tried to make a workflow which run on demand ,But it gives me error when run this workflow 

Advise Please,Thanks In advance 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Radu Chiribelea Profile Picture
    6,667 on at

    Hi Martina,

    You can try following:

    1. Hide the existing Renew button

    2. Create a new button that looks the same as the existing one and when it's pushed, invoke a CRM Action. via JavaScript

    3. When the action is invoked, have a plug-in triggered that does the logic you need

    Here is an example, which I hope might get you started: www.wipfli.com/.../160810-calling-custom-actions-from-javascript

    Hope this helps,

    Radu

  • Dynamics365 Rocker Profile Picture
    7,755 on at

    What error are you getting? please share screen shot.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Martina,

    You can create a copy of the existing record. There are several paid and free custom colution which you can use-

    community.dynamics.com/.../246130

    github.com/.../Clone%20Record.md

    Hope this helps.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans