Hi, I need to install JQUERY and SignalR javascript libraries in ProfoundUI rich display file product. These libraries are needed by a credit card package we are considering for use in our payment processing.
Is it possible to download these libraries in the custom.js directory and have them load when a rich display file is presented to the client? The vendor tols me that the libraries just have to be available on the server side for their product to work. We plan on putting their payment landing page in an iframe on a rich displsy file record format for use by our users.
If not, how would I load/install these 2 libraries in rich display file product?
Keep in mind that I am not a jquery or signalR developer and I am just trying to find a way to interact with this new payment landing page provided by the vendor.
Thanks,
Ric
Install jquery and SignalR libraries for rich display files
-
- New User
- Posts: 8
- Joined: Wed Feb 05, 2014 6:10 pm
- First Name: Ric
- Last Name: Turner
- Company Name: Jano Justice Systems, Inc
- Phone: 6013627601
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Install jquery and SignalR libraries for rich display files
Custom.js is not a directory, it is a JavaScript file. Perhaps you meant the /www/YOUR-INSTANCE/htdocs/profoundui/userdata/custom directory?
The normal way to install jquery would be to add <script> and possibly also <link> tags to the start.html file. People don't usually use the "custom" directory for this because it's important that jQuery loads before your own JavaScript files that use it -- and you can't control what order they are loaded if you use the "custom" directory. Likewise, if you meant the custom.js file in a Genie skin, you would not want to load them in there (via pui.loadJS) because you'll want jQuery loaded before any of your own JavaScript.
So, if you are using Genie (and possibly meant "custom.js") then you would add <script> and maybe also <link> tags into the "start.html" file that is in your Genie skin directory.
If you are using Rich Displays directly (via /profoundui/start URL or Atrium's Rich Display launcher) then you would add it into /www/YOUR-INSTANCE/htdocs/profoundui/userdata/html/start.html file the same way.
Obviously, if you've created your own custom html start page instead of using ours, then you should add these tags into your custom page.
I've never heard of SignalR, but if it is a JavaScript framework, I would guess that the same procedure should be used.
The normal way to install jquery would be to add <script> and possibly also <link> tags to the start.html file. People don't usually use the "custom" directory for this because it's important that jQuery loads before your own JavaScript files that use it -- and you can't control what order they are loaded if you use the "custom" directory. Likewise, if you meant the custom.js file in a Genie skin, you would not want to load them in there (via pui.loadJS) because you'll want jQuery loaded before any of your own JavaScript.
So, if you are using Genie (and possibly meant "custom.js") then you would add <script> and maybe also <link> tags into the "start.html" file that is in your Genie skin directory.
If you are using Rich Displays directly (via /profoundui/start URL or Atrium's Rich Display launcher) then you would add it into /www/YOUR-INSTANCE/htdocs/profoundui/userdata/html/start.html file the same way.
Obviously, if you've created your own custom html start page instead of using ours, then you should add these tags into your custom page.
I've never heard of SignalR, but if it is a JavaScript framework, I would guess that the same procedure should be used.
-
- New User
- Posts: 8
- Joined: Wed Feb 05, 2014 6:10 pm
- First Name: Ric
- Last Name: Turner
- Company Name: Jano Justice Systems, Inc
- Phone: 6013627601
- Contact:
Re: Install jquery and SignalR libraries for rich display files
Thanks, Scott.
I will try linking the libraries (files) in the START process.
I will try linking the libraries (files) in the START process.
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests