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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Cancel Button Issue

(0) ShareShare
ReportReport
Posted on by 545

Hi All,

 I did some customization on 'Cancel" button on case entity, my requirement was to check are there any active associated records available when cancelling. If there are any active records are there it should stop cancelling the record(should be in active state), else should get cancel(inactive). The notification is received when there are associated active records, but when there are no associated records or active associated records then the button is not working properly. at the same time if i click on some other button(like Assign) & then click "cancel" button then it works fine. 

*This post is locked for comments

I have the same question (0)
  • ganesh198715 Profile Picture
    545 on at
    RE: Cancel Button Issue

    Yes, Checked with Alert, there no associated records, issue is with "Mscrm.IncidentCommandBarActions.cancel();" this line

  • Verified answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: Cancel Button Issue

    Hey there,

    "but when there are no associated records or active associated records then the button is not working properly"

    when you say not working properly what does this means? is not doing anything? did you try to put an alert if records are not there same way if there.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#3
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans