POST
|
I think you can use the URL from any AGOL web-app for reference in your Map Journal (through the 'website' option). Also, if you don't mind coding a bit and prefer a highly customizable solution, try the ArcGIS for JavaScript API, e.g. 'LayerList' Widget: LayerList widget | ArcGIS API for JavaScript LayerList | API Reference | ArcGIS API for JavaScript
... View more
01-25-2016
05:42 AM
|
0
|
0
|
272
|
POST
|
It's pretty straightforward, can't imagine much going wrong. Are you using the URL field? Have you tested a simple URL like www.google.com ? What happends after you have entered a section title and URL and click configure / next - any errors? Are you using any pop-up or javascript blockers?
... View more
01-25-2016
05:31 AM
|
0
|
4
|
616
|
POST
|
I try to add a WMS layer to an ESRI basemap, following the templates of Custom WMS or WMS resource info. As result I get the basemap displayed properly but the WMS layer is missing. Honestly I have no idea what I am doing wrong. GetCapabilites: http://nibis.lbeg.de/net3/public/ogc.ashx?PkgId=24&Version=1.1.1&Service=WMS&Request=GetCapabilities My request is: http://nibis.lbeg.de/net3/public/ogc.ashx?PkgId=22&Version=1.1.1&Service=WMS&Request&Service=WMS&Request=GetMap&Layers=L… Translated into the "WMS Resource Info" template, I highlighted the relevant parts: <script> var map; require([ 'esri/map', 'esri/layers/WMSLayer', 'esri/layers/WMSLayerInfo', 'esri/geometry/Extent', 'dojo/_base/array', 'dojo/dom', 'dojo/dom-construct', 'dojo/parser', 'dijit/layout/BorderContainer', 'dijit/layout/ContentPane', 'dojo/domReady!' ], function(Map, WMSLayer, WMSLayerInfo, Extent, array, dom, domConst, parser) { parser.parse(); map = new Map('map', { basemap: 'satellite', center: [10.56, 51.738], zoom: 12 }); var layer1 = new WMSLayerInfo({ name: 'L23', title: 'Geo' }); var layer2 = new WMSLayerInfo({ name: '2', title: 'Cities' }); var resourceInfo = { version: "1.1.1", format: "png", extent: new Extent(728861,6661184,1307070,7157726, { wkid: 3857 }), layerInfos: [layer1, layer2] }; var wmsLayer = new WMSLayer('http://nibis.lbeg.de/net3/public/ogc.ashx?', { resourceInfo: resourceInfo, visibleLayers: ['L23', '2'] }); map.addLayers([wmsLayer]); var details = dom.byId('details'); domConst.place('<b>Layers</b>:', details); var ul = domConst.create('ul', null, details); array.forEach(wmsLayer.layerInfos, function(layerInfo) { domConst.create('li', { innerHTML: layerInfo.title }, ul); }); domConst.place('<b>WMS Version</b>:' + wmsLayer.version + '<br />', details); }); </script> Same with "Custom Layer - WMS": <script> dojo.require("esri.map"); var map; dojo.ready(function() { dojo.declare("my.GeoLayer", esri.layers.DynamicMapServiceLayer, { constructor: function() { this.initialExtent = this.fullExtent = new esri.geometry.Extent({"xmin":728861,"ymin":6661184,"xmax":1307070,"ymax":7157726,"spatialReference":{"wkid":102100}}); this.spatialReference = new esri.SpatialReference({wkid:102100}); this.loaded = true; this.onLoad(this); }, getImageUrl: function(extent, width, height, callback) { var params = { request:"GetMap", transparent:true, format:"image/png", bgcolor:"ffffff", version:"1.1.1", layers:"L23", styles: "default,default", exceptions: "application/vnd.ogc.se_xml", //changing values bbox:extent.xmin + "," + extent.ymin + "," + extent.xmax + "," + extent.ymax, srs: "EPSG:" + extent.spatialReference.wkid, width: width, height: height }; callback("http://nibis.lbeg.de/net3/public/ogc.ashx?" + dojo.objectToQuery(params)); } }); }); function init() { map = new esri.Map("map", { basemap: "satellite", center: [10.56, 51.738], zoom: 10 }); map.addLayer(new my.GeoLayer()); } dojo.ready(init); </script>
... View more
11-11-2015
04:50 AM
|
0
|
1
|
3361
|
POST
|
Ok, I finally found the mistake - its so embarrassing... Turns out I misspelled the intended computer name when I was setting up my machine years ago. Never noticed, not even when I checked the name twice before working with WAB. Spelled it correctly like a hundred times when setting up the URIs but with a misspelled computer name no wonder it didn't work out. So yeah. Add hint #X: Double check your computer name and pay close intention to spelling. Unbelivable. Don't tell anyone and so sorry to have bothered you with such a dumb mistake.
... View more
10-27-2015
09:34 AM
|
0
|
2
|
1868
|
POST
|
My settings in AGOL/WAB-app panel (german language settings)
... View more
10-27-2015
08:47 AM
|
0
|
2
|
1379
|
POST
|
Robert, yes it basically says delete "signininfo.json", correct URIs and start again. Did that several times.
... View more
10-27-2015
08:39 AM
|
0
|
0
|
1379
|
POST
|
Rebecca, Ah sorry, that was misleading. No I don't use" Portal", I create the app in AGOL and use the App-ID provided there. Login to AGOL is with the free dev account.
... View more
10-27-2015
08:37 AM
|
0
|
3
|
1379
|
POST
|
Robert, I added the application in AGOL ( My Content / Add Item / An Application / URL) as specified above (see my first post). It is not possible to skip this step or to leave the url field empty. WAB is loading in the browser, I am redirected to http://u-----:3344/webappbuilder/?action=setportalurl , asked for Portal / Organization URL, which is http://x3lt.maps.arcgis.com/ (free dev account) and when I provide the client ID as shown in AGOL the error pops up.
... View more
10-27-2015
07:27 AM
|
0
|
2
|
1379
|
POST
|
Hey Robert, thanks for your reply! It doesn't say so in the instruction, part "provide App ID for Web AppBuilder, step 4. (Get started—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers ). Tried it anyway but sadly it is not solving the issue. Error is the same.
... View more
10-27-2015
06:50 AM
|
0
|
4
|
1379
|
POST
|
I followed the instructions and tryed problem solving with Rebeccas tips but still no success with running the Web Application Builder v.1.2. Machine is a personal computer, Win 7, browser Firefox or Chrome. My account is a free ArcGIS Dev. account. Usually I work with the Story Map application and use XAMPP to test my stuff, The instruction is clear to register with the (full) computer name, say: "uxxxxxx". No Domain but Workgroup "WORKGROUP". Redirection URIs would be: In AGOL: My Content / Add Item / An Application / URL: http://uxxxxxx:3344/webappbuilder/ Redirect URI: http://uxxxxxx and https:uxxxxxx Portal URI: http://x3lt.maps.arcgis.com/ Still getting the 400 when suppling the client ID ... what am I doing wrong? Tried with both browsers, deleting the signininfo.json, reinstalling WAB. Are the URIs correct? Can I use WAB with the free / trial dev account? Any help on this topic is much appreciated!
... View more
10-27-2015
04:42 AM
|
0
|
14
|
5213
|
POST
|
For test purposes I'd like to use applications and widgets from ArcGIS f. Developer in Story Map Journal. From what I've learned it is not possible to use customized apps in AGOL so I would modify and download the sandbox code (as html file), upload it to my webserver and access the map-application through a webmap / iframe container in the main stage. Is there any way to improve this workflow? Will the web application builder be of any use? How will users be authenticated, as my app is not registered with AGOL?
... View more
10-27-2015
03:51 AM
|
0
|
1
|
2346
|
POST
|
I tried your suggestions with the simple timestamp plugin (Tutorial: CKEditor 4 Documentation ) and everything went well. For simple HTML code this is the most convenient way to go. Much obliged!
... View more
09-03-2015
07:05 AM
|
1
|
0
|
281
|
POST
|
For Map Journal I'd like to enrich the side panel content with additional functionality, e.g. a mark or report function for the user to highlight specific sections or tour points. If I understand correctly, media types are first configured for both stages (common/builder/media) and the media object (Youtube Video, URL Image etc) is than added by the inline media function (storymapsInlineMedia/plugin.js ?) and (tpl/builder/addedit/viewText ?) to ckeditor and posted afterwards to the side panel. Now what if I just want to add small self defined scripts or html elements to the InlineMedia so that they are available to the end user through the ckeditor. As such items should not be used for the main stage, is it necessary to create a whole new media class to follow the processing flow of e.g. images or webpages or can I directly code all necessary attributes to a new item accessible by ckeditor and store these modifications in the Map Journal template? Hope this makes sense!
... View more
08-21-2015
01:58 AM
|
0
|
2
|
2739
|
Title | Kudos | Posted |
---|---|---|
1 | 09-03-2015 07:05 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|