|
POST
|
I placed this in every style.css file in the map folder and got nothing... I'm so confused by the layout of the styles locations. I assumed that the WAB would only create a folder for the used version of a theme. I have a color folder for each styling of the themes... so confused.
... View more
06-22-2016
07:49 AM
|
0
|
0
|
1568
|
|
POST
|
As you can see... the RED part of the pie chart has this tiny, broken pop-up bubble with a "M:6" which is SUPPOSED to render as 6 Males. It looks like crap?! Is there anything I can do to adjust this? Here is the official sandbox location of the map: ArcGIS Web Application Any help would be appreciated.
... View more
06-20-2016
12:58 PM
|
0
|
4
|
3749
|
|
POST
|
I couldn't figure it out so I went back to the MXD and renamed each layer with a completely unique layer name. Apparently, the layers sharing a similar name (regardless of the grouping they may/may not be in) didn't matter. swInlet under Private lines was treated a duplicated of swInlet under City owned lines.
... View more
06-07-2016
02:41 PM
|
1
|
0
|
1033
|
|
DOC
|
There is not one that I am aware of. I believe you could export to excel? But I'm not positive.
... View more
06-07-2016
08:51 AM
|
0
|
0
|
980
|
|
POST
|
So I'm trying to setup a FULL map. I'm having issues with the Attribute Table Widget. When I initially open the widget I get a series of layer names like so... So I went into the config file and adjusted it. {
"layerInfos": [{
"name": "Abandoned: Abandoned Points",
"id": "COT_STORMWATER_4896_1",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/1"
},
"show": true
},
{
"name": "Abandoned: Abandoned Lines",
"id": "COT_STORMWATER_4896_2",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/2"
},
"show": true
},
{
"name": "Under Construction: Endsection",
"id": "COT_STORMWATER_4896_4",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/4"
},
"show": true
},
{
"name": "Under Construction: Inlets",
"id": "COT_STORMWATER_4896_5",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/5"
},
"show": true
},
{
"name": "Under Construction: Pipe Junction",
"id": "COT_STORMWATER_4896_6",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/6"
},
"show": true
},
{
"name": "Under Construction: Manhole",
"id": "COT_STORMWATER_4896_7",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/7"
},
"show": true
},
{
"name": "Under Construction: Network Structure",
"id": "COT_STORMWATER_4896_8",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/8"
},
"show": true
},
{
"name": "Under Construction: Gravity Main",
"id": "COT_STORMWATER_4896_9",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/9"
},
"show": true
},
{
"name": "Under Construction: Improved Channel",
"id": "COT_STORMWATER_4896_10",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/10"
},
"show": true
},
{
"name": "Under Construction: Detention",
"id": "COT_STORMWATER_4896_11",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/11"
},
"show": true
},
{
"name": "Under Construction: Retaining Wall",
"id": "COT_STORMWATER_4896_12",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/12"
},
"show": true
},
{
"name": "Under Construction: Open Drain",
"id": "COT_STORMWATER_4896_13",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/13"
},
"show": true
},
{
"name": "Private: Endsection",
"id": "COT_STORMWATER_4896_15",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/15"
},
"show": true
},
{
"name": "Private: Inlets",
"id": "COT_STORMWATER_4896_16",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/16"
},
"show": true
},
{
"name": "Private: Pipe Junction",
"id": "COT_STORMWATER_4896_17",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/17"
},
"show": true
},
{
"name": "Private: Manhole",
"id": "COT_STORMWATER_4896_18",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/18"
},
"show": true
},
{
"name": "Private: Network Structure",
"id": "COT_STORMWATER_4896_19",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/19"
},
"show": true
},
{
"name": "Private: Gravity Main",
"id": "COT_STORMWATER_4896_20",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/20"
},
"show": true
},
{
"name": "Private: Open Drain",
"id": "COT_STORMWATER_4896_21",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/21"
},
"show": true
},
{
"name": "Private: Detention",
"id": "COT_STORMWATER_4896_22",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/22"
},
"show": true
},
{
"name": "Private: Retaining Wall",
"id": "COT_STORMWATER_4896_23",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/23"
},
"show": true
},
{
"name": "Project Number Text",
"id": "COT_STORMWATER_4896_25",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/25"
},
"show": true
},
{
"name": "Remarks Text",
"id": "COT_STORMWATER_4896_26",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/26"
},
"show": true
},
{
"name": "City of Tulsa Owned: Endsection",
"id": "COT_STORMWATER_4896_27",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/27"
},
"show": true
},
{
"name": "City of Tulsa Owned: Inlets",
"id": "COT_STORMWATER_4896_28",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/28"
},
"show": true
},
{
"name": "City of Tulsa Owned: Pipe Junction",
"id": "COT_STORMWATER_4896_29",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/29"
},
"show": true
},
{
"name": "City of Tulsa Owned: Manhole",
"id": "COT_STORMWATER_4896_30",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/30"
},
"show": true
},
{
"name": "City of Tulsa Owned: Network Structure",
"id": "COT_STORMWATER_4896_31",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/31"
},
"show": true
},
{
"name": "City of Tulsa Owned: Gravity Main",
"id": "COT_STORMWATER_4896_32",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/32"
},
"show": true
},
{
"name": "City of Tulsa Owned: Improved Channel",
"id": "COT_STORMWATER_4896_33",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/33"
},
"show": true
},
{
"name": "City of Tulsa Owned: Detention",
"id": "COT_STORMWATER_4896_34",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/34"
},
"show": true
},
{
"name": "City of Tulsa Owned: Detention Facility Access",
"id": "COT_STORMWATER_4896_35",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/35"
},
"show": true
},
{
"name": "City of Tulsa Owned: Retaining Wall",
"id": "COT_STORMWATER_4896_36",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/36"
},
"show": true
},
{
"name": "City of Tulsa Owned: Open Drain",
"id": "COT_STORMWATER_4896_37",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/37"
},
"show": true
},
{
"name": "City of Tulsa Owned: Drainage Basin",
"id": "COT_STORMWATER_4896_38",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/38"
},
"show": true
},
{
"name": "City of Tulsa Owned: Levee",
"id": "COT_STORMWATER_4896_39",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/39"
},
"show": true
},
{
"name": "City of Tulsa Owned: Bridge",
"id": "COT_STORMWATER_4896_40",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/40"
},
"show": true
},
{
"name": "City of Tulsa Owned: Waterline",
"id": "COT_STORMWATER_4896_41",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/41"
},
"show": true
},
{
"name": "City of Tulsa Owned: Waterbody",
"id": "COT_STORMWATER_4896_42",
"layer": {
"url": "http://maps.cityoftulsa.org/gis/rest/services/Eng/COT_STORMWATER/MapServer/42"
},
"show": true
}],
"table": {
"pageSizeOptions": [25,
50,
100,
1000]
},
"hideExportButton": false,
"initiallyExpand": false,
"filterByMapExtent": true
} and it doesn't stick. I can CLOSE the WAB. Edit the config file. And when I open the WAB and that app I still get the messed up layer names. Any suggestions?
... View more
06-07-2016
07:35 AM
|
0
|
1
|
2854
|
|
POST
|
Got it! On line 16 you don't need the "new Date" but just "Date" and it works. I hadn't modified the code well enough. //now check if there is a url search to do
var myObject = this.getUrlParams();
if (myObject.esearch) {
if(myObject.esearch === "curmonth"){
var today = new Date();
today.setDate(1);
var thisMonthStr = this._formatDate(today.getTime(), 'yyyy/MM/dd');
myObject.esearch = thisMonthStr + "~" + this._formatDate(new Date().getTime(), 'yyyy/MM/dd');
console.info(myObject.esearch);
}
if(myObject.esearch === "curyear"){
var today = new Date();
today.setDate(1);
var thisYearStr = this._formatDate(today.getTime(), 'yyyy');
myObject.esearch = this._formatDate(Date(thisYearStr), 'yyyy');
console.info(myObject.esearch);
}
if(this.config.layers[myObject.slayer].expressions.expression.length > 0){
var valuesObj1 = lang.clone(this.config.layers[myObject.slayer].expressions.expression[myObject.exprnum].values.value);
var values = myObject.esearch.split("|");
array.forEach(values, lang.hitch(this, function(val, index){
if (val.indexOf('~') > -1){
var ranges = val.split("~");
valuesObj1[index].valueObj.value1 = ranges[0];
valuesObj1[index].valueObj.value2 = ranges[1];
}else{
valuesObj1[index].valueObj.value = val;
}
}));
html.empty(this.textsearchlabel);
html.place(html.toDom(this.config.layers[myObject.slayer].expressions.expression[myObject.exprnum].textsearchlabel), this.textsearchlabel);
this.paramsDijit.build(valuesObj1, this.resultLayers[myObject.slayer], this.config.layers[myObject.slayer].url,
this.config.layers[myObject.slayer].definitionexpression);
this.selectLayerAttribute.set('value', myObject.slayer);
on.once(this.paramsDijit, 'param-ready', lang.hitch(this, function () {
this._queryFromURL(myObject.esearch, myObject.slayer, myObject.exprnum, myObject.close || false);
}));
} Voila!
... View more
06-02-2016
02:00 PM
|
1
|
0
|
1131
|
|
POST
|
So after asking Robert Scheitlin, GISP about some custom URL parameters I've been able to tweak some code modifications he sent to extrapolate upon them. But I'm hitting a weird error. Here is my code: //now check if there is a url search to do
var myObject = this.getUrlParams();
if (myObject.esearch) {
if(myObject.esearch === "curmonth"){
var today = new Date();
today.setDate(1);
var thisMonthStr = this._formatDate(today.getTime(), 'yyyy/MM/dd');
myObject.esearch = thisMonthStr + "~" + this._formatDate(new Date().getTime(), 'yyyy/MM/dd');
console.info(myObject.esearch);
}
if(myObject.esearch === "curyear"){
var today = new Date();
today.setDate(1);
var thisYearStr = this._formatDate(today.getTime(), 'yyyy');
console.info("This year string is : " + thisYearStr);
myObject.esearch = this._formatDate(new Date(thisYearStr), 'yyyy');
console.info("This year string AFTER modiication is : " + myObject.esearch);
}
if(this.config.layers[myObject.slayer].expressions.expression.length > 0){
var valuesObj1 = lang.clone(this.config.layers[myObject.slayer].expressions.expression[myObject.exprnum].values.value);
var values = myObject.esearch.split("|");
array.forEach(values, lang.hitch(this, function(val, index){
if (val.indexOf('~') > -1){
var ranges = val.split("~");
valuesObj1[index].valueObj.value1 = ranges[0];
valuesObj1[index].valueObj.value2 = ranges[1];
}else{
valuesObj1[index].valueObj.value = val;
}
}));
html.empty(this.textsearchlabel);
html.place(html.toDom(this.config.layers[myObject.slayer].expressions.expression[myObject.exprnum].textsearchlabel), this.textsearchlabel);
this.paramsDijit.build(valuesObj1, this.resultLayers[myObject.slayer], this.config.layers[myObject.slayer].url,
this.config.layers[myObject.slayer].definitionexpression);
this.selectLayerAttribute.set('value', myObject.slayer);
on.once(this.paramsDijit, 'param-ready', lang.hitch(this, function () {
this._queryFromURL(myObject.esearch, myObject.slayer, myObject.exprnum, myObject.close || false);
}));
} What's happening is on line 11 when it finds curyear, the variable 'thisYearStr' loads FINE... but the 'myObject.esearch' converts it to 2015. Any ideas?
... View more
06-02-2016
11:24 AM
|
0
|
1
|
2754
|
|
POST
|
I'm using the eSearch widget by Robert Scheitlin, GISP and started noticing issues yesterday. Basically, I have performed some customizations ( eSearch Related : Custom Query for Current Month ) and updated the widget and now I am noticing that nothing is working. Only to discover ALL of my customizations have been overwritten in the STEMAPP folder. Which propagated down through to my apps. I'm stumped. Flustered. Really angry. Not sure what is happening here but all of my custom code is gone... I'm getting issues where the widget is being duplicated in my 'Add New Widget' window. It's quite frustrating and I'm hoping that rather than just fix it... if someone can tell me what might have gone wrong? I would like to avoid this if possible. Ever again.
... View more
05-27-2016
01:43 PM
|
0
|
2
|
3463
|
|
POST
|
That's the thing. In the actual FOLDERS in Windows Explorer, there is only one... But when I go to add a widget... there are two.
... View more
05-27-2016
12:30 PM
|
0
|
1
|
2189
|
|
POST
|
Technically now I get double eSearch options when trying to re-add the widget... I feel like I'm falling in the rabbit hole...
... View more
05-27-2016
12:21 PM
|
0
|
3
|
2189
|
|
POST
|
*pinching the bridge of my nose* Ok... I'm getting something back from there as well. So search by shape works... but nothing in regular searching?! So confused... I think I'm MORE confused now than I was before... lol
... View more
05-27-2016
10:17 AM
|
0
|
1
|
2189
|
|
POST
|
I'm developing a Web App for Collisions in Tulsa. I built the MXD. It uses a Query Layer that pulls from some Oracle DB's. I Shared the MXD as a REST Service. I built an AGOL map using that REST Service. I built a WAB App using that AGOL Map. I added in the eSearch widget ( the one published on 23MAY ). ( thanks to creator Robert Scheitlin, GISP ) Configured it with my REST Service. I'm getting nothing... ArcGIS Web Application There is the link to the sandbox version of it. I spent more than a few hours yesterday trying to figure it out. I'm at a loss. About to go back to the early version of the eSearch.
... View more
05-27-2016
09:42 AM
|
0
|
9
|
5204
|
|
POST
|
Technically, this is in relation to Robert Scheitlin, GISP and his eSearch widget. But I assume it would work for any. Here is my scenario. 1) I have a working and deployed WAB App. 2) App uses Widget 123 3) Widget 123 gets an Update from version X.1 to X.2 4) App needs some functionality of X.2 version Now up till now, I add the new version to my WAB and then recreate the entire WAB App. Then the new version goes directly in. Problem solved. As the complexity of my WAB Apps are growing this is becoming a tedious process and I am hoping to update my procedures here. So I am asking. What is the preferred way to update a WAB App with a new version of Widget 123 once an update comes out?
... View more
05-26-2016
07:08 AM
|
0
|
5
|
3350
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2015 08:51 AM | |
| 1 | 06-02-2016 02:00 PM | |
| 1 | 10-09-2015 07:43 AM | |
| 1 | 10-09-2015 09:42 AM | |
| 1 | 02-09-2016 07:10 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|