POST
|
Hello All, Upon further inspection, I found that the graphic was being added to the maps graphics layer. a simple call of on ( map . graphics , 'graphic-draw' , lang . hitch ( this , function ( eventArg ) { map . graphics . clear ( ) ; } ) ) ; cleared the graphics layer of the unwanted graphic. Regards, Jacob Nosal
... View more
02-01-2017
12:26 PM
|
0
|
0
|
16
|
POST
|
Hello All, I am using the FeatureLayer.selectFeatures() function to select features on a user's click, but am having problems with it. Once a user clicks on a feature, it will flash the symbology that I've set as the selection symbol (red outline, transparent interior SimpleFillSymbol) and the show another symbology. I have inspected the return of FeatureLayer.getSelectedFeatures() with no success. Only the correctly symbolized graphic is present. I've attached a screenshot: I am unable to share code as this is a client deliverable, but am hoping someone else has ran into this problem before.
... View more
02-01-2017
07:26 AM
|
0
|
1
|
350
|
DOC
|
This presentation will focus on leveraging automation tools to produce consistent environments across development, testing, and production with tools such as Chef, Vagrant, and Visual Studio Team Services. Real world examples of deploying Web AppBuilder for ArcGIS widgets in diverse settings will be highlighted, as well as challenges and triumphs of our team. Web applications are the most visible aspect of our industry. Our clients require IT and Security compliance before form or function of deliverables; however we often say “but, it works on my machine.” This stems from an inversion of concerns and can be remedied through a holistic approach to DevOps. ESRI’s release of the ArcGIS Chef cookbooks offers an approach to replicating a production environment during development. This encourages a developer to be more thoughtful and efficient and is particularly useful when developing widgets and web apps for ArcGIS Portal and ArcGIS Online that are distributed to multiple clients in different environments. The end goal is for your environment to move from development to testing to production seamlessly, ultimately giving developers better tools to make better software. And so I never say “but, it works on my machine” again!
... View more
01-13-2017
08:10 AM
|
6
|
1
|
619
|
POST
|
It seems as though the documentation is incorrect. Including an array of FeatureLayers outside of the onLoad event works. templatePicker = new TemplatePicker({ featureLayers: [ this.map.getLayer(this.map.graphicsLayerIds[0]), this.map.getLayer(this.map.graphicsLayerIds[1]), this.map.getLayer(this.map.graphicsLayerIds[2]) ] }, templateNode); templatePicker.startup(); This code is working for me.
... View more
12-15-2016
07:45 AM
|
0
|
0
|
11
|
POST
|
Hello All, I am trying to include the esri/dijit/editing/TemplatePicker widget in my WAB widget, but am having a problem. The documentation states that: " The TemplatePicker must be created and started inside the onLoad event of the map or the layer for which it is associated." However, WAB loads the portal map far before my widget can be opened. How can I access this event or otherwise use the TemplatePicker widget? Thank you for your help! Regards, Jacob Nosal
... View more
12-14-2016
04:04 PM
|
0
|
1
|
279
|
POST
|
I have used the Yeoman generator esri-appbuilder-js:widget from the ESRI github. Would that give me the appropriate template? I am reading about the structure of a dojo templated widget right now.
... View more
11-10-2016
01:34 PM
|
0
|
1
|
41
|
POST
|
I just purged dom ids from widget B and am having the same problem.Can you recommend a style guide or template structure wiki?
... View more
11-10-2016
01:06 PM
|
0
|
3
|
41
|
POST
|
Thanks Robert. Ids are used in widget B. Would that cause widget A to not render?
... View more
11-10-2016
11:56 AM
|
0
|
1
|
41
|
POST
|
I am developing a custom WAB widget that needs to coexist with other widgets in the same application. Currently, I have two widgets, call them A and B respectively. Open widget A > close widget A > open widget B > console error: "dojo/parser::parse() error Error: Tried to register widget with id==_5 but that id is already registered(…)" >close widget B > open widget A > html doesn't render, events are registered. Open widget B > close widget B > open widget A > console error: "dojo/parser::parse() error Error: Tried to register widget with id==_5 but that id is already registered(…)" > close widget A > open widget B > no errors are encountered and widget works as desired. Has anyone experienced a similar problem? Regards, Jacob Nosal
... View more
11-10-2016
11:44 AM
|
0
|
1
|
218
|
POST
|
I am developing a custom WAB widget that needs to coexist with other widgets in the same application. Currently, I have two widgets, call them A and B respectively. Open widget A > close widget A > open widget B > console error: "dojo/parser::parse() error Error: Tried to register widget with id==_5 but that id is already registered(…)" >close widget B > open widget A > html doesn't render, events are registered. Open widget B > close widget B > open widget A > console error: "dojo/parser::parse() error Error: Tried to register widget with id==_5 but that id is already registered(…)" > close widget A > open widget B > no errors are encountered and widget works as desired. Has anyone experienced a similar problem? Regards, Jacob Nosal
... View more
11-10-2016
11:43 AM
|
0
|
7
|
380
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|