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

Notifications

Announcements

No record found.

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)
  • Verified answer
    Rawish Kumar Profile Picture
    13,758 on at

    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.

  • ganesh198715 Profile Picture
    545 on at

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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans