Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to add the hidden text in the crm and call the hidden text on skype call using odata funtion in the javascript

(1) ShareShare
ReportReport
Posted on by 230

Hi All

I want to add the hidden text field in crm 2015 form and want to  call that hidden field on the Skype call event of contact no so as to concatenate the area code with the phone no to call on the skype.

Thanks

Tin -tin

*This post is locked for comments

  • Verified answer
    tin-tin Profile Picture
    tin-tin 230 on at
    RE: How to add the hidden text in the crm and call the hidden text on skype call using odata funtion in the javascript

    I want to  Create a Web Resource, and then paste in the modified JScript. - You can help in the following Web Resource, which can be modified to work with Lync

    function callLyncNumber(phoneFieldName) {

       var phoneField = document.getElementById(phoneFieldName);  

       phoneField.style.textDecoration = "underline";

       phoneField.style.color = "blue";

       phoneField.ondblclick = function () { if  (phoneField.value != null && phoneField.value != "") { window.open("tel:" + phoneField.value); } };

    }

  • ThomasN Profile Picture
    ThomasN 3,190 on at
    RE: How to add the hidden text in the crm and call the hidden text on skype call using odata funtion in the javascript

    Hi Tin-tin, thank you for reaching out.

    Would it not be easier to update the database with the appropriate area codes? Then have an ongoing workflow that updates contacts when created with the area code. Not sure how you are validating area codes, but just a thought.

    -Tom

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans