|
POST
|
I am trying to concatenate a domain URL followed by a field name using Calculate Field tool. In the Expression field in the Calculate Field window, the sql expression looks like: PHOTO_URL = <a href=DomainURL/FolderName/&" "&!PHOTO!>Photo</a> However, in the attribute table, the PHOTO_URL's values are populated as <a href=''DomainURL/FolderName/PhotoName.jpg''''>Photo</a> I get an extra " at the end of the href. When opening the map service using the arcgis online, when the PHOTO_URL atttribute is clicked, it reloads the current web URL instead of redirecting to the photo url. Any help or suggestions are greatly appreciated. Thanks
... View more
08-21-2017
08:49 AM
|
0
|
3
|
2793
|
|
POST
|
Hi Megan, You can edit the related tables in popups in an ArcGIS Online web map. You said your map service is published using ArcGIS for Server. To be able to edit, your service should be a feature service, not a map service. Can you please check if "Edit" is enabled as Supported Operations? If not, then you can republish the feature service enabling EDIT operation in the Capabilities. When you add that edit enabled feature service in your AGOL map and click a feature, you should see an EDIT option between ADD and BASEMAP like in the following web map. http://www.arcgis.com/home/webmap/viewer.html?webmap=4aaf8d41270247e0b40197dcb3d59d70 Good luck!
... View more
08-16-2017
07:39 AM
|
0
|
2
|
1043
|
|
POST
|
Thanks Robert, Regressing to 4.3 still does not solve the issue. I will probably have to use feature layer to enable popups.
... View more
08-11-2017
12:33 PM
|
0
|
1
|
1527
|
|
POST
|
I have a mapservice that has 3 layers and each layer has sublayers. I am using mapImageLayer to call popups with the properties sublayers and popupTemplate as displayed below: var displayLayer = new MapImageLayer({
url: "RESTURL/endpoints",
sublayers: [{
id: 10,
title: "Gas Main",
popupTemplate: {
title: "Gas Main",
content: [{
type: "fields",
fieldInfos: [
{fieldName: "INSTALLDATE", visible: true, label: "Install Date", format: {dateFormat: "short-date"}},
{fieldName: "SUBTYPECD", visible: true, label: "Type"}
]
}]
}
}]
}); The layers structure is: Layer1 has index 0. Layer1 has two subLayers - sublayer1 with index 1 and sublayer2 with index 2. Layer 2 has index 3. I am using layerlist widget. When I have sublayers in the MapImageLayer, the layerlist displays all the layers at once without honoring the sublayers. But when I do not have "sublayers" property in my MapImageLayer, the layerlist displays layers fine honoring the sublayers. I do not want to use feature layers just to make popups. Any ideas on how to reconcile popup and layerlist widget. Thanks
... View more
08-11-2017
12:04 PM
|
1
|
5
|
2320
|
|
POST
|
I have a map service published through ArcGIS Server. The map service has 3 layers and the layers have sublayers. I am trying to transition from Esri's JSAPI 3.x to 4.x. In 3.x, I used to call a ArcGISDynamicMapServiceLayer and use layer.setInfotemplates to add popups to the map. I have a few layers, so I do not want to use feature layer to create popups for the sake of performance. Can I call popups using MapImageLayer in JS API 4.x? The codes I used in 3.x is as follow: var popupTemplate = new PopupTemplate({
"title": "Row Flags",
fieldInfos: [
{fieldName: "GPS_Date", visible: true, label: "Date Collected", format: {dateFormat: "shortDate"}},
{fieldName: "GNSS_Heigh", visible: true, label: "Z-value"},
{fieldName: "Feature_Description", visible: true, label: "Description"}
]
}); var dynamicLayer = new ArcGISDynamicMapServiceLayer("https://RESTURLEndpoints", {
"imageParameters": imageParameters,
opacity: 1
});
dynamicLayer.setInfoTemplates({
1: {infoTemplate: popupTemplate},
2: {infoTemplate: popupTemplate2},
4: {infoTemplate: popupTemplate3},
5: {infoTemplate: popupTemplate4},
7: {infoTemplate: popupTemplate5},
8: {infoTemplate: popupTemplate6},
9: {infoTemplate: popupTemplate7},
10: {infoTemplate: popupTemplate8}
}); Thanks,
... View more
08-02-2017
12:54 PM
|
1
|
5
|
6401
|
|
POST
|
Chris, Change http to https in your var operationsPointLayer = new FeatureLayer("https://")
... View more
07-27-2017
09:53 AM
|
0
|
2
|
879
|
|
POST
|
Kamal, I think this is what you are looking for. Browser-based Named User Login | ArcGIS for Developers
... View more
07-20-2017
06:45 AM
|
1
|
1
|
3969
|
|
POST
|
Dave, Apply filters—ArcGIS Online Help | ArcGIS This document should help you with what you are trying to achieve.
... View more
07-20-2017
06:40 AM
|
0
|
0
|
1069
|
|
POST
|
Dave, Since the addresses and roads geodatabases have too many features, 1. You can filter the data by location. For example, for a particular location or extent, only the features that exist in that area will be rendered. When the map is zoomed to another area or extent, only the features existing in that particular area will be rendered. 2. Publish the feature layers in ArcGIS for Server and use the REST endpoints url for the roads and addresses feature layers in arcmap. This way the server will take care of loading data and hence your features load faster in arcgis online.
... View more
07-19-2017
12:17 PM
|
0
|
2
|
1069
|
|
POST
|
Kamal, Check this sample out. It should get you there. Web map by ID | ArcGIS API for JavaScript 3.21
... View more
07-19-2017
11:48 AM
|
0
|
6
|
3969
|
|
POST
|
I just noticed your excel file is in xlsx format. Save the excel file in xls format. You should have no issues provided there are no mismatched fields and data types.
... View more
07-03-2017
06:48 AM
|
1
|
0
|
1250
|
|
POST
|
Anca, The error could be because of mismatched fields and data type. Make sure there is no space in the beginning of each FieldName, no space between FieldNames (for e.g. not Feature Name but Feature_Name). Make sure there are no annotations such as N/A in the field values especially if that field's data type is numeric. If possible, show us a snapshot of your excel spreadsheet.
... View more
07-03-2017
06:43 AM
|
1
|
2
|
1250
|
|
POST
|
Check this one out. SQL and enterprise geodatabases—Help | ArcGIS Desktop Good luck!
... View more
06-29-2017
12:32 PM
|
0
|
0
|
2307
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-02-2017 12:54 PM | |
| 1 | 08-11-2017 12:04 PM | |
| 1 | 07-20-2017 06:45 AM | |
| 1 | 12-27-2016 11:28 AM | |
| 1 | 01-09-2018 07:36 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|