on 04-15-2011 12:58 PM
I would like to include a third-party javascript library, for example MochUI or something similar and combine it with elements in a generated BSP WD application to enhance the user experience.
Is it possible? How would you do this?
Thanks,
Martin
Hi Martin,
This is possible but be wary of conflicts between your 3rd party library and SAP JS - they use '$' as a function name which libraries such as JQuery also use as a shortcut for their functions. In the case of JQuery, this can be overcome using the noConflict() method.
Patrick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the help Patrick. It turns out that I will use the application in the CRM Web UI Framework after all.
However, just for testing the application as a standalone one, I tried adding the Javascript reference in the view with calling the noConflict() method. This causes problems though, because there seems to be a lot of SAP's Javascript executing before.
I will try your other solution though.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.