Hosting Geocortex HTML5 Apps on INTRANET - No Internet Access
Hi,
I have gone through the HTML5 Administrator and Developer Guide and not been able to locate any documentation regarding INTRANET based hosting of Geocortex web application solutions.
Example - All HTML5 Apps need http://js.arcgis.com , well my apps are hosted in an environment which is secured and I cannot provide Internet access. OK! So I need to change the URL from http://js.arcgis.com to my server JS API hosting (ofcourse, I know this since I have done this many times in ESRI JS API Apps development.). But when I try to do that for Geocortex HTML5 Apps, I find the viewer application struggles /crashes, since I have not done the job correctly .....WHY? because I didnt find any DOCUMENTATION for that. The Geocortex product lacks severely in documentaton/ guides/ help. Moreover If i search this Official Geocortex Forum for some very good technical important questions/ solutions....to my surprise I find them partially answered or not answered at all.
So for us "THE Customers of Geocortex" please can you provide/guide us for books or documents or tutorials or case studies on how to perform some basic to advanced customization tasks on HTML5 viewers.
-
Thank you for sharing your thoughts with us regarding our forums and documentation. We have been conducting an internal review of our communications channels - including the Geocortex Support Center - and want to make sure that we are making coordinated changes whenever we can. We have been fortunate to grow considerably over the past year (both in adding new employees and new customers!), and this means we are taking a fresh look at some of the tools we use. I'm happy to report that we are actively working on a new Geocortex Support Center Community that will enable you to better search for information, as well as share ideas and help others. Our goal is to foster an open, supportive community driven by members willing to share their product knowledge and experience. Note that while Latitude staff seek to participate as their workload permits, this is fundamentally a community resource that’s about people from across the Geocortex licensee base helping one other. With regards to this specific issue, we are creating a knowledge base article to help you with this configuration; however if this is of an urgent nature, I highly recommend that you contact your local Geocortex reseller so that they can help you in a more timely manner. 0 -
As promised, please refer to this knowledge base article to help with this configuration issue: (https://support.geocortex.com/running-geocortex-essentials-in-a-closed-network) Running Geocortex Essentials in a Closed Network .
I hope this helps!
0 -
Hi Pandora,
Thank you very much for your reply and guidance.
Geocortex is a great product and we at Abu Dhabi International Airports - GIS Team are trying our best to utilize this product at its fullest. its primary strength being quick design / deploy / distribute.
But since Airport IT is a highly secured environment we face many hurdles in our project execution for INTRANET access only situations.
Appreciate your response , I have started to work on this and will post back if need more help.
Thanks again.
0 -
Hi Pandora,
I tried to do the changes as per the link sent by you earlier, but I found that the steps given are incomplete.
I tried to locate the init.js and dojo.js files in the Geocortex directory and HTML Viewer directory, I am not able to locate init.js.
Further both these files are present in the (downloaded) ESRI JS API directory, but if I change them as per the instrcutions then how do I point the Geocortex HTML Viewer Site to the local ESRI JS API?
Please I guess maybe i am not able to understand or there is one step missing - configuring the HTML 5 VIEWER to point to ESRI JS API.
Thanks,
0 -
Hi there, you can find the init.js file here:
C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\Scripts\EsriJsapi\3.11\
and the dojo.js file here: C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\Scripts\dojo\
You can then adjust the entry to point to your local path to the API either on your PC or another local network location instead of online as per the (https://support.geocortex.com/running-geocortex-essentials-in-a-closed-network) KB article <https://support.geocortex.com/running-geocortex-essentials-in-a-closed-network>
Let me know how you make out.
Cheers
Jason
0 -
Hi Jason,
Thank you for your reply,
I tried the steps listed and below (described) are my findings.
Geocortex Essentials Version - 4.2.1
Geocortex HTML5 Viewer - 2.3
Version found 3.9 on file location ( C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\Scripts\EsriJsapi)
(/customer/servlet/servlet.FileDownload?file=00P6000000elzRhEAI) /customer/servlet/servlet.FileDownload?file=00P6000000elzRhEAI
init.js file found in version 3.9 folder...
/customer/servlet/servlet.FileDownload?file=00P6000000eluIcEAI
For dojo.js - C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\Scripts\dojo
(/customer/servlet/servlet.FileDownload?file=00P6000000eltzBEAQ) /customer/servlet/servlet.FileDownload?file=00P6000000eltzBEAQ
The issue is that in both the files there is no keyword - [HOSTNAME_AND_PATH_TO_JSAPI]
/customer/servlet/servlet.FileDownload?file=00P6000000em1T3EAI
/customer/servlet/servlet.FileDownload?file=00P6000000eltlsEAA
I tried to attach these files but not allowed.
Thanks,
Vipul Soni
0 -
Hi Vipul,
I am making some changes to those instructions as things have changed since its original inception back in 2012. I should have it done Thursday morning and will port an updated link here when I am done.
Thanks for your assistance and patience.
Cheers
Jason
0 -
I tried installing this, and while it worked for desktop, it complete screwed the way tablet (ipad) and Handheld (iphone) rendered tiled basemaps. I tried rolling back the Handheld.html and Tablet.html files back to default but it still failed to render the basemaps properly. The only way I could get it to work again was to completely roll back the changes.
Have you heard anything about whether anyone else experienced this issue?GXE 4.3.1
HTML5 2.4.1
tried both arcgis_js_v312_api and arcgis_js_v313_api0 -
Is there an updated link for this knowledge base article? I couldn't find an article with that name in the new knowledge base with the search or by browsing the articles. 0 -
@Chris Roberts: I am interested to know how you got this to work for the desktop. As Vipul mentioned, it seems there are some incomplete instructions.
The link to the 'Running Geocortex in a Closed Network' document is dead with the transition to the new community platform. Hopefully the team will reconnect it soon. Luckily I printed the document out on September 18, 2015 with the document last modified on 9/11/15.
Any insight would be helpful, as my viewer times out.0 -
Hi Brian
I never really go this to work properly. As I mentioned in my post, while it did seem t to work for desktop views, when it came to tablets and iphones, there were major issues with the rendering and display. I never really got an answer or a solution, so I moved on to other problems.
From memory, I didnt really have an problems in installing it, I just ran through the knowledge base article. I would be interested in hearing how you get on though. The delay and timeout issues in loading the the .js script is still an issue from time to time.0 -
For the record, starting with version 2.5 of the HTML5 viewer, there is flag in the Index.html file for the viewer (as well as the handheld.html and tablet.html) that directs the viewer to use local versions of files when loading scripts. The line in the file looks like this:
// Uncomment the below line to only use local copies of Esri API files. This is done automatically in the Geocortex Mobile App Framework.
//var geocortexUseLocalEsriApi = true;
and as per the commented out line, removing the comment (//) before the var geocortexUseLocalEsriApi = true; instructs the viewer to use local files. The html files are typically located in the following directory -
C:\inetpub\wwwroot\Html5Viewer
The end result would look like this –
// Uncomment the below line to only use local copies of Esri API files. This is done automatically in the Geocortex Mobile App Framework.
var geocortexUseLocalEsriApi = true;
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
12 Kommentare