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

Notifications

Announcements

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

News and Announcements

Season of Giving Solutions is Here!

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 2

#1
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans