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)

Running Java Script on Whole CRM

(0) ShareShare
ReportReport
Posted on by 815

Is it possible in CRM 2015 to run javascript on the whole site rather than just pages with a form. I'd like to run custom code on pages that don't have a form, but I'm not sure how to do this... Any help would be greatly appreciated, thank you very much!

*This post is locked for comments

I have the same question (0)
  • Royal King Profile Picture
    27,686 on at

    Javascript is a client side script and it won't be executed until user opens the record. If you want to run on all records in a system you have write a custom plugin/workflow or custom application to apply some kind of logic on the all the records that exists in the system

  • mscrmba Profile Picture
    on at

    Can you use server-side business rules or workflows to achieve what your JScript is doing?  If so they run server-side /across the whole site.

    Otherwise, as Chitra says, you'd need plug-in code/a custom application.

  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    not a easy way to do this..but you can try by adding one button on each form and grids..add enable rule for this button and call javascript function from enable rule..

    As you are adding just this one enable rule..button will not be displayed on UI.

    This way your javascript script will be executed on each form or grid or globally..

    Here is example of adding global button

    blog.webfortis.com/adding-global-ribbon-buttons-for-all-entities-in-dynamics-crm

    Hope this will help..

  • Jay2014 Profile Picture
    on at

    It depends what your Scenario is, how many records you want to retrieve and how you want to trigger the event?

    I had the same issue - wanted to loop through all Contacts records so i looked to Plugins but didn't know that they have an execution time out of two minutes so it was not ideal for me to use them ..  In the end i found an awesome tool ... www.kingswaysoft.com/.../ssis-integration-toolkit-for-microsoft-dynamics-crm  

    The beauty about it is that it integrates SSIS and can execute workflows !

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