|
POST
|
To try to change the color of the polygon, I removed it from the mxd file, republished the web service. Then, I placed it back to the mxd and republished it, and still the wab shows the same color!!!! The rest services shows the new color. It got to be something in wab that determines what color to show for a polygon regardless of what the rest services define. Then, I tried another way. I removed the layer from the layerlist and saved it. Then, brought it back and voila. The layer adapted the color as defined by the rest service. I guess the wab does not update unless a change is made on the layerlist.
... View more
03-17-2016
09:43 AM
|
0
|
2
|
1579
|
|
POST
|
That's what I thought at first, but when I checked the web service for each layer that color is not the same.
... View more
03-16-2016
01:48 PM
|
0
|
5
|
1579
|
|
POST
|
Two polygon layers are displayed in wab with the same color despite the fact that the layers were published in different colors. I want to manually to change the color of the features for each layer but I cannot see where. Does config of the locallayer support the color tag? Thank you.
... View more
03-16-2016
01:27 PM
|
0
|
10
|
3595
|
|
POST
|
Robert, Sometimes, I noticed that when I access the app on another workstation that have smaller resolutions the tools from the launchpad theme appear on the right side of the screen! Can it be prevented and be displayed on the top of the menu? Thank you.
... View more
03-15-2016
10:04 AM
|
0
|
1
|
2362
|
|
POST
|
Thank you Robert. The code I posted is actually a part of a much larger file. I removed chunks of code so I can post the issue I have. The code you posted has the same issue as the one I encounter. After you click once in the select control, you cannot make anoher selection. It just freezes. So, I started thinking, perhaps it is a browser issue. It turned out that it is!! Chrome and MS Edge has this issue. Firefox (version 30.0) doesn't! So, the question is how to make this simple code compatible with all browsers. Edit: 3/13/16 It seems that you can use the select the control without problems by using the keyboard only. Like I stated in a previous posting, the issue does not exist, if I remove the: <label id="lbl_desc" class="desc-label">Enter a Project Description (optional): </label> Why???
... View more
03-12-2016
07:16 PM
|
0
|
1
|
1410
|
|
POST
|
I have this simple select dropdown and after I select it once, it freezes! However, if I remove the label of the next control (textbox) it works! Bizarre. How can the select work with the label of the textbox? Thank you. HTML select freezes: <script src="http://js.arcgis.com/3.14/"></script>
<script src="js/select.js"></script>
</head>
<body bgcolor="blue" class="claro">
<div style="margin-top: 40px">
<label data-dojo-attach-point="identifyFromLbl" id="lbl_subject" style="width:25%;margin-top:20px;margin-bottom:10px;margin-right:10px; margin-left: 40px; font-size: 1.25em; color:white ">Select a Subject Area </label>
<select style="margin-top:20px;margin-bottom:10px;" id="subject" data-dojo-attach-point="subject" data-dojo-type="dijit/form/Select" >
</select>
<br />
<label data-dojo-attach-point="identifyFromLbl" id="lbl_desc" style="width:25%; padding-top:40px;margin-bottom:10px;margin-right:10px; margin-left: 40px; margin-top: 20px; font-size: 1.25em; color:white;vertical-align: middle ">Enter a Project Description (optional): </label>
<input type="text" style="margin-top: 20px; width:30em;vertical-align: middle" name="desc" value="" data-dojo-type="dijit/form/TextBox" data-dojo-props="trim:true, propercase:true" id="proj_desc" />
<div>
</div>
</div>
</body> HTML select works: <script src="http://js.arcgis.com/3.14/"></script>
<script src="js/select.js"></script>
</head>
<body bgcolor="blue" class="claro">
<div style="margin-top: 40px">
<label data-dojo-attach-point="identifyFromLbl" id="lbl_subject" style="width:25%;margin-top:20px;margin-bottom:10px;margin-right:10px; margin-left: 40px; font-size: 1.25em; color:white ">Select a Subject Area </label>
<select style="margin-top:20px;margin-bottom:10px;" id="subject" data-dojo-attach-point="subject" data-dojo-type="dijit/form/Select" >
</select>
<br />
<input type="text" style="margin-top: 20px; width:30em;vertical-align: middle" name="desc" value="" data-dojo-type="dijit/form/TextBox" data-dojo-props="trim:true, propercase:true" id="proj_desc" />
<div>
</div>
</div>
</body> js:
require([ "dojo/ready",
"dojo/on",
"dojo/_base/connect",
"dojo/dom",
"dijit/registry",
"dojo/dom-construct",
"dojo/parser",
"esri/domUtils",
'dijit/_WidgetsInTemplateMixin',
"dijit/Menu",
"dijit/MenuItem",'dijit/form/Select',
"dojo/domReady!"], function(
ready,
on,
connect,
dom,
registry,
domConstruct,
parser,
domUtils,
_WidgetsInTemplateMixin,
Menu, MenuItem, Select
){
parser.parse();
setup_subject();
}); function setup_subject(){
dijit.registry.byId("subject").options.length = 0;
subjectlist= [];
subjectlist.push({label:"General Environmental", value: 0});
subjectlist.push({label:"Biology", value: 1});
subjectlist.push({label:"Haz Waste", value: 2});
subjectlist.push({label:"Air/Noise", value: 3});
subjectlist.push({label:"Water", value: 4});
dijit.registry.byId("subject").addOption({label:"Select Subject Area", value: 0});
dijit.registry.byId("subject").addOption(subjectlist);
}
... View more
03-11-2016
02:02 PM
|
0
|
3
|
3263
|
|
POST
|
Sorry. I meant to post it under the JS group. I will repost it under that group.
... View more
03-11-2016
01:58 PM
|
0
|
0
|
818
|
|
POST
|
I have this simple select dropdown and after I select it once, it freezes! However, if I remove the label of the next control (textbox) it works! Bizarre. How can the select work with the label of the textbox? Thank you. HTML select freezes: <script src="http://js.arcgis.com/3.14/"></script>
<script src="js/select.js"></script>
</head>
<body bgcolor="blue" class="claro">
<div style="margin-top: 40px">
<label data-dojo-attach-point="identifyFromLbl" id="lbl_subject" style="width:25%;margin-top:20px;margin-bottom:10px;margin-right:10px; margin-left: 40px; font-size: 1.25em; color:white ">Select a Subject Area </label>
<select style="margin-top:20px;margin-bottom:10px;" id="subject" data-dojo-attach-point="subject" data-dojo-type="dijit/form/Select" >
</select>
<br />
<label data-dojo-attach-point="identifyFromLbl" id="lbl_desc" style="width:25%; padding-top:40px;margin-bottom:10px;margin-right:10px; margin-left: 40px; margin-top: 20px; font-size: 1.25em; color:white;vertical-align: middle ">Enter a Project Description (optional): </label>
<input type="text" style="margin-top: 20px; width:30em;vertical-align: middle" name="desc" value="" data-dojo-type="dijit/form/TextBox" data-dojo-props="trim:true, propercase:true" id="proj_desc" />
<div>
</div>
</div>
</body> HTML select works: <script src="http://js.arcgis.com/3.14/"></script>
<script src="js/select.js"></script>
</head>
<body bgcolor="blue" class="claro">
<div style="margin-top: 40px">
<label data-dojo-attach-point="identifyFromLbl" id="lbl_subject" style="width:25%;margin-top:20px;margin-bottom:10px;margin-right:10px; margin-left: 40px; font-size: 1.25em; color:white ">Select a Subject Area </label>
<select style="margin-top:20px;margin-bottom:10px;" id="subject" data-dojo-attach-point="subject" data-dojo-type="dijit/form/Select" >
</select>
<br />
<input type="text" style="margin-top: 20px; width:30em;vertical-align: middle" name="desc" value="" data-dojo-type="dijit/form/TextBox" data-dojo-props="trim:true, propercase:true" id="proj_desc" />
<div>
</div>
</div>
</body> js: require([ "dojo/ready",
"dojo/on",
"dojo/_base/connect",
"dojo/dom",
"dijit/registry",
"dojo/dom-construct",
"dojo/parser",
"esri/domUtils",
'dijit/_WidgetsInTemplateMixin',
"dijit/Menu",
"dijit/MenuItem",'dijit/form/Select',
"dojo/domReady!"], function(
ready,
on,
connect,
dom,
registry,
domConstruct,
parser,
domUtils,
_WidgetsInTemplateMixin,
Menu, MenuItem, Select
){
parser.parse();
setup_subject();
}); function setup_subject(){
dijit.registry.byId("subject").options.length = 0;
subjectlist= [];
subjectlist.push({label:"General Environmental", value: 0});
subjectlist.push({label:"Biology", value: 1});
subjectlist.push({label:"Haz Waste", value: 2});
subjectlist.push({label:"Air/Noise", value: 3});
subjectlist.push({label:"Water", value: 4});
dijit.registry.byId("subject").addOption({label:"Select Subject Area", value: 0});
dijit.registry.byId("subject").addOption(subjectlist);
}
... View more
03-11-2016
10:48 AM
|
0
|
2
|
2520
|
|
POST
|
I need to have my eyes checked. How much time did I wasted for this! #$@$ Thank you all!
... View more
03-01-2016
10:02 AM
|
1
|
0
|
3717
|
|
POST
|
Thank you Miriam. I still get a message that the "Cannot read property 'addOption' of undefined". It seems that the registry is still not recognized. This is from the html. <select style="margin-top:10px;margin-bottom:10px;" id="countyfield" data-dojo-attach-point="countyfield" data-dojo-type="dijit/form/Select" data-dojo-attach-event="onChange:_onCountyClick"></select>
... View more
03-01-2016
09:55 AM
|
0
|
0
|
3717
|
|
POST
|
One of my select is populated by an xml file. So, using just xmlparser will be sufficient for the whole form?
... View more
03-01-2016
09:45 AM
|
0
|
2
|
3717
|
|
POST
|
I am writing a code too fill combo box values to a form but I encounter the error that the registry is not defined even though it has been defined on line 40... Suggestions? Thank you. require([ "dojo/ready",
"dojo/on",
"dojo/_base/connect",
"dojo/dom",
"dijit/registry",
"dojo/dom-construct",
"dojo/parser",
"esri/arcgis/utils",
"esri/domUtils",
"esri/tasks/query", 'dijit/_WidgetsInTemplateMixin',
'dojox/xml/parser', 'dojox/data/XmlStore',
'esri/tasks/QueryTask',"dijit/Menu",
"dijit/MenuItem",'dijit/form/Select',
"dojo/domReady!"], function(
ready,
on,
connect,
dom,
registry,
domConstruct,
parser,
arcgisUtils,
domUtils,
Query, _WidgetsInTemplateMixin, parser,
xmlParser, XmlStore,
QueryTask, Menu, MenuItem, Select
){
parser.parse();
fillcountyselect();
});
function fillcountyselect(){
var select1 = registry.byId("countyfield");
select1.addOption( {label:"Select County", value: 0});
... View more
02-29-2016
04:32 PM
|
0
|
8
|
5821
|
|
POST
|
This is a question posted on May 1st, 2015 and it was identified as bug for secured services. I suppose that it was resolved with the latest version of the web appbuilder. However, when I use feature services that are not secure, the problem persists. After you open the AT for the first time, whatever changes you make (turn on or off) on the layers afterwards, the attribute table does not refresh. Even if I click on "refresh" or change the map extent. Also, when you use a filter and the result is not within the current map extent, the AT shows no results. When you zoom out, then the AT shows the result. Can this be changed to show the results of queries regardless of the map extent? Thank you.
... View more
02-26-2016
09:58 AM
|
0
|
1
|
2120
|
|
DOC
|
According to the link you provided, IE 10 is not supported, but it works on my workstation. So no need to use enable to use Server.
... View more
02-25-2016
02:17 PM
|
0
|
0
|
34145
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-09-2026 12:44 PM | |
| 1 | 06-08-2026 12:12 PM | |
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|