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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Javascript from button in Crm 4

(0) ShareShare
ReportReport
Posted on by 615

Hi,

I usually work on CRM2011 but I have to do some customization on a CRM4

i need to call a js function from a button (on a grid) that i will put in a .js file

i know that i have to modify the isv.config but...

where do i to put the .js file?

and how do i call my function?

thanks

*This post is locked for comments

I have the same question (0)
  • _Alessandro_ Profile Picture
    615 on at

    Sorry, my button is not into a form,

    i need to put the button on the activity grid, so, pressing the button, i will call my function

    for all selected activityies

  • _Alessandro_ Profile Picture
    615 on at

    ok, that's what i want to do but...

    what i need to do is more complicated, and i want to call a function from a js file

    <Button Icon=”/_imgs/ico_18_debug.gif” JavaScript=”callMyFunction()”>

    i need to know where should i put this .js file.

  • _Alessandro_ Profile Picture
    615 on at

    Ok, thank you.

    so... i have to write my huge method inside this tag

    <Button Icon=”/_imgs/ico_18_debug.gif” JavaScript=”callMyFunction()”>

    and i kow that it's gonna be painful, cause i need to use a soap message...

  • _Alessandro_ Profile Picture
    615 on at

    yes, it's so true!

  • _Alessandro_ Profile Picture
    615 on at

    It's impossible to do in this way...

    i need to make a soap call to change some attributes of selected emails

    but... it's just impossible to make a SOAP call from here:

    <Button Icon=”/_imgs/ico_18_debug.gif” JavaScript=” ... SOAP CALL ... ”>

    i don't know how to do... :-(

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

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 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans