|
POST
|
Robert, good afternoon. I went through the document on the internet to set up the widget. I added the columns for the filter optoin and chose the "unique values" option to make it a drop down for end users. Later on, I am contemplating the use of json to load the dropdown instead of letting widgets go through the whole table of 29000 records. From another project (WAB 1.1, ESRI and my colleague) have a few lines of code to load the dropdown with pre-determined name value pairs. the irritation for me is they started on a blank temple / like about widget. Since the eSearch widget is built, I have to see how to disable the web service search load. Any 1 line suggestions/ pointers would be nice on this/ More important: I am getting Search Failed ! error message. I changed the URL from /FeatureServer/0 to MapServer/0 and back. I am getting the same "Search Failed !". I went through the document to see whether I had missed out any step. I have not missed any. is there any specific you have to suggest. I put a break point and was very glad to see that the dropdowns that had values were in the search conditions and the others column names did not show up.in the query. regards ravi.
... View more
03-11-2016
01:22 PM
|
0
|
3
|
2248
|
|
POST
|
Robert, good morning. thanks a lot for your reply and suggestion. I liked at the app and it is pretty nice. Let me see how to implement it in wab 1.3 version of our app/ thanks for your help once again. regards ravi.
... View more
03-09-2016
09:21 AM
|
0
|
0
|
2248
|
|
POST
|
dear Readers, After playing with the results widget, we found that query widget has a bunch of out of the box features. It took me some time to figure out that ALL was the equivalent of AND for all of the columns. In the Silverlight version of our app, (of course it is not out of the box - hand coded stuff) the end users had the ability to choose which filters they could operate on as shown below. In the picture below, the all would skip the condition for that column through a stored procedure where parameter would @EAPParam = '' and inside the stored procedure the AND condition would be AND (EAP = @EAPParam or @EAPParam = '') which would ensure that all EAP records are selected. Now we are trying to implement the same app in WAB 1.3. I was able to open up fiddler and see the GET /ArcGIS/rest/services.... /0/query?f=...... if I choose any then it becomes an OR condition and if I chose ALL then it is a set of AND conditions. Is there a way to 'intercept' the query and check for <NULL> or '' blank values to remove those from the query stack and send the appropriate values. I understand it cannot be done out of the box and that I have to find a js function in the wab black box. any links pointers would be appreciated. regards ravi.
... View more
03-08-2016
04:11 PM
|
0
|
11
|
4746
|
|
POST
|
Jordan and Trent, good afternoon. sorry for the delay in responding to you. I created a new service and it fixed it. I am unable to mark both of your responses as correct answer. regards ravi.
... View more
02-05-2016
02:59 PM
|
0
|
0
|
1510
|
|
POST
|
Dear Readers, thank you for taking the time to read this posting: I had downloaded WAB 1.3. after successfully adding a SQL Spatial point layer to ArcMap, I had published map and feature services from the same map document. To use it WAB, I had created a new Web Map and consumed the feature service. After creating a new website with edit widget, the editor was able to change the attributes of the point feature but could not move - I went back and checked to see whether the 'disable geometry change' check box was checked = true by mistake. Not it was not checked = true. So attribute changes were recorded and were verified from another machine. I am not able to move the point to a new location, any help or suggestion would be greatly appreciated. regards ravi.
... View more
02-03-2016
03:25 PM
|
0
|
3
|
3225
|
|
POST
|
dear Readers, Question: For A REST service on A particular server belonging to 2 or more Load balanced (LB) servers, how to check its availability using IP or server name from a web page on another webserver in the same domain? We have a load balanced arc gis servers with a common human readable server name for the two (or more) servers housing REST services to be consumed by our Silverlight and JavaScript applications. By design of LB servers, assign requests in a round robin fashion. if at that time, the assigned server's REST service is down, then the application throws an error. We had created an application that queries the human readable front server name/service/ to query it - this app might fail to report that the service is down if the request is assigned to the working server and the admins will not know about it and the end user might report it. we want to query individual server IP/services and know about it before the end users. LBServerName ---> 192.168.121.111 and 192.168.121.222; if my polling app hits .111 server and reports a success for a particular service, and if the web application of the end user assigns the request to .222 server and if the particular service is down, then the end user reports the error and the admins will not know it in advance. version AGS 10.3.1 on windows 2008 r2. any suggestions would be useful regards ravi.
... View more
11-10-2015
03:01 PM
|
0
|
0
|
2669
|
|
POST
|
I asked an ESRI employee Mike R. for help. His take on the issue: while creating a widget inside a widget, we should include _WidgetsInTemplateMixin item. 'dijit/_WidgetsInTemplateMixin' in define([...'dojo/dom'... 'dojo/query'... 'dijit/_WidgetsInTemplateMixin'...], function (..., ...., dijit/_WidgetsInTemplateMixin'.... ] { var clazz = declare ([BaseWidget, _WidgetInTemplateMixin], {,,,,, after that we pasted the code in html and that fixed. I will mark the answer provided by Tracy Schloss for the benefit of other readers. status; FIXED. regards ravi.
... View more
09-24-2015
11:31 AM
|
0
|
0
|
882
|
|
POST
|
Tracy Schloss, good afternoon. thanks for replying to my email. I had copied an pasted the contents of the website: pane 1, pane 2 in the above URL (1st post of mine) - I had copied to 2 widgets. One widget that was obtained from about page or with no real items on the widget. the other widget was the layer list widget. I did not do any mods to the layer list widget. the accordion/ expander style behavior did not happen in the layer list widget; but happened in the plane widget (home / about). I had added the references dijit/Titlepane in the html style and in the .js page for the required section. thanks for your time. regards ravi.
... View more
09-23-2015
03:03 PM
|
0
|
0
|
882
|
|
POST
|
dear Readers, thank you for taking the time to read this posting. We want to implement an expander like behavior on the left side frame for layer list. categorize each type of layer into different Silverlight like expander content panes. after searching around, found this: http://dojotoolkit.org/reference-guide/1.10/dijit/TitlePane.html#accordioncontainer-substitute we copied and pasted the code in a custom / no frills / plain widget and it worked. we later on decided to use it in layer list widget. the expander/ improved accordion behavior did not happen in layer list out of the box widget. Purpose: we want to separate the layers into 3 to 4 separate expander like 'controls' to minimize clutter on the screen and organize the layers. any idea even if it is different is fine. regards ravi.
... View more
09-23-2015
02:20 PM
|
0
|
4
|
3286
|
|
POST
|
Junshan Liu, good afternoon. sorry for the delay in responding to your reply. Perfect answer. Can you request an enhancement request for the application to delete this zip or create a new one with time stamp to distinguish the zips generated. I spent 2 days trying to see whether I had done something wrong. regards ravi.
... View more
09-03-2015
03:20 PM
|
0
|
1
|
991
|
|
POST
|
dear Readers, thank you for taking the time to read this post and contemplating potential solutions for the same: Situation. We have a web app builder 1.1 - the application consumes a map on a portal 10.1. We made changes in the past and used download button to get the latest code and publish to the servers. It was working fine. Recently, we made modifications to the portal server that contained the main map that resulted in modifying the itemId value in config.json - http://myServerName.Domain.com/arcgis/home/webmap/viewer.html?layers=0a7d2f5a8cfe4babbe113ec5c9cd5462 - this value. To start with, we had changed the itemId value of config.json file in the web app builder environment to use the same underlying map from the portal - but with the new ItemId. Now problems encountered are as follows: 1. when we download from a working WAB for deploy - downloaded code remembers the old itemId and not the new one even though the code folder under the WAB folder structure has the new itemId in config.json. So we had to manually change the itemId everytime before copying the contents from the download zip/unzip folder to the server location. 2. Any new widgets that were create after the 'itemId' change are not showing in the published app on the server but not on the WAB launch menu. 2b. On the server version, we see WIDGET TEMPLATE where we had mad changes. On doing a file search on the download 4 deploy zip/unzip folder, we could see the html / javascript changes that are working on WAB launch menu. The code on the server contains the new html controls and javascript code - but they would not show up. any input to resolve our current situation would be great. regards ravi
... View more
09-01-2015
03:21 PM
|
0
|
3
|
3409
|
|
POST
|
Some how the editor quit on me ... but luckily got my information through... when I am trying to call the AddWMSTest() from the code, it gives me the following error: System.TypeLoadException was unhandled by user code Message=Method 'GetUrl' in type Esri.ArcGIS.client.toolkit,datasources.wmslayer from assembly.... *.DataSources, version 2.3.0.24400 *** does not have an implementation. Right now, I do not know whether this is a old dll mashup with new dll issue. This is over and beyond the user id password requirement of the external domain issue. any help would be greatly appreciated. regards ravi.
... View more
07-06-2015
10:09 AM
|
0
|
1
|
452
|
|
POST
|
dear Readers, good morning. thank you for taking the time to read this article. we have a working SL app in production. the app development started with ESRI API 1.0 and was upgraded to the latest API as needed. The end users were interested in the toolbar that had arcmap look and feel that was deprecated after v2.x. For such user community, ESRI was kind enough to create a dll ESRI.ArcGIS.Client.Toolkit.DataSources.dll (v2.4 - 2.3.0.2440) based of toolkit source 2.4 from Codeplex (or a similar code repository). The app is working great till we are trying to do the following: 1. add a wms layer from a different domain (over the internet) that requires unique userid and password due to the sensitivity of imagery. the imagery available from the outside source is available for the entire nation. we have not heard from the provider about using a common app based user id /password like we use for the app to communicate with the database. they are examining the request and have not responded. 2. while trying to use the sample page's wms example, UI (esri.ArcGIS.client dll version = 10.2.1.0 (v 3.2) Toolkit.Datasources dll version = 2.3.0.2440 (v2.4) As the application steps into the following function - from the place where the following is called: private void AddWMSTest()
{
WmsLayer wmslayerTest = new WmsLayer();
wmslayerTest.Url = "https://Outside.ServiceProvider.com/mapservce/wmaccess";
MyMap.Layers.Add(wmslayerTest);
}
... View more
07-06-2015
10:05 AM
|
0
|
2
|
3326
|
|
POST
|
Thanks Asghar Khan for your input. I went back and checked. we have SL API version 3.2. thank you for your time. regards ravi.
... View more
06-03-2015
11:09 AM
|
0
|
0
|
967
|
|
POST
|
dear Readers, we have a SL app in production that consumes ArcGIS image services (cached tiles) from the ArcGIS server 10.11. on top of the imagery we have a mapserver service with labels from an MXD (feature layer). ISSUE: when the layer is seen without imagery, the SL app displays the labels as black color fonts on white background. When the colorful imagery is turned on for display, the labels loose their black color and display in various shades of white, gray, and black. When we go to the same area in ArcMap by adding these 2 layers from ArcGIS server to the table of content and examine the same area (approx. scale 1: 36000 to 1:9000), the labels do not exhibit the above described behavior and stay black with or without the imagery turned on. do we need to modify the configuration of the services - I do not recollect writing any code for display features. thanks and regards ravi.
... View more
06-02-2015
02:36 PM
|
0
|
2
|
4082
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-13-2013 07:52 AM | |
| 1 | 09-10-2013 02:15 PM | |
| 1 | 03-20-2023 06:38 AM | |
| 1 | 05-17-2022 07:41 AM | |
| 1 | 01-04-2021 10:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-10-2025
08:54 PM
|