|
DOC
|
Hi jialiu , As far as I understand you can now use the deployment add-in to deploy the "Gas and Pipeline Enterprise Data Management" solution that includes the UPDM 2020 Edition : Gas and Pipeline Enterprise Data Management | ArcGIS Solutions for Gas Date Version Description August 2020 1.0 ArcGIS Pro 2.6, UPDM 2020, and Utility Network Release 4.
... View more
08-17-2020
04:54 PM
|
0
|
0
|
20068
|
|
POST
|
Duplicate thread. See discussion here https://community.esri.com/message/947695-autonumber-in-pro-when-feature-is-created-in-arcade
... View more
08-16-2020
09:17 AM
|
0
|
0
|
1208
|
|
POST
|
Hi Lindsey Whittington , The Web AppBuilder also has some configuration for the time slider widget. You can change the format to only show the year: ... and you can edit the date range for the slider However this still ended up with a slider that mentioned two years for instance "From 2011 to 2012": You could change the configuration and use the minimum and maximum values: Which will show a single year if you manual change the time range to a single date:
... View more
08-14-2020
03:30 PM
|
1
|
0
|
2418
|
|
POST
|
Hi Lindsey Whittington , Not sure if I understand the question, but you can configure a couple of things in the advanced settings of the time slider. Enter the time slider configuration, and choose advanced settings (sorry for the Spanish screenshots): Next, configure the start and end date to start at exact dates as shown in the example below: When you start the time slider, it will show the date range from a single year, although it will still show the range of dates.
... View more
08-14-2020
01:36 PM
|
0
|
2
|
2418
|
|
POST
|
Hi Robert Liveanu , If everything is working now, I would not know how to investigate the reason for this error. However, if you want me to look at the expression in more detail, you can share the map and data as mentioned before and I will have a look.
... View more
08-14-2020
01:18 PM
|
0
|
0
|
2658
|
|
POST
|
Hi Anu Sawant , When yo configure an Arcade expression in the pop-up of your webmap and consume that webmap in your Dashboard, it will be available in the pop-up of the map component in Dashboard, but also when using the details widget. You can't however use it in a indicator or for instance graph. There is a beta of Dashboard that has more support for Arcade expressions, which can be configured directly inside Dashboard beta. To learn more about that please have a look at: https://community.esri.com/docs/DOC-14736-what-s-new-in-the-arcgis-dashboards-beta
... View more
08-14-2020
09:27 AM
|
2
|
1
|
1927
|
|
POST
|
Hi Hussein Nasser , I am looking at the code shared by Courtney Dunn : // This rule will create a new unique id when a road centerline is created
// If the road was created from a split its original id will have a prefix of '::'
// We will use this to find the original road and its related alias road names
if (Left($feature.CTRLINEID, 2) == "::" || IsEmpty($feature.CTRLINEID)) {
var id = NextSequenceValue('CTRLINEID');
// If the centerlineid is not set return the new id
if (IsEmpty($feature.CTRLINEID)) {
return id;
}
// Find the original ID of the road that was split
var original_id = Mid($feature.centerlineid, 2, Count($feature.centerlineid) - 2);
if (IsEmpty(original_id)) {
return id;
}
// Store an add for every road alias and related it to the new road that was added after the cut
var newAttributes = {};
newAttributes['CTRLINEID'] = id;
} ... and I notice that the last part has not been implemented yet (lines 16 and 17). Maybe the idea is to update related features, but that part is missing. Courtney Dunn , can you explain what you want to achieve with this last part. Currently it does not do anything. Before lines 11 I would check if your centerlineid is not empty. Because if it is, line 11 will fail using the Count. In general you have a couple of If statements, but no else. There can be several cases that return no value. Is that what you want?
... View more
08-14-2020
08:40 AM
|
1
|
1
|
3533
|
|
POST
|
Hi Arthur Poon (and angelo.mangiardi ) Not sure if this is exactly what you are looking for, but recently I answered a related question here: https://community.esri.com/message/934173-re-color-green-for-type-a-scale-of-yellow-red-for-type-b-white-for-type-c?comm…
... View more
08-13-2020
12:49 PM
|
0
|
1
|
3528
|
|
POST
|
Hi aa.malik , One way of doing this is to create a list with all the values and at the end apply the concatenate to that list: var intersectLayer = Intersects(FeatureSetByName($map,"Zones"),Buffer($feature, -10, 'feet'));
var zones = "";
var lst = [];
for (var f in intersectLayer){
lst[Count(lst)] = f.BASEZONE;
}
zones = Concatenate(lst, ", ");
return zones;
... View more
08-13-2020
12:32 PM
|
2
|
1
|
1461
|
|
POST
|
Hi Francisco Rodriguez , I have not seen that error before and to be honest and I don't know why it is happening. I do see a couple of things: You are retrieving the point layer using FeatureSetByPortalItem, but you specify all the fields and also the geometry. I think you could optimize the code by using ... , 0, ['id'], false); since you only use the id field afterwards. How many point can there be in a polygon. Your text will grow fast since for each ID you add a new line. Wouldn't it be better to present a list of Id's separated by commas? Something like: var portal = Portal('https://mass-eoeea.maps.arcgis.com');
var features = FeatureSetByPortalItem(portal, 'ed174bb08dc34850ac8d0e719cae0c72', 0, ['id'], false);
var open = $feature;
var landid = contains(open, features);
var cnt = Count(landid);
var resultado = "This Open-Space parcel contains " + cnt + " Land ID Points";
resultado += TextFormatting.NewLine + " - Land Id: ";
var lst = [];
for (var f in landid) {
lst[Count(lst)] = f.id;
}
resultado += Concatenate(lst, ", ");
return resultado;
... View more
08-12-2020
01:20 PM
|
0
|
0
|
2192
|
|
POST
|
Hi T L , Just an additional comment. When I need to verify if the syntaxis of a SQL is correct, I normally use Pro and construct the definition query and switch to SQL to see how it is formatted:
... View more
08-12-2020
01:03 PM
|
0
|
0
|
2444
|
|
POST
|
Hi Lindsey Whittington , So you are saying that the error is produced when the layer is not visible? Strange. I guess I normally have the layer that I am working on switch on, so I may never have seen this behavior before. Can you mark the post that answered your question as the correct answer? I will keep monitoring this thread in case you have any follow-up questions or you can start a new question and tag me.
... View more
08-12-2020
01:01 PM
|
0
|
1
|
733
|
|
POST
|
Hi Lindsey Whittington , There is not much that I can do if the error cannot reproduced. You mention the entire expression and probably only change the description in the header of the text returned by the expression. Sorry to hear that this is sometimes resulting in an error, but I don't think you are doing something wrong.
... View more
08-12-2020
12:58 PM
|
0
|
0
|
733
|
|
POST
|
Hi T L , No sure if I would use a SQL expression with IN on GlobalIDs. It may requiere some additional formatting. If I apply some of the logic that I have used before it could be something like this: var prid_array = "uniquerowid IN (";
var lst = [];
for (var p in parentrowids) {
lst[Count(lst)] = "'{" + Upper(p.parentrowid) + "}'";
}
prid_array += Concatenate(lst, ",") + ")"; However, I think since you are working on GlobalIDs there will probably be a relationship, so maybe you could get the related features for each of the GlobalIDs from the list and process them as you need.
... View more
08-12-2020
12:55 PM
|
0
|
1
|
2444
|
|
POST
|
Hi Lindsey Whittington , It should also work when there is only 1 year available. In this case you have records for 2009, 2011, 2013, 2015 and 2017, but they have been marked as no data. In this case it might be better to change the message, since you're not really presenting the data through the years (it is just a single year).
... View more
08-12-2020
08:33 AM
|
1
|
5
|
1789
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-09-2020 09:26 AM | |
| 6 | 12-20-2019 08:41 AM | |
| 1 | 01-21-2020 07:21 AM | |
| 2 | 01-30-2020 12:46 PM | |
| 1 | 05-30-2019 08:24 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|