POST
|
10-13-2015
07:49 PM
|
1
|
1
|
1016
|
BLOG
|
Kenvin, If you doesn't need Search Widget, you can try the following steps: copy Geocoder to widgets folder change the content of manifest.json like this change the content of Geocoder/nls/strings.js like this delete Search folder or rename it to another name, rename Geocoder to Search restart server and create a new app If this steps not solve your problems please let me know. Thanks, Zezheng
... View more
09-22-2015
08:42 PM
|
1
|
0
|
3632
|
BLOG
|
Kevin, The issue you mentioned about search widget is `as-designed` now. The reason is that `Geocoder` use `findAddressCandidates` to doing autocomplete while `Search` use `suggest`. Suggestions are available if working with a 10.3 geocoding service that has suggest capability loaded or a 10.3 feature layer that supports pagination, i.e. supportsPagination = true . For Coordinate may be will do some enhancement in next release. Thanks, Zezheng
... View more
09-21-2015
08:22 PM
|
1
|
0
|
3632
|
POST
|
Steven, 1.Search Widget doesn't highlight result in online3.9, I think it need to let users configure this feature in next release. 2.Normally if you configured popup of layers in webmap, `Search Widget` will display the same content with map viewer. I can not reproduce the issue about different popup you mentioned, so could you give me an sample and the reproduce steps to let me check what's wrong in online3.9? Thanks
... View more
09-16-2015
11:21 PM
|
3
|
5
|
952
|
POST
|
Robert, It works fine by use `allPlaceholder`! Could you tell me where you find this property, I never found this property in doc of api. Thanks.
... View more
09-16-2015
10:54 PM
|
0
|
1
|
1064
|
POST
|
Diego, This is as designed. For now there has no way to update layers if users has configured it. We are going to let AttributeTable synchronous with map in next release.
... View more
09-16-2015
10:51 PM
|
1
|
1
|
759
|
POST
|
Sowjanya, I think you can use search widget to search something behind the scenes like this code snippet. searchWidgets = widgetManager.getWidgetsByName("Search");
if (searchWidgets.length > 0) {
var search1 = searchWidgets[0];
if (search1 && search1.searchDijit) {
search1.searchDijit.search(text);
}
}
... View more
09-16-2015
06:34 PM
|
1
|
1
|
353
|
POST
|
Dan, This behavior is `as-designed`. Maybe user could export the selected record to CSV then copy the text.
... View more
09-15-2015
07:27 PM
|
1
|
1
|
413
|
POST
|
Josh, I forgot that we are not in the same version, so the `widget.js` need other codes. _isIE11: function() {
var iev = 0;
var ieold = (/MSIE (\d+\.\d+);/.test(navigator.userAgent));
var trident = !!navigator.userAgent.match(/Trident\/7.0/);
var rv = navigator.userAgent.indexOf("rv:11.0");
if (ieold) {
iev = Number(RegExp.$1);
}
if (navigator.appVersion.indexOf("MSIE 10") !== -1) {
iev = 10;
}
if (trident && rv !== -1) {
iev = 11;
}
return iev === 11;
},
_isEdge: function() {
return /Edge\/12/.test(navigator.userAgent);
},
_getDownloadUrl: function(text) {
var BOM = "\uFEFF";
// Add BOM to text for open in excel correctly
if (window.Blob && window.URL && window.URL.createObjectURL) {
var csvData = new Blob([BOM + text], { type: 'text/csv' });
return URL.createObjectURL(csvData);
} else {
return 'data:attachment/csv;charset=utf-8,' + BOM + encodeURIComponent(text);
}
},
download: function(filename, text) {
if (has('ie') && has('ie') < 10) {
// has module unable identify ie11 and Edge
var oWin = window.top.open("about:blank", "_blank");
oWin.document.write(text);
oWin.document.close();
oWin.document.execCommand('SaveAs', true, filename);
oWin.close();
}else if (has("ie") === 10 || this._isIE11() || this._isEdge()) {
var BOM = "\uFEFF";
var csvData = new Blob([BOM + text], { type: 'text/csv' });
navigator.msSaveBlob(csvData, filename);
} else {
var link = html.create("a", {
href: this._getDownloadUrl(text),
target: '_blank',
download: filename
}, this.domNode);
if (has('safari')) {
// # First create an event
var click_ev = document.createEvent("MouseEvents");
// # initialize the event
click_ev.initEvent("click", true /* bubble */ , true /* cancelable */ );
// # trigger the evevnt/
link.dispatchEvent(click_ev);
} else {
link.click();
}
html.destroy(link);
}
}, In the `exportToCSV` function you need to use `params.title` instead of `params.name`. For you mentioned that you didn't notice a change, I think you need to restart the node server and try again.
... View more
09-15-2015
06:56 PM
|
1
|
1
|
344
|
POST
|
Josh, If you use xt version please use the following code to replace the `download` function in `Attribute\Widget.js`. download: function(filename, text) {
if (has('ie') && has('ie') < 10) {
// has module unable identify ie11 and Edge
var oWin = window.top.open("about:blank", "_blank");
oWin.document.write(text);
oWin.document.close();
oWin.document.execCommand('SaveAs', true, filename);
oWin.close();
}else if (has("ie") === 10 || this._isIE11() || this._isEdge()) {
var BOM = "\uFEFF";
var csvData = new Blob([BOM + text], { type: 'text/csv' });
navigator.msSaveBlob(csvData, filename);
} else {
var link = html.create("a", {
href: this._getDownloadUrl(text),
target: '_blank',
download: filename
}, this.domNode);
if (has('safari')) {
// # First create an event
var click_ev = document.createEvent("MouseEvents");
// # initialize the event
click_ev.initEvent("click", true /* bubble */ , true /* cancelable */ );
// # trigger the evevnt/
link.dispatchEvent(click_ev);
} else {
link.click();
}
html.destroy(link);
}
}, Maybe this code can solve your issue in ie10,ie11,Edge browser. If there still have something please let me know. Thanks
... View more
09-15-2015
02:47 AM
|
1
|
3
|
737
|
POST
|
Andrew, Could you give details information about Measurement ?
... View more
09-11-2015
01:33 AM
|
0
|
0
|
343
|
POST
|
Josh, The issue you mentioned can be reproduce in ie browser. If you use chrome it works fine. I will submit an issue to our repository, and try to fix it in next release.
... View more
09-11-2015
12:54 AM
|
1
|
5
|
737
|
POST
|
Venus, This is as designed. For now there has no way to update layers if users has configured it. We are going to let AttributeTable synchronous with map in next release.
... View more
09-11-2015
12:22 AM
|
1
|
0
|
344
|
POST
|
Ramakrishna, ArcGIS Server supports `order by fields` from 10.2, but the `order fields` must be an element of `outFields` array; 10.3 conquered this shortcoming but must be enable pagination. So the order feature in Query and AttributeTable only support 10.3 services which enabled `OrderBy` and `Pagination`.
... View more
09-09-2015
07:31 PM
|
1
|
0
|
373
|
POST
|
Sumit, First,you can access a style array from `this.appConfig`, the first one as the selected style. If there doesn't have styles property, use `default` as default. Second, you should send a request to get the manifest.json of theme manually. The `styleColor` is you need.
... View more
09-08-2015
07:35 PM
|
2
|
1
|
323
|
Title | Kudos | Posted |
---|---|---|
1 | 06-28-2015 10:40 PM | |
1 | 09-16-2015 06:34 PM | |
1 | 12-20-2015 06:34 PM | |
1 | 10-13-2015 07:49 PM | |
1 | 09-15-2015 02:47 AM |
Online Status |
Offline
|
Date Last Visited |
10-20-2023
07:32 PM
|