Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Creating a phone call from custom button in Contacts

Posted on by
Hi I have a button I created through ribbon workbench, it is on the Contacts page.
When I select the button, I would like to create a call record for that contac, fill out from and to and some lookupfield and navigate to the record.  I attempted and ran into some JavaScript problem.
 
                 /regardingobjectid_contact@odata.bind/: //contacts(/ + contactId + /)/,
                /lookupcontact@odata.bind/: //contacts(/ + contactId + /)/,
                /phonecall_activity_parties/: [
                    {
                        /partyid@odata.bind/: //systemusers(/ + userId + /)/,
                        /participationtypemask/: 1 // From
                    },
                    {
                        /partyid@odata.bind/: //contacts(/ + contactId + /)/,
                        /participationtypemask/: 2 // To
                    }
 
My issue is with the lookupcontact@odata.bind, I tried lookupcontact_contact@odata.bind but that did not work as well.  The first lookup regardingobjectid works, but I get no perotyu balue was found in the payloud.
 
Thanks for any help!
Categories:

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,927 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans