|
POST
|
I'm playing around with v4.0 of the API, and noticed that a feature layer can only be added to a single Map. My app has both a SceneView and a MapView (the views are toggled in the same div with a button), each with a separate corresponding Map object. I can add my FeatureLayer to my Map for my MapView, and it shows up. If I try to add my FeatureLayer to my Map for my SceneView, it will remove the layer from my Map/MapView and add it to my Map/SceneView. The only way I can add a layer to both a MapView and SceneView at the same time (i.e. syncing layers across two maps/map views) is essentially cloning the FeatureLayer (or creating a new one) and adding the second one to the second view. Seems laborious and unnecessary because now my app has to keep track of two FeatureLayers that are exactly the same, just to get them to appear in two different views. Is this by design or am I doing something wrong?
... View more
11-29-2016
11:16 AM
|
0
|
2
|
1911
|
|
POST
|
I am using 3.16 of the ArcGIS API, downloaded locally via the bower / grunt instructions located GitHub - Esri/jsapi-resources: A collection of useful resources for developers using the ArcGIS API for JavaScript. . I have built my application in development using Knockout JS and it works like a charm. I load the Knockout library in the require section of my main javascript file: require(["esri/map", "app/knockout-latest"], function (Map, ko) {..... My index.html is has the dojoConfig specified as such: script type="text/javascript">
var dojoConfig = {
baseUrl: '.',
deps: ["app/knockout-latest",'app/main', 'app/date'],
packages: [
'app',
'dijit',
'dojo',
'dojox',
'dstore',
'dgrid',
'xstyle',
'put-selector',
'esri',
'js',
'dojo-bootstrap',
'lib'
],
parseOnLoad: true
};
</script>
<!--Dojo loader -->
<script src="dojo/dojo.js"></script> So my app works perfectly in development, but once I use grunt to build the application, it breaks. The build completes successfully (I use the default build.profile.js from the GitHub repo), but I get a multipleDefine error in dojo.js. I've tried everything. If I don't include it as a dependency in my dojoConfig, I get I.observableArray is not a function in dojo.js, and then a multiple define error. I don't know how to fix this, other than to remove it from the build process and AMD load process all together, load it with a separate script tag and don't use it in the require block in my main js file. Has anyone run into this issue before with the dojo build / loader and knockout? Thanks!
... View more
11-14-2016
01:15 PM
|
0
|
1
|
1544
|
|
POST
|
Did anyone find a solution to this? I am getting the same error using CA's SSO solution as an identity provider.
... View more
09-08-2016
06:48 AM
|
0
|
0
|
1323
|
|
POST
|
If there are input connectors for polling websites for XML and receiving XML on a REST Endpoint, why isn't there an input connector for watching a folder for an XML file? Has anyone successfully implemented or created an input connector for this?
... View more
08-25-2016
09:24 AM
|
1
|
1
|
1805
|
|
POST
|
So I recently had this issue as well after some upgrades, although I'm not using a proxy. As far as I understand, Geoevent gets the SSL cert that Server is using on install. From comparing the Geoevent ssl cert and the Server ssl cert, I saw they were different. So I created a new self signed certificate in Server (I use self signed certs because my Web Adaptor has the CA signed cert), set Server to use the new self-signed cert, then reinstalled Geoevent and everything worked.
... View more
07-27-2016
10:14 AM
|
0
|
1
|
3089
|
|
POST
|
Also have this issue (seeing same error in the logs) with a federated 10.4 portal /server environment (separate machines). Seems to mostly affect FeatureServices, like you said, which for us is just hosted feature services as a result of analysis operations in Portal. They often can't be added to the map, or only can be sporadically. Would love to hear if you find any resolution to this...
... View more
07-20-2016
12:31 PM
|
0
|
0
|
6404
|
|
POST
|
The security workflow for desired authentication workflow seems convoluted, so I'm hoping I can find some clarity here. I can't seem to get an OAuth2 popup to challenge a user trying to login to a self hosted Web App builder app (i.e. downloaded from WAB Developer edition and hosted on my own web server) with a secured web map OR secured layer. The only authentication challenge I get is instead of I've followed the instructions in What's the proper configuration for proxy.config and config.json for a self-hosted Web AppBuilder for ArcGIS Web Applica… but it doesn't work. Has anyone successfully been able to replicate this workflow? I want my users to be able to go to the application (without having to go through my Portal - just a direct link to the URL), and login using an identity provider (as opposed to built in Portal credentials). Here is what I've done: 1. Created a web map in Portal for ArcGIS 10.4 (which is federated with my server) 2. Created a web app (based on my web map) in web app builder dev edition, downloaded the code, and placed it on my own web server. Lets say its https://mywebserver/myapp 3. Registered https://mywebserver/myapp as an application in Portal for ArcGIS, and set the redirect URIs to be https://mywebserver and the URI for my portal (https://myportalsite). This generated an appID and appSecret. 4. Following instructions in Alex Mahrou's post, I have modified my config.json items as such: "portalUrl": "https://myportalsite",
"appId": "myappid",
"isWebTier": true,
"httpProxy": {
"useProxy": true,
"alwaysUseProxy": false,
"url": "https://mywebserver/proxy/proxy.ashx",
"rules": [{"urlPrefix":"https://myportalsite","proxyUrl":"/proxy/proxy.ashx"}]
} 5. Also following instructions in Alex Mahrou's post, I have modified my proxy.config as such: <serverUrls>
<serverUrl url="http://services.arcgisonline.com"
matchAll="true"/>
<serverUrl url="https://mywebserver"
matchAll="true"
/>
<serverUrl url="https://myportalsite/"
clientId="myappid"
clientSecret="myappsecret"
oauth2Endpoint="https://myportalsite/sharing/oauth2/"
rateLimit="600"
rateLimitPeriod="60"
matchAll="true">
</serverUrl>
</serverUrls> 7. Secured my web map to only be accessible to a specific group 8. Tried to log into app. I am only presented with the basic sign in challenge instead of the Oauth2 challenge. The same behavior happens if I secure the registered web app in Portal, or secure one of the layers in my web map. Can anyone here give me any assistance? Thanks
... View more
07-11-2016
11:16 AM
|
1
|
0
|
6643
|
|
POST
|
Did you ever resolve this? I'm getting this error as well.....
... View more
06-28-2016
07:27 AM
|
0
|
0
|
3089
|
|
POST
|
Hmmmm, that's not the behavior I'm seeing with the latest version of Web AppBuilder Developer edition. I was able to recreate the error using the Foldable Theme and a grouped widget in the header controller without any custom code I've created. Which means it must be a bug of some sort..... Anyway, thanks for your input!
... View more
06-17-2016
10:20 AM
|
0
|
0
|
1832
|
|
POST
|
Thanks Robert! But it seems like I am able configure a group to open at load. See attached screenshot with the New Group circle green (indicating open at load).
... View more
06-17-2016
10:11 AM
|
0
|
2
|
1832
|
|
POST
|
This seems to have to do with setting the widgetPool group of widgets to open automatically on app load (clicking the group icon and changing the tiny circle from orange to green in the header controller widget section). I don't get this error if I manually open the widget once the whole page has loaded. So this might have to do with load timing. Is there any way to open a widget programmatically once the app has finished loading..? What js file / method might control that behavior?
... View more
06-17-2016
09:42 AM
|
0
|
4
|
1832
|
|
POST
|
I have been developing some custom widgets and functionality to get some charts and data to show up on the side of the map (see attached image). I am getting this strange error when opening my app, which is: create panel error: Error: Tried to register widget with id==_33_panel but that id is already registered, panelId: _33_panel. Ultimately, I'm confused on how to create a group, panel, and widget configuration so that the widgets open simultaneously without issue. Here is my widgetPool section in my config.json for my theme layout..... "widgetPool": {
"panel": {
"uri": "themes/EONTheme/panels/FoldablePanel/Panel",
"position": {
"top": 5,
"right": 5,
"bottom": 5,
"zIndex": 5
}
},
"groups":[{
"label": "EON Group",
"panel":{
"uri": "themes/EONTheme/panels/EONBorderPanel/Panel",
"position": {
"top": 150,
"right": 17,
"width": 220,
"height": 220
}
},
"widgets":[{"uri":"widgets/EONSummary/Widget"},{"uri":"widgets/EONChart/Widget","label":"Chart1"},{"uri":"widgets/EONChart/Widget","label":"Chart2"}]
}]
} My custom panel, EONBorderPanel has a size of 220x220 px, but I also have three widgets in the group (EONSummary, and two EONChart widgets). My CSS for my eonborderpanel located in common.css for my theme is: .jimu-eonborder-panel>.jimu-widget-frame.jimu-container{
background-color: rgba(0,0,0,0.4);
border: 1px solid rgba(0,0,0,0.6);
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
margin-bottom: 2px;
width: 220px;
height: 220px;
} I have also set those panels as 220x220 px. So my question is am I getting this error because the app is trying to open three EONBorderPanels at the same time with the same id? Is that why I'm getting this error? And how to I prevent it? Any help would be appreciated!
... View more
06-17-2016
07:15 AM
|
0
|
5
|
3634
|
|
POST
|
Hi, I would like to create two new widgets that display similar to the following mockup, and I'm having trouble determining how to best go about it. I would prefer to use in panel widgets, but 1. I'm unsure how to allow both widgets to be open at the same time (but also be closeable if needed. 2. I'm unsure how to integrate a new panel for these two widgets (so as to make the backgrounds more transparent and other cosmetic changes). I don't really see great documentation on integrating multiple panels into a layout other than when using the headercontroller widget. I don't know if I would have to use an off-panel widget for this to work....if so, would that mean that a user could not close those widgets? And lastly, I know that the Web AppBuilder already has a chart widget, but the chart labeling is clunky and it also requires a user to click through some options to get the chart to display. I would rather the author create the chart in the configuration so the user can just display a chart without having to click through anything. If anyone has any advice I would greatly appreciate it! Thanks!
... View more
05-24-2016
07:17 AM
|
0
|
1
|
2074
|
|
POST
|
Sorry, I think I'm a little confused. Trying to style a page using 3.16 of the API, I'd need a calcite.css and esri.css, which I don't think are included with any of calcite-web, calcite-bootstrap, of calcite-maps that I can find. There are the CDN versions....https://js.arcgis.com/3.16/esri/themes/calcite/dijit/calcite.css and https://js.arcgis.com/3.16/esri/themes/calcite/esri/esri.css , which work great and as expected. And there are the versions from building the 3.16 v of the Dojo JS API using Bower, Grunt, etc. etc (./esri/css/calcite/calcite.css, and ./esri/css/esri.css). These local versions don't really work that well, especially with the attribute inspector widget but also with some other minor differences. So if I'm to understand you correctly, are there some different css files to use in place of these, ones that are in calcite-web, calcite-bootstrap, or calcite-maps? I'm already using calcite-maps-arcgis-3.x.css, which is built from calcite-maps, and calcite-bootstrap. Thanks!
... View more
04-25-2016
09:42 AM
|
0
|
1
|
1910
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 02-23-2026 11:00 AM | |
| 1 | 07-08-2025 11:33 AM | |
| 1 | 11-07-2023 08:32 AM | |
| 2 | 10-01-2025 06:52 AM | |
| 5 | 09-08-2025 07:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|