POST
|
You can use Report Dijit from WAB. For Example you can see Screening Widget, it is using this dijit to print the reports. https://www.esri.com/arcgis-blog/products/apps/uncategorized/creating-a-custom-widget-for-web-appbuilder-for-arcgis-usin…
... View more
10-09-2018
06:04 AM
|
1
|
0
|
970
|
POST
|
The single line field name is "SingleLineCityName" in the locator your are using, whereas you have configured it as "singleLine". Here is link using above configured locators with 4.x API sample
... View more
07-11-2018
06:35 AM
|
2
|
1
|
376
|
POST
|
We would like to create a panel which will be relative to map in browser mode where as it would be relative to browser in mobile mode. For e.g. In browser panel will be shown inside the map, whereas in mobile mode panel will be shown below the map with maps height fixed to 50% of device height. Also the map + Panel height could be greater than window height and in such case we would like to scroll both the map and the panel contents. Yiwei Ma Appreciate any ideas how to achieve it.
... View more
04-04-2018
10:20 AM
|
0
|
0
|
322
|
POST
|
Lei Zhao The cols should be your fields name/alias and rows should the values for each field in a feature. For e.g: //Cols should be an array of strings which will be used to show table column title cols: ["Name", "Address", "Lat/Lon"], //Rows should be an array of array (strings) which will be used to show values in each row rows: [ ["Brookside Park", "1630 Brookside Avenue, Redlands, CA 92373", "34.045347, -117.209909"], ["Crafton Park", "Wabash Ave & Independence Ave, Redlands, CA 92374", "34.060946, -117.140118"], ["Ford Park", "Parkford Dr & Redlands Blvd, Redlands, CA 92374", "34.043828, -117.160692"], ["Prospect Park", "352 Prospect Dr., Redlands, CA 92373", "34.039145, -117.172582"], ["Sylvan Park", "601 N University St, Redlands, CA 92374", "34.059977, -117.168179"] ] So in this example we have three columns - "Name", "Address", "Lat/Lon" and 5 rows each row is array for values in each col. For more details please see this link I Have updated the onReceiveData method to populate the this.rowItem and this.colItem in your case. onReceiveData: function(name, widgetId, data, historyData) {
if(widgetId === 'widgets_test_36') {
console.log("Report widget got the message");
this.rowItem = [];
this.colItem = [];
var resultCount = data.queryResult.length;
for (var i =0; i<data.queryResult.length; i++) {
var resultItems = [];
var featureAttributes = data.queryResult[i].attributes; //each row record
//The next is to handle fields of each record and push them into resultItems
for (var attr in featureAttributes){
//Show Column titles as Field name
if(this.colItem.length === 0){
this.colItem .push(attr);
}
//Show Values in rows
resultItems.push(featureAttributes[attr]);
}
//Add each row in rowItem
this.rowItem.push(resultItems);
console.info(this.rowItem);
}
}
}
... View more
08-11-2017
03:03 AM
|
2
|
2
|
435
|
POST
|
If you don't find the Search/config_Search then the config for search widget must be in apps config.json. You can find the "config": {} under the widgets configuration in apps config.json file.
... View more
06-05-2017
04:58 AM
|
0
|
0
|
489
|
POST
|
This seems to be an issue related to proxy configuration, can you please configure your basemap in the proxy and check.
... View more
05-31-2017
06:15 AM
|
0
|
1
|
327
|
POST
|
We came across an issue where shape file cannot be uploaded for the first time if the user is logged in to the portal. In console we can see an error "Cannot read property 'name' of undefined" We are able to reproduce the issue with sample, when updated the code to login in to portal. Attached is the sample code to reproduce the issue. While analyzing the issue we found that if "callback.html" = 'textarea' parameter is not passed in the content then this issue is not reproducible. So I would like to know the importance of this parameter and what will happen if we don't pass it.
... View more
05-30-2017
06:44 AM
|
0
|
1
|
629
|
POST
|
Robert, Although when i tried to add the layer from postCreate it is still reproducible. Yes I can check for the layer id exist in the map and remove it, but i was thinking it should be handled by the Builder when it is reloading the map after edit it should remove all the graphics layer form the map otherwise every widget adding graphics layer will face the same issue. Thanks for your inputs.
... View more
04-20-2017
10:01 AM
|
0
|
1
|
631
|
POST
|
Robert, Attached is the demo sample. 1. Open WAB in edit mode (WAB in builder mode) 2. Open Demo Widget 3. Click on map to add graphics 4. now edit the demo widget settings 5. click ok to save 6. Demo widget is open, now click on map to add graphics. Notice graphics are not visible on map. - Now open widget.js and and comment line no 24, and perform the above mentioned steps again. Now issues is not reproducible.
... View more
04-20-2017
09:17 AM
|
0
|
3
|
631
|
POST
|
I don't see any error in console, but the graphics are not drawn on the layer.
... View more
04-20-2017
08:32 AM
|
0
|
5
|
631
|
POST
|
For e.g: I have added graphics layer to show buffer from custom widget this._bufferLayer = new GraphicsLayer({ "id": "bufferGraphicsLayer" }); this.map.addLayer(this._bufferLayer); Steps to reproduce: 1: Open app with widget configured in edit mode 2: Add Graphics to graphics layer 3: Open the widget configuration settings page 4: Click ok to save settings 5: Draw a new Graphics on the buffer layer and notice the graphics is not drawn Where as, if we add graphics layer without id's and try the same steps this issues is not reproducible. This seems to be an issue with the reloading of the app in the builder mode after editing. Also i tried to access the graphics layer in the postCreate method after aditing and that layer is already available in map. So i think WAB - Builder mode is not removing the graphics layer after editing, which it should.
... View more
04-20-2017
07:54 AM
|
0
|
7
|
985
|
POST
|
It seems to be an problem with WAB Version 2.1 when using in IE9 having widgets(for eg. SmartEditor) which are doing applyEdits. WAB 2.1 is passing a parameter “wab_dv=2.1″ to every request, so in case where applyedits are being done the request url becomes invalid due to this parameter and the operation fails. Following is the sample request which is generated when we do applyedits (as it is post operation proxy is applied): http://<server address>/proxy/proxy.ashx?http://<server address>/arcgis/rest/services/<ServiceName>/FeatureServer/0/applyEdits&wab_dv=2.1
... View more
08-15-2016
11:24 PM
|
0
|
1
|
1001
|
POST
|
Is their any option in Snapping Manager - JS API to show the snap tips as below:
... View more
07-14-2016
12:09 AM
|
0
|
0
|
1149
|
POST
|
Have you tried simplifying the geometry before doing it union? Before pushing the geometry to array 'geometryToCapture' simplify using geometryEngine and if the result is valid then only consider that geometry for union.
... View more
07-07-2016
12:42 PM
|
0
|
0
|
1099
|
Title | Kudos | Posted |
---|---|---|
1 | 03-20-2015 01:59 AM | |
1 | 10-09-2018 06:04 AM | |
2 | 07-11-2018 06:35 AM | |
2 | 08-11-2017 03:03 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|