POST
|
thanks for the input Thomas. I've tried just loading the script at the endpoint https://js.arcgis.com/3.22/ into my project and referencing it there. However, there does seem to be some internal hooks in there - seems to be a connection to dojotoolkit. And the required css files (esri.css for sure) point to fastfonts links in a cdn somewhere. I simply want to replace what works in a script link <script src="https://js.arcgis.com/3.22/"></script> with something local. Most packages would have an npm registered repo which gets all the dependencies and uses relative urls to those dependencies inside a local folder....and a readme that instructs me how to load the main script. Is there a scenario with the dojo loader that does that (through bower)?
... View more
10-06-2017
09:35 AM
|
0
|
1
|
744
|
POST
|
Client has heavy restrictions on internet access, so I would like to load all scripts into project rather than referencing them from CDNs (for example sdk is at https://js.arcgis.com/3.22). However, the js and css (esri.css for example) files all contain many references to online font files, icon files etc. Is there a loading option that lets me use all (project) local scripts and css without embedded cdn references (normally would use Npm and dependencies are loaded) There is the bower option but the docs seem out of date. Bower build doesn't give an esri folder per the documentation, yet there's a arcgis-js-api component. However the arcgis-js-api folder doesn't appear to contain the main arcgis api script file. Not a great readme to describe how to use the bower option? Has anyone used the bower "custom build" option successfully?
... View more
10-05-2017
12:08 PM
|
0
|
3
|
897
|
POST
|
Much thanks Sapna, that did the trick. I have one other issue in that some columns were published with dots in the name (like DB.DATE_TIME) and the dot notation seems to be unwelcome, but when I try your stats query on a column without the dot character it works great. Will probably need to get the data published in a friendlier form. thanks again for taking the time to help. --Danny
... View more
06-22-2017
12:17 PM
|
0
|
0
|
1317
|
POST
|
Thanks for the suggestion. Is it possible to add the Order By clause to a WHERE clause? The issue is that there is perhaps 1 million records for which I need the maximum (most recent) time. But I don't want to retrieve a million records because of the time/resources needed. So I was hoping to have the processing done on the server side and just return the scalar result. What you're suggesting would require a WHERE clause that generates a sorted (temporary) result on the server from which another query could grab the first row. The real issue seems to be that the client has no means to form and execute a proper SQL query. We are limited to a WHERE clause which is then (probably) massaged by the SDK into a full SQL query by adding the outfields part and the FROM table part. I'm thinking perhaps the statistics APIs might allow for a scalar function against the DB/table but have not experimented with those APIs.
... View more
06-22-2017
11:18 AM
|
0
|
3
|
1317
|
POST
|
I'm familiar with the QueryTask and Query where I can specify a WHERE clause where the layer URL is baked into the QueryTask and thus points to the table backing the layer map service. In that case, I'm limited to specifying only the WHERE clause of a traditional SQL query. In this case I want to get a maximum from a column so I would need to specify a full SQL query (or a subquery to the WHERE clause) to contain SELECT MAX("date_time"). I see with ArcMap, there is a full SQL API to query but nothing equivalent for a javascript client using the SDK (3.2)? Is it possible to specify something like myQuery.where = "EXISTS (SELECT MAX(date_time))" , then execute the query within the QueryTask pointing to the layer Url ? If this is not possible, is there any other way to do this, perhaps using statistics?
... View more
06-22-2017
09:54 AM
|
0
|
5
|
1842
|
POST
|
Thanks Bjorn. There were really 2 aspects that impacted my decision. The first was whether the current framework, DoJo based, would give me high development productivity, given that I could exploit some of the existing widgets and code. The second was the future-proofing and how long it would be until ESRI moved to a new framework that would leave any DoJo apps kindof orphaned, because as you say, DoJo2 would cause breaking changes as it has a much more opinionated framework. I got some erroneous info about DoJo2 being imminent which gave me concern about the issue 2 of future-proofing but Robert (and you) have reassured me that it's not anytime soon if at all. Regarding issue 1, I've gone ahead with Angular2 and found Angular2 + JSAPI provides a very productive environment. The API is at a high enough level that I can quickly develop map and layer functionality. The bonus is that I'm decoupled from ESRI's implementation of the API and I can migrate to newer versions without breaking (exception: quirky name changes like map to Map) - the strategy is to avoid using visual UI elements as they have the potential to cause issues with Angular's rendering/binding framework bits. But I still have been able to load the Legend dijit into Angular and can plug it in just fine, so if there are widgets that exactly meet my needs I can probably integrate them. Thanks for following up on this issue.
... View more
04-26-2017
04:17 AM
|
0
|
0
|
1173
|
POST
|
Not meaning to get into a framework holy war here. 😉 If you look at what they're trying to do with DoJo2, that'll give you an indication of some of the areas where DoJo falls short and much of the industry has progressed. Web components, shadow DOM, Routing and State Management, Transpiling, Separation of Concerns (client mvc) rather than direct DOM manipulation, TypeScript, Custom Tags (Directives, now Components).... I guess you call those personal preferences but a lot has happened in last 10 years that can't be nailed on to an existing toolkit. Thanks for the feedback regarding DoJo2 and sdk 5.x. Some good news and some bad I guess.
... View more
03-27-2017
09:30 AM
|
0
|
0
|
1173
|
POST
|
Thanks, that helps although I'm not aware of the timing of 5.x (summer? fall? Q1-2018?...) and it would still be very useful to know what ESRI's strategy is with respect to migration and support of the old (current) toolset. Dojo is certainly past it's prime and there are much better web application framework options out there (Angular, Angular2, React for example) that increase development productivity. DoJo2 will get us a lot closer to those, so the sooner, the better although that brings up the obvious question about the migration of applications currently under development - do we need to consider the refactoring patterns that the DoJo2 team is recommending to smooth the transition, whenever that may be?
... View more
03-27-2017
06:55 AM
|
0
|
2
|
1173
|
POST
|
Thanks Robert. I see the widgets folder now inside stemapp.
... View more
03-26-2017
01:57 PM
|
0
|
1
|
683
|
POST
|
Dojo (1) is clearly at end of life, or 5 years past end of life relative to more modern single page application (SPA) frameworks. I've heard comments that came back from the Developer conference indicating that ESRI is planning to move to DoJo2 which has been under development for 5 years and is mostly in beta at this point. Does anyone know if this Is true, and if so, what the timelines are for the move? Are there plans to rebuild WebAppDeveloper on the DoJo2 framework, as well as the widget set and what will the strategy be for those jumping into the toolset built on the current version of DoJo with respect to migrating applications onto the new toolset? Will both versions of developer applications be maintained, improved and extended going forward from whatever that date is. (I realize DoJo2 is not at general availability yet, but more interested in knowing Esri's plans and when my application will be orphaned if they do go that way.)
... View more
03-26-2017
01:17 PM
|
1
|
6
|
2204
|
POST
|
I'm trying to make rich widgets, in some cases having some characteristics of some of the developer widgets listed in Web AppBuilder for ArcGIS (Developer Edition). Using configuration is not sufficient - I'd like to use the widget source code, fork it and modify it in our own codebase. For example, I'd like to extend LayerList to include some custom controls within each layer element of the layer tree. Is there source code for these widgets as part of the developer license? I see in WGitHub - Esri/solutions-webappbuilder-widgets: Web App Builder widgets created and managed by the Esri Solutions teams. there are some widgets with source in the Git repo. But it is an odd set of widgets which is not consistent with the broader set in the Appbuilder for ArcGIS Developer Edition list.Web AppBuilder for ArcGIS (Developer Edition)
... View more
03-26-2017
01:05 PM
|
0
|
3
|
1673
|
POST
|
I was working with VMs (VirtualBox) and had not set up a domain, so the naming was just using the windows netbios names. I added a domain controller, gave everything FQDNs and then the problem disappeared. Can't say the documentation didn't warn me. Thanks for the help.
... View more
03-03-2017
01:29 PM
|
2
|
0
|
1213
|
POST
|
Sigh. We don't have the option to go to Linux. But the fact that it worked cleanly there maybe tells us something. There is nothing special about this install or configuration. Basically point to the entrypoint of the portal admin. We are using windows computer names, not full domain names, so https://gisportal:7443/arcgis/home/ When you installed in Linux did the default endpoint work (ie. https://myserver.mydomain.com:7443/arcgis/home/)?
... View more
01-25-2017
09:29 AM
|
0
|
1
|
1213
|
POST
|
We used IE11, then tried chrome. It appears, from the error, that it is reaching the page, and the controller code is trying to get an account reference (maybe for licence?). The specifics of the error message must have some meaning to ESRI, no?
... View more
01-25-2017
09:13 AM
|
0
|
0
|
1213
|
POST
|
Have you been able to solve this problem?. I have a new install of portal for ArcGIS 10.4.1 and at the end of the installation, where it is supposed to kickoff the admin application to "create a portal", I get a blank screen and see from developer tools that there is an error in dojo.js "unable to get account by UrlKey" error. There were no issues installing the Portal software, firewall is off, no ports blocked, license authorized. I am running in a virtualized environment and see that I have to allow a self signed certificate. What is going wrong here?
... View more
01-25-2017
07:44 AM
|
0
|
6
|
1213
|
Title | Kudos | Posted |
---|---|---|
2 | 03-03-2017 01:29 PM | |
1 | 03-26-2017 01:17 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|