Jump to content

ArcGIS Server with local JS API over no-ip?


Capricorn

Recommended Posts

Hi people,
I installed JSAPI 3.12 for ArcGIS for Server 10.2.2 on Win7 x64.
I made recommended modifications (replace with "localhost") to files:
    rest-config.properties
    init.js
    dojo.js
Also, I changed service directory settings using admin account to:

    http://localhost/arcgis_js_api/library/3.12/3.12/init.js
    http://localhost/arcgis_js_api/sdk
    http://localhost/arcgis_js_api/library/3.12/3.12/dijit/themes/tundra/tundra.css
    http://localhost/arcgis_js_api/library/3.12/3.12/esri/css/esri.css

Now I have ArcGIS for Server JS API working offline, even with no Internet.

Is there any way I can access the same ArcGIS Server both offline and from Internet, using my no-ip host name?
Is it possible to do that using some modifications in file mapserverJSAPI.jsp, so it can read real hostname, instead of its explicite name "localhost", maybe changing String absoluteServiceUrl and String jsapiArcgisUrl?

  • Like 1
Link to comment
Share on other sites

 

I got it working :)

I made new changes to init.js and dojo.js to apply:

../arcgis_js_api/library/3.12/3.12

The result is very strange and weird, but it works both offline and online:

http:/arcgis_js_api/library/3.12/3.12/

That's a good news mate.

We have talk later about that. Too busy up to now. Anyway, I'm installing ArcGIS Server 10.2.2 to follow your steps.

Keep in touch.

 

;)

 

darksabersan.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist