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)
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

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)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans