|
POST
|
Correct, at the next release (4.9), we anticipate removing the ability to pass a function to the `field` property of renderers. UniqueValueRenderer | API Reference | ArcGIS API for JavaScript 4.8 Using the valueExpression property as an alternative to using the `field` property should be valid for featureLayer and mapImageLayer, but please note the Known Limitation for sublayers (linked to below). Sublayer | API Reference | ArcGIS API for JavaScript 4.8
... View more
08-29-2018
01:25 PM
|
1
|
6
|
4399
|
|
POST
|
Hi Saroj, Did Robert's suggestion help you, or are you still having an issue with popups? -Noah
... View more
08-28-2018
10:49 AM
|
0
|
1
|
2128
|
|
POST
|
Sorry for the late reply. Are you still having an issue with the createFeatureLayer() method? Do you have a code sample you could share? -Noah
... View more
08-28-2018
10:47 AM
|
0
|
2
|
1267
|
|
POST
|
I also confirm the same behavior. Thank you for sharing this information. Apologize for the inconvenience. To give you a heads-up: at the next release (4.9), we anticipate removing the ability to pass a function to the `field` property, and only allow a string, so this issue would become the expected behavior. One potential workaround would be to use the valueExpression property as an alternative to using the `field` property. Another potential workaround , if you are using version 4.7 or 4.8 of the API, would be to use the createFeatureLayer() method to create a feature layer from the sublayer, then you can use a function for the `field` property. I have tested this and it works properly. Hope this helps, Noah
... View more
08-28-2018
10:42 AM
|
1
|
0
|
4399
|
|
POST
|
Unfortunately, I don't have a solution to share at this time. We are investigating the issue to be addressed at a later release. One option would be to not show those features in the Legend. -Noah
... View more
06-11-2018
10:41 AM
|
0
|
0
|
4936
|
|
POST
|
Hi Rodrigo, Which version of the ArcGIS API for JavaScript are you using? Also, have you tried publishing the service using ArcGIS Pro, or only ArcMap?
... View more
05-30-2018
08:44 AM
|
0
|
1
|
1206
|
|
POST
|
Hi Carsten, In addition to Robert's question, what type of layer are you adding to the map? If you could share your code, that would help to test as well.
... View more
05-30-2018
08:41 AM
|
0
|
1
|
1404
|
|
POST
|
I was able to see the name from the featureLayer hosted online but not for the featurelayer generated in the client using feature collections. I see now. I am experiencing the same behavior. Thank you for bringing this up. We will investigate. -Noah
... View more
05-11-2018
02:58 PM
|
2
|
2
|
4936
|
|
POST
|
I just tested with 4.7, and a Pro-based print service (10.6.0 or later), and I can see the proper titles for features in the print-out legend. I also do not see `drawingInfo` in the WebMapAsJSON. What version is your Print Server? Here are some public facing ones that you can use for testing: "https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task" Task: Export Web Map Task -Noah
... View more
05-11-2018
02:03 PM
|
1
|
4
|
4936
|
|
POST
|
As Robert said, the PrintTask is a great solution. I would also recommend the Print Widget if you don't need as fine-grained control. Here are some helpful links: API Reference: Print Widget | API Reference | ArcGIS API for JavaScript 4.6 API Reference: PrintTask | API Reference | ArcGIS API for JavaScript 4.6 Sample app: Print Widget Sample | ArcGIS API for JavaScript 4.6 -Noah
... View more
03-28-2018
01:24 PM
|
0
|
0
|
5744
|
|
POST
|
It looks like the utility.arcgis server is communicating over https in my sample app. Does it work for you now James Ulrich? -Noah
... View more
01-08-2018
03:17 PM
|
1
|
0
|
723
|
|
POST
|
Also see this post https://community.esri.com/message/721690 for more information on this topic.
... View more
10-13-2017
10:25 AM
|
0
|
0
|
1805
|
|
POST
|
Brett Greenfield (DNR) after doing some research, I think this behavior is by design. The showAttribution (3.x) and attributionVisible (4.x) properties of the PrintTemplate are only honored when the template is set to MAP_ONLY. This is because there may be use cases for just showing the exported image, like as a thumbnail, or as part of a presentation (which should still have the attributions listed elsewhere on the slide or as a reference). We will be updating our documentation to remove any confusion about how these properties work. In terms of a workaround, the only suggestion I could make would be to create your own custom print template using the instructions in this ArcMap tutorial: Publishing additional services for printing. Perhaps you could use this for your app. However, I would add a word of caution above removing attribution. Please check out our Data Attributions and Terms of Use documentation for more information.
... View more
10-13-2017
10:23 AM
|
1
|
0
|
1373
|
|
POST
|
Thanks for the post, Brett. I see what you mean about the showAttribution property only being honored when the template is set to MAP_ONLY. I do not know of a workaround at this time, but will look into it.
... View more
10-12-2017
11:53 AM
|
1
|
1
|
1373
|
|
POST
|
Well, I am not 100% sure how Technical Support works in Italy, but I can give you my thoughts about GeoNet and Technical Support at Esri Inc.: GeoNet is an online community where people can share ideas about GIS, projects, Esri Software, and technical issues. It’s a place for collaboration, co-creation, idea sharing, and problem solving. People ask questions about the best way to accomplish tasks, or ask about known issues, or write posts asking for help if they are having trouble getting something done. Esri staff moderate the posts as best as we can, but it is more of a collaborative online community. A popular use case is for users to first search GeoNet for an issue to see if other users are having it or if they can solve it with feedback on another thread, instead of calling Technical Support first. Technical Support is a place that people can call or email if they have questions or are having problems with Esri software. Analysts in Technical Support can provide assistance using our software as explained in our documentation, or test reproducible cases when there are problems and log bugs as appropriate. I hope this provides some clarity. In short, GeoNet is a free online community to discuss and ask for help (e.g. an online forum), and Technical Support is (usually) a paid service as part of a maintenance program or bought separately to get expert advice with Esri software and get bugs logged as appropriate.
... View more
10-09-2017
09:24 AM
|
1
|
1
|
3208
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | 04-10-2026 09:11 AM | |
| 1 | 03-24-2026 11:39 AM | |
| 1 | 03-23-2026 09:30 AM | |
| 1 | 02-26-2026 07:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|