POST
|
Thanks Robert. It sounds promising. I will do more research on this when I need to migrate the stuff I did into JS or in some other projects. This should be a very common function in web mapping applications.
... View more
10-01-2015
08:09 PM
|
0
|
1
|
1194
|
POST
|
I just stumbled across this post, and it's interesting to see people are still talking about this two- years -old topic. and it's also surprised me that we still don't have a very good solution in JavaScript API for ArcGIS ( according to what people said here) There are lots of benefits to have a screenshot of the current map on the screen programmatically, one of them is efficiency. In one of my Flex projects, when generating a report in a "classic and proper" way - from server side using python of course -- it took up to 3 minutes! and that was in the testing environment and no concurrent requests at all. of course, hundreds of layers in my map was to blame... then I scraped the "classic" way and took a shortcut by generating the report on the client side, then I trimmed the report generating time to seconds. the map quality in the report? not too bad. Furthermore, using the unique Flash feature, I could even put some sequence numbers on the selected map features (so that the items in the list can be referred back to the map) in one Frame, and took a snapshot, then restore the map in the next Frame... Yes, flex running in flash player frame after frame like playing a video... http://mapiq.dfc.sa.gov.au Do a proximity search and view report, then you know what I mean. This function was built about 4 years ago. I'v done the transition from flex to JavaScript, I have built some apps using JavaScript API for ArcGIS, but my personal view is Flex was more elegant than JavaScript as a programming language... not only in the ability it allows you to create a bitmap clipping and copying the map area on the screen, but in the simplicity and elegancy as an advanced language whole. well, although I have this reflection, but don't get me wrong, I am sober: the trend has been set: HTML5 and JavaScript are the future, like it or not, we have to embrace it. Just hope we'll get the cool stuff we had in Flex in JS soon. Thank you for reading this post and sorry it did not provide a solution.
... View more
10-01-2015
06:49 PM
|
0
|
3
|
1194
|
POST
|
Hi there, I configured the feature template to use freehand drawing tools, it working in the webmap viewer, but doesn't work in Collector for ArcGIS. I tried the Circle drawing tool, it doesn't work in the Collector either. Anyone have the same issue?
... View more
09-28-2015
12:18 AM
|
0
|
1
|
2723
|
POST
|
Jeff ShanerAndrew Hargreaves It's true that the related tables can be added as external datasources. But there's a problem, for example, you have a list widget using the external datasource, and you have a map widget as well in the OD. the list widget and the map widget are not linked, no feature actions will be working in the list widget! In the real case, this kind of the dashboard could be confusing and misleading. To make the related table and the map widget work together, as Ted Chapin mentioned in his post, you need to develop a custom widget, in the widget (let's say a list widget built in JavaScript) 1. Use the map widget as the datasource 2. Query the related table directly, Featurelayer.queryFeatures(...), something like that, and make sure to configure your widget so that it can use your dashboard credential to do the query, otherwise it will ask you for credentials. 3. Append the fields from the related table to the map layer features when building the store for the list. 4. After step 3, when building the list, you can determine which fields to display, from the related table or from the layer. 5. Now the list widget and the map is linked. you can use highlight, zoom to , and so on feature actions. The reason this trick will work is that the featureactionFeatures don't care what you display in the list, as long as you keep the datasourceproxy and IDs of the features, the predefined featureactions will work. This solution is far from perfect, this twist make me feel I am hacking the system. Hope ESRI can give us an update for the OD, and let it support related tables, then we can have a more elegant solution. Cheers, Simo
... View more
09-25-2015
06:05 AM
|
5
|
1
|
996
|
POST
|
Yeah, I found one in the GitHub: Esri/dashboard-samples · GitHub It's called openBrowserTabFeatureAction, it's a bit too simple, I'd better do more research on this subject.
... View more
09-17-2015
09:37 PM
|
0
|
2
|
413
|
POST
|
According to the document, you can develop feature actions to work with features from a data source, but there are no examples to show how. Overview of widgets, map tools, and feature actions | Guide | ArcGIS API for JavaScript Are there anyone who ever built or came across an example and are willing to share? Much appreciated if you can provide some code or direct me to a resource. Cheers,
... View more
09-17-2015
07:55 PM
|
0
|
3
|
3017
|
POST
|
Thanks Brandon, I agree, it should not matter whether the database is registered to server or not. because OD is the service consumer, form its perspective, it makes no difference to the services it consumes. Cheers,Simo
... View more
09-16-2015
04:20 PM
|
0
|
0
|
1374
|
POST
|
I am not sure what the "register" here means,Does it mean register as versioned in GDB? if this is the case, you don't need to register, the only requirement is to publish the table to AGOL. and make it accessible through a web service. I haven't tried accessing web services outside of AGOL or ArcGIS Server, it will be another interesting topic.
... View more
09-15-2015
07:05 PM
|
1
|
2
|
1374
|
POST
|
It will be nice to have this function. but I can't find anything in it's XLSForm help. Basically ESRI has bipolar app camps : Form-centric or map-centric. Survey123 is in the Form-centric camp, but sometimes it's really something in between is the solution, something "form-centric" in looking but "map-driven" (or you can call it Location Intelligence) under the hood. for example, when I am standing in front a property to do the assessment, it should only prompt me the nearby properties to select (or fill out most of the address fields like street names), not asking me to type the address (typing the map is only optional rather than mandatory). then show me the survey questions. Just a thought.
... View more
09-13-2015
10:27 PM
|
0
|
2
|
608
|
POST
|
This explains it. I do have multiple services in my map. thanks.
... View more
09-10-2015
06:30 PM
|
0
|
1
|
4426
|
POST
|
I am replying to myself Good news, problem solved! Problem solved. I found the url for this table is different from the others, now I recall this table was added later by "Add Layer From Web",while the other tables were added automatically when adding the featurelayer. this table's url pattern is like http://services1.arcgis.com/xxxxxxxx/ArcGIS/rest/services/HostedFeaturelayerName/FeatureServer/15 while the other talbes's urls are slightly different http://services1.arcgis.com/xxxxxxxx/arcgis/rest/services/HostedFeaturelayerName/FeatureServer/n After I deleted the table and re-added it using the following url pattern, it started working! http://services1.arcgis.com/xxxxxxxx/arcgis/rest/services/HostedFeaturelayerName/FeatureServer/15 So lessons learned: 1. Bring in the related tables all in once by adding the featurelayer 2. If you have to add a related table in your webmap, keep the url pattern consistent with the featurelayer and other related tables.
... View more
09-10-2015
05:58 AM
|
0
|
6
|
1087
|
POST
|
Thanks Russell, Let's say in Collector. if I download an offline map to edit, I assume a replica will be created for the feature service. when I delete the offline map using the manage tool provided by Collector, I imagine it will notify the service that the replica is not needed any more, and the server will delete the replica as nobody can use this replica at a later time. but I did some test on my iPad, after I deleted my offline map on the iPad, the replica remained on the server. I am really confused and this is causing trouble for me, as I have clear all the replica to overwrite my feature service. Thanks. Simo
... View more
09-10-2015
05:56 AM
|
0
|
5
|
4426
|
POST
|
Thank you, this helps. It seems some circumstances can cause dead replicas on the server. I had deleted all my online maps in Collector on all my devices, but when I checked the replicas of the service, I found 4 replicas which stopped me from overwriting my service in AGOL. I took the same map offline several times on different devices using the same AGOL login, did that cause the issue?
... View more
09-09-2015
09:57 PM
|
0
|
7
|
4426
|
POST
|
have you checked this thread out? AGOL replica removal By my own experience, you don't need to disable Sync. as long as you delete all the replicas you can overwrite the service.
... View more
09-09-2015
09:48 PM
|
0
|
1
|
534
|
Title | Kudos | Posted |
---|---|---|
2 | 07-03-2024 05:56 AM | |
2 | 07-03-2024 06:25 AM | |
1 | 07-01-2024 11:32 PM | |
1 | 06-03-2024 06:12 AM | |
1 | 06-05-2024 05:18 AM |
Online Status |
Offline
|
Date Last Visited |
07-11-2024
01:51 PM
|