Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Can use a JS (CRM 2011) in CRM 2016?

(0) ShareShare
ReportReport
Posted on by

Hello everybody!

I've a dude about it, if I've a JS in CRM 2011 and want use it in CRM 2016, it will work? Because I'm triying make a new JS in CRM 2016, but in the job they ask me "and why you don't use the old script?" XD.

I think that I cannon't or probabily there are some codes that changed with the versión upgrading, but I don't know if it's true or not.

For your time Thanks You!.

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    Hello Rid!!!

    Well in this time the info. don't help me with go to the branch stage... but it give me info for move screen stage!!!! :D

    I didn't know that we can do that, is so nice :3 move lineal in active stage and screen stage.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    Hi Maurizio,

    Please have a look on the following link.

    Hope it helps :)

    https://community.dynamics.com/crm/f/117/t/241309

    Thanks 

  • Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    I loved you bro! (If you are a woman, I loved you girl!).

    Thanks for that information! I was battle with Js and it was more easy with branch bpm :D.

    !! I was able to make the bpm, but there I've a dude.

    There is a function function Xrm.Page.data.process.moveNext(); ; I want know how I can use it for move to the branch (I can move in the lineal process).

    And Thanks again!

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    https://www.powerobjects.com/2015/03/25/branching-and-programmatically-branching-process-flows/

    Thanks

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    No need to create new BPF, You just have to add Condition (Branch) i.e like if else condition.

    Suppose If someone selects "yes" then it will skip the stage2 and  it should be move on directly stage3 and if selects "No" all stages should be shown stage1, stage2,stage3.

    You can have a look on following link. Hope it may help you :)

    community.dynamics.com/.../enhanced-business-process-flow-in-crm-2015-vega-release

    Thanks

  • Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    Hello Rid.

    A branching bpf how work?? I need make another proces or what? I'vee seen sometime in the page but I didnt undestard that :S.

    Can you make a little example? And thanks for the info ^^

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    Hi Maurizio,

    You might also consider a branching BPF - that would work for subsequent stages. It seems it is the easiest solution, where no dev required.

    Thanks

  • Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    Thanks man.

    A little dude, I didn't get the Js CRM2011 codes yet, but I can use the crm and I've seen that I can stay in "Stage3- Identify inssuries" and my client got somes "economical problems" and told me to "freeze the selling / On Hold it", so there I can select a option that said:

    "On Hold?" (Y) - (N) ; If I select (Y), I can "jump" to Stage8- On Hold and write the reason for that.

    So... I found that Xrm.Page.data.process.setActiveStage(Id, Function) can "jumps" to previus actived stages by process...

    --> How I can active a "future" stage? Ejm: If he select "On Hold", it apply that Stage8 get active and eneable the use of .setActiveStage() for jump to him.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    Hi Maurizio,

    90% of code should be work.

    Proceed as follows:

    1) use existing code

    2) if you get an error, debug and fix it

    3) if you need some help we are here :-)

    Hope it helps!

    Francesco

    If you found the answer helpful, please mark as Verified 

    Join my network on LinkedIn      Follow me on Twitter 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna+Milano, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Verified answer
    Rawish Kumar Profile Picture
    13,758 on at
    RE: Can use a JS (CRM 2011) in CRM 2016?

    Hi Maurizio,

    Most of the functions of javascript remains the same.

    you can definitely use it - its just that if you have been using Odata earlier - you must replace it with WebApi.

    Apart from it i dont think there would be an issue until ofcourse once you use and get error otherwise. i would suggest you to have a look on the SDK and also on technet.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans