DOC
|
Tim, The searches are consistent now for me by commenting out those lines. I do not get the same lag you are getting nor do I get multiple attribute table calls. The data to the attribute table should be sent once and can be checked by setting a breakpoint in the Attribute Table code. For 1000 records, the attribute table populates fairly quickly after the eSearch content. How many records are you pulling for display? Are you using version 1.1 of the WAB? Are you watching network traffic with Chrome tools or Fiddler? I will be modifying my service to have more records so may have different results with a larger dataset. Now as a side note, I was having problems with proxy.js that was causing my searches to hang and cause timeout issues (Problems hitting REST services when running App on Node.js server ). I have not yet tested the suggestions for modifying the proxy timeout so cannot report anything else.
... View more
06-24-2015
08:27 AM
|
0
|
0
|
2864
|
POST
|
The app is using proxy.js, however, the call is hitting the timeout of the REST service itself running on ArcGIS server which is one minute. On your hunch, I completely removed the proxy section from the config.json and I cannot get the queries to timeout. I was trying to substitute another proxy, but cannot get the settings right since I am using the windows service. Looks like it may be the proxy, but where do I change the proxy timeout? I could not find it. Thanks for your help.
... View more
06-19-2015
09:53 AM
|
0
|
1
|
268
|
POST
|
Has anyone had any problems with the node server used for running web appbuilder? I run the node windows service on my local development machine so I can both make changes through web app builder and test the app quickly without having to deploy. While testing a query tool, I repeatedly received timeout errors when making the query call to the REST service. I could hit it a few times with no problem. As soon as it would get a timeout, then most of my queries would result in timeouts as well as calls to the print service. I tried various things like rebuilding indexes on the layer, restarting the windows service, checking server logs, running the queries on the rest service page and stepping through the code but could not figure out the issue. However, when I deployed and tested the app on an IIS server, the app ran smoothly and I did not have any timeouts. Since nothing else I tried worked, I am assuming it is the node service but am open to any suggestions. Thanks.
... View more
06-18-2015
02:48 PM
|
0
|
3
|
3179
|
DOC
|
Hi Robert, Thanks for the tool. I think I found the bug that was causing the AttributeTable tool to generate the following errors: Chrome -- TypeError: Cannot read property 'addChild' of null Firefox -- TypeError: this.tabContainer is null (this.tabContainer.addChild(cp)) The eSearch._openResultInAttributeTable() method was calling the AttributeTable._openTable method before the data was published and then the AttributeTable.onReceiveData method was calling _openTable again after the data was received. I submit my solution for your review. In Widget.js of the eSearch 1.1.8 tool I commented out lines 1549-1554 to remove the following lines from the _openResultInAttributeTable method if(this.wManager) { var attWidget = this.wManager.getWidgetsByName('AttributeTable'); if(attWidget[0]){ attWidget[0]._openTable(); } } Gerardo
... View more
06-10-2015
02:42 PM
|
0
|
0
|
2864
|
POST
|
Thanks Chris. I already went through that tutorial and do understand how to write a class now. My issue is that the ESRI tutorial needs to be corrected if others are going to gain benefit from it.
... View more
05-15-2015
01:13 PM
|
0
|
1
|
324
|
POST
|
I was going through the JavaScript "Write a class" tutorial and found a bad link to the Seat Geek search. http://servicesbeta.esri.com/demos/using-classes-with-javascript/AMD/seatgeek.html I also found the link on the "Dojo and AMD" page. Have these examples been relocated or is the site down?
... View more
05-15-2015
12:36 PM
|
0
|
4
|
3712
|
POST
|
Thanks Subu. I ended up putting entire WAB folder in a Git repository as a subfolder. When an update comes along, I can add new WAB folder to the same Git repo, do the upgrade procedure, and delete (or keep) previous versions subfolder. I also created some development branches. This is where I ran into an issue switching branches. I am running node as a windows service and apparently it locks the files in the server/db folder, so when I switched branches I got some Git permission errors. I just turn off service if I need to switch. On a related note, regarding the files in the server/db folder. They are pointers to items in the application like widgets and themes. They seem to change every time I restart node service. Do you know how they interact with node?
... View more
05-08-2015
01:08 PM
|
0
|
2
|
904
|
POST
|
Thanks Robert. Config back to normal. I used Notepad++ with the JSTool plugin.
... View more
05-07-2015
05:10 PM
|
0
|
0
|
904
|
POST
|
I'm finding myself in the same situation wanting to put project in source control. Should I put the whole WAB folder in Git or just the app folder? What about WAB updates? The WAB upgrade process sucks apps into new version so that'll mess up Git workflow. Or should I download app to another location and put into Git? Unfortunately, WAB builder is minifying the config.json of downloaded app making it harder to maintain versus WAB. I like Robert's workflow, but again I wonder about WAB upgrades and Git. Any ideas?
... View more
05-07-2015
04:58 PM
|
0
|
6
|
904
|
POST
|
Hi Steffen, Sorry for the delay in returning to this thread. I was pulled to another project that took my attention away. The issue lies in the strict scanning of python scripts when publishing as a geoprocessing service. According to Authoring Geoprocessing Tasks with Python Scripts, "when your script is scanned, every quoted string (either single- or double-quotes) used in a Python variable or as an argument to a function is tested to see if it is a path to data that exists." Line 135 in ExtractData.py is the culprit. I changed "gdb" to "file geodatabase" so it wouldn't look like part of a path when passed to getTempLocationPath, and it published. I'll be curious to see how the script has changed in SP1. Hope this helps, GG
... View more
09-19-2012
02:56 PM
|
0
|
0
|
117
|
POST
|
I have been creating services in 10.1 using geoprocessing tools created in 10.0. One tool was based on the Extract Data Task in the Server Tools toolbox. I ran the tool which completed successfully, but when I tried to publish results as geoprocessing service, I received the following: Error - Code 68 - Script Extract Data contains broken project data source: gdb Warning - Code 24032 - Data source used by Script Extract Data is not registered with the server and will be copied to the server: gdb I then used the 10.1 ExtractData.py script to refactor the 10.0 script and received the same error. When I ran the Extract Data Task directly from the Server Tools toolbox, it published successfully. When I copied the Extract Data Task and script to a new toolbox, publishing failed again with the above error. After some more research and testing, I realized that the Server Tools Extract Data was using an embedded script which was different from the Extract Data.py script in the ArcGIS\Desktop10.1\ArcToolbox\Scripts folder. Question: Is it possible to get copy of the functional embedded ExtractData.py script?
... View more
08-07-2012
08:45 AM
|
0
|
11
|
3088
|
POST
|
Hi Karen, When ran into a similar problem, I had to change Privileges for the user in ArcCatalog. After connecting to your SDE database in ArcCatalog, right-click on the layer in question and select the Privileges option. In there, enter the User that is connecting to the layer in the Feature Service, then set View and Edit options to "GRANT." Hope this helps, GG
... View more
07-17-2012
11:13 AM
|
0
|
0
|
99
|
POST
|
Thanks for the code snippet Jeff. Very helpful. When I used it, however, the extent property of the describe object needed to be accessed before referring to the min & max coordinates, eg, desc.extent.XMin. GG
... View more
05-11-2012
11:29 AM
|
0
|
0
|
590
|
POST
|
Mark, The viewer geoprocessing tool is probably hanging because it is not receiving an output object from the server. Once an output is set in the python script, the tool, and the model, it should show up in the viewer tool setup. Even adding a message string saying "Processing Complete" is enough for the viewer tool. For more info, see the document on Geoprocessing Input/Output Data Types. Hope that helps, GG
... View more
05-03-2012
01:19 PM
|
0
|
0
|
253
|
POST
|
Creation of draw object looks fine. However, in your examples, you mention using both Marker and Fill symbols. When drawing a point graphic, make sure your _activeMarkUpSymbol is a Marker symbol. When drawing a rectangle/polygon graphic, make sure your _activeMarkUpSymbol is a Fill symbol. I also noticed that when you created your graphics layer, you used a SimpleRenderer with a Markup symbol. I believe that limits the graphics layer to creating only point graphics. Try removing the renderer from the graphics layer creation.
... View more
04-26-2012
07:15 AM
|
0
|
0
|
248
|
Online Status |
Offline
|
Date Last Visited |
01-16-2024
03:31 PM
|