11-26-2014 12:59 AM
Hi,
I am trying to run Demo from below link.
In this link it in Step 2,point 4a below:
"Search for and replace all occurrences of the following URLs:
Here instead of putting demo files on Http server can we keep demo files as statis resource in salesforce.
Thanks,
Gulab
04-10-2015 12:26 PM
Hi,
The option to keep demo files as static resource in Salesforce, appears be the same as putting the files in the in-built HTTP server, so it should work fine.
In general, as long as files are accessible through browser, it should be ok. jabberwerx.js and sample files are static resources, so no additional server side technology are required (PHP, Java,.Net…)
Thanks,
10-22-2015 10:58 AM
The instructions on that page do not reference the use of the JavaScript files in the extracted directory. I followed the instructions by extracting the contents onto my local laptop. I am starting to wonder if I need to upload those files into my SFDC instance.
Can anyone help?
Thanks!
Joe
10-28-2015 09:07 AM
Essentially correct: the files that comprise the demo need to be retrievable via HTTP by the browser when it loads/runs the pages/scripts. If you can host the pages on SFDC as static resources, that will probably work best, to avoid cross-origin security issues. Note, once so hosted, you will need to determine the full reachable URL of the files, and make corresponding updates to the URLs found throughout the sample - e.g. in Apex.Jabber.xhtml/Apex.JabberCommand.xhtml/messages&alerts.html
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide