Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

CLOSE PHONE CALL Button

(0) ShareShare
ReportReport
Posted on by 25

Hi,

I need to create a button similar to "close phone call" except when users click close button the record needs to be "open" not read only so that users still can modify the phone call record. I'm using ribbon workbench tool and not able to find any javascript code which will support below function, I'm not able to find this "close phone call" CommandBarAcion.js library under webresources to look at the code they have on it.I know I need to create a javascript file and upload to webresource to make this work, any Javascript experts help me on this?? greatly appreciated for all the help.

Screenshot_5F00_5.jpg

Screenshot_5F00_6.jpg

Screenshot_5F00_4.jpg

  • Dynamics Objects 365 Profile Picture
    550 on at
    RE: CLOSE PHONE CALL Button

    Totally understand your situation. :)

    But, I would like to say that we are the technical people, we know the product better than our customers/users , therefore it is our responsibility to provide them solutions/workarounds. As per my experience, saying "No" to something with proper Reason and Workaround is always appreciated than customizing something which is not supported or of poor quality. We as technical people should have that authority.

    Anyways, please also share the solution if you find something.

    Cheers!!

  • Hemanth Z Profile Picture
    25 on at
    RE: CLOSE PHONE CALL Button

    Hi,

    Thanks for the suggestion but it doesn't meet my user requirement, They need a pop-up box and needs to close the call.

  • Suggested answer
    Dynamics Objects 365 Profile Picture
    550 on at
    RE: CLOSE PHONE CALL Button

    Hemanth,

    If I understand your requirement correctly: User should be able to mark the Phonecall as "Closed" but still should be able to edit the phone call?

    Please note that : OOTB --> Whenever we mark a phonecall/ activity as closed/Completed/Cancelled, it will be deactivated and form will become Read Only.

     

    Solution --> You don't need to dig deeper into the JS of Close Phonecall button. You dont need any code at all.

    -->

    1. Just add another value for Status Reason field . e.g. add "Close"

    2. Add Status Reason field on the Phone call form. ( You will see to Statuses - Open and Close)

    3. Hide the Close Phone Call /Mark Complete button on Phonecall form ( using ribbon workbench) 

    4. Train the users to use the Status Reason field to indicate if the Phonecall is Open or Close. 

    Outcome:

    1. Because the Close Phonecall button is hidden, users will not be able to Close or Deactivate the phonecall - Deactivating makes the form Read Only

    2. Because there is an extra Status Reason- Close, users can indicate the Phone Call as Closed/Open- This will not make the form Readonly

    3. This solution requires NO CODE.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,165 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,968 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans