|
BLOG
|
Thank you for your reply @RussRoberts ! Seems then that if I want to apply the dictionary web style to a feature layer in a web map, I will need to do so by adding the renderer to the item data json. Another note, when I apply the Pro Desktop Style to the database layer in pro (in other words, not the web feature layer), then publish the web layer as a map image layer (MIL) and feature layer (FL) in the portal, only the MIL retains the dictionary symbology. The feature layer just keeps a basic point symbol. Interesting though, that both the corresponding map service and feature service rest end point pages BOTH show a basic point symbol for the renderer.
... View more
12-05-2024
10:08 AM
|
0
|
0
|
1442
|
|
BLOG
|
I saw the reply by @RhettZufelt in this article, which is great for overwriting a web style with new symbols. https://community.esri.com/t5/arcgis-online-questions/web-stylx-in-map-viewer/m-p/1474193#M59237 But my issue is that the dictionary web style is not available to choose in map viewer style options. Note that my web style contains 46 point symbols. Here are the typeKeywords from the web style item data json, which match the typeKeywords from the a99d8d715e1e47bea8b5dda31d70caad item that @megan_r uses in her web map: "typeKeywords": [
"ArcGIS Pro",
"Dictionary",
"Platform",
"pointSymbol",
"Style",
"Symbology",
"Symbols",
"Web Style"
], I looked into the typeKeywords due to @RussRoberts reply on this thread, even though the reply is within the context of a new style workflow only in AGO: https://community.esri.com/t5/arcgis-online-questions/help-needed-custom-web-styles-not-showing-under/td-p/1527593
... View more
12-05-2024
12:17 AM
|
0
|
0
|
1468
|
|
POST
|
If you take the portal item layer url. login to the portal and set it as active portal in pro. bring in the layer using the item id. export the features, enabling the environments (Maintain Attachments, and Preserve Global IDs) as below: The export will create the relationship class with all the needed pictures assigned to the respective records.
... View more
12-04-2024
11:55 PM
|
0
|
0
|
1027
|
|
BLOG
|
Hi @megan_r , This blog post is excellent. Thank you for sharing it. It clearly explains the full workflow to define a custom web symbol. Question: Once the style was shared as a web style, how were you able to apply the web style url to the web map operational layer? I took a look at your web map using ArcGIS Assistant, and the layer renderer shows the url to the web style with item id a99d8d715e1e47bea8b5dda31d70caad. Also, out of curiosity, the blog did not cover the scalingExpressionInfo key of the renderer. Here is the renderer JSON: "renderer": {
"type": "dictionary",
"url": "https://www.arcgis.com/sharing/rest/content/items/a99d8d715e1e47bea8b5dda31d70caad",
"fieldMap": {
"Fuel_Type": "Fuel_Type",
"Current_Status": "Current_Status",
"Accessability": "Accessability",
"EV_Connector_Types": "EV_Connector_Types",
"Verified": "Verified",
"EV_Network": "EV_Network"
},
"configuration": {
"show_EV_Network": "ON",
"show_Connector_Type": "ON",
"use_Verified_Field": "ON"
},
"scalingExpressionInfo": {
"expression": "2",
"title": ""
}
} I am on ArcGIS Enterprise 11.2 (using the newer map viewer), and ArcGIS Pro 3.2.2 I analyzed the Pro Dictionary style with no errors, nor warnings, then published it as a web style. I shared the web style to the designated and configured portal groups as per this article: https://support.esri.com/en-us/knowledge-base/problem-the-custom-web-style-is-not-displayed-in-arcgis-000032341#:~:text=Configure%20the%20group%20in%20the,web%20style%20is%20shared%20in. But, I do not see the dictionary web style available for me to apply to the web map operational layer. I'd like to symbolize at the web map level, not so much from ArcGIS Pro layer level. @RussRoberts
... View more
12-04-2024
06:01 PM
|
0
|
0
|
1476
|
|
IDEA
|
@MartaAnalytics @MartaAnalytics_ @BrianBaldwin regarding that YouTube video link, here are my observations on how it is configured: https://community.esri.com/t5/education-blog/url-parameters-with-experience-builder-send-your/bc-p/1560815/highlight/true#M2407
... View more
11-20-2024
09:07 AM
|
0
|
0
|
614
|
|
BLOG
|
As a follow up to my approach mentioned above: I will control the embedded dashboard by user interaction with a widget that has a configurable action. For example, the data-centric table widget has a configurable action: We can add a 'Framework' to either Filter or Select data records. Select the data the widget will use, aka the 'trigger data'. Select the 'Action data' that will be filtered/selected based on user interaction with the table widget. Now for the second widget, which is the embed widget: Connect to the same dataset the is configured with the table widget's 'Action Data'. Be consistent in both widgets, whether 'default', or 'selected features' is selected. Select a column (using the database icon) in that data set that has a string of the desired url parameter in each record, such as: https://domain.arcgis.com/portal/apps/dashboards/<itemid>#<urlparamcolumn>=<columnvalue> The url parameter column will appear as such: Summary: The table widget will be interacted by users. For example, a record is selected. The actions filters that same datasource. The embed widget connects to that filtered datasource, and renders the filtered record using the url parameter column. Here are the Esri docs speaking about this: https://arcgis-d.amtrak.ad.nrpc/portal/portalhelp/en/experience-builder/11.2/configure-widgets/embed-widget.htm Connect to data—Select a layer as the data source (added from web maps, web scenes, direct layer, or through URL) and click the Data button to select an attribute that contains URLs or to add to an existing URL as parameters. Use the Label field to display a description in the widget when it is not populated by the contents of a URL in the data. Here is a YouTube video that demo's the functionality, but not so much the configuration for the connection between Experience Builder and the embedded ArcGIS Dashboard: https://www.youtube.com/watch?v=8Xdl_aMBVd8 Also, the approach mentioned by @usace_sam_rd3 is valid as well: https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-filter-data-on-embedded-dashboard/m-p/1414077/highlight/true#M12241
... View more
11-20-2024
09:01 AM
|
0
|
0
|
4284
|
|
BLOG
|
Thank you @BrianBaldwin , I am using the embed widget in Experience Builder to embed an ArcGIS Dashboard. I want to pass the currently filtered feature layer in the ExpB app to the embedded dashboard as a url parameter. I will do this by passing in the ExpB url parameter currently in the browser url like this in the embed widget: https://domain.portal.com/portal/apps/dashboards/<itemid>#{appURL.search.data_id} But first, since ArcGIS Dashboards seem to only allow string url parameters, I will need to add a string column to my table/FC, and copy over the OBJECTID values to it. This way, it will be able to accept the data_id from ExpB. My question is: How can we remove/trim the layer's data source ID from the selectedrecordID in the dynamic variable {appURL.search.data_id}. I only need the selectedrecordID (aka OBJECTID) to pass into the Dashboard. For example, if the data_id=dataSource_1-18a09b4c047-layer-12%3A345 I would only need the 345 string to pass into the dashboard. There is a possibility that the dashboard would understand to look for '345' in the 'dataSource_1-18a09b4c047-layer-12%3A345' string, using 'operator>includes' configuration, but that is not ideal.
... View more
11-20-2024
05:51 AM
|
0
|
0
|
4292
|
|
BLOG
|
ArcGIS determines security of web services from the Portal Map Image Layer aka Map Service. When you publish a layer referencing the RDBMS (and registered as a datastore with ArcGIS Enterprise Server) from ArcGIS Pro, you have the option to enable a Map Image and Feature layer. This in turn creates two rest end points: One /MapServer/# url One /FeatureServer/# url If the ArcGIS Enterprise Server is Federated to an ArcGIS Enterprise Portal, the publishing process also creates a portal item for each url: a Map Image Layer (MIL) item corresponding to the MapService a Feature Layer (FL) item corresponding to the FeatureService In the Portal, the MIL and FL items can have different owners. By default, the owner of both items is the publisher user that originally published the web services. If for some reason the ownership changes, it is vital to know that ArcGIS truly bases the security of the web service based on the owner of the MIL/Map Service only. This is the reason that if you were to overwrite the service from pro, only the MIL item shows up as an available item to overwrite. As a result, the FL item can be owned by another portal user, but in fact, the access to the data for that FL truly lies with the MIL owner. This became evident to me when trying this workflow: User 1 published a MapService/MIL and FeatureService/FL to portal A, thus the MIL and FL are initially owned by user 1. FL changed ownership to user 2. MIL still owned by user 1. There is a need to use FeatureService/FL from portal A onto portal B, so we login to portal B, and add the feature service URL link reference from portal A. Side-note: Some use cases we have used this url link is: 1 When we need to reference a prod url in lower environments (i.e.: stage,dev) as source data to read from 2 To have as a source/feed in ArcGIS Velocity in ArcGIS Online. content> add item: add the Feature Service url Since User 2 owns the FL in Portal A, embed those credentials In ArcGIS Enterprise Portal, you get this error: Error There was an error while adding this item. In ArcGIS Online, you get this error: the page redirects to org.maps.arcgis.com/home/item.html?id=undefined The item you requested cannot be found. The item may have been deleted or you may have entered an incorrect URL These errors are fixed once the Map Image Layer owner is the same as the credentials you are embedding when adding the FeatureService url link. In this case: We are attempting to add Feature Service url (owned by user 2) using user 2 credentials. But since the MIL is still owned by user 1, it fails. Embedding user 1 credentials with the Feature Service url will fix it. Takeaway: The respective feature layer can be a different owner, and it would still work. ArcGIS bases the security off the map service url from the Map Image Layer only. You can also choose to not embed credentials when adding the url link, but then you'd be prompted for credentials each time the layer loads onto an app the first time. The closest Esri doc that I see that mentions this security ownership is in the architecture center: "In the above service types, only in the map image layer scenario can data truly be restricted to user access." https://architecture.arcgis.com/en/framework/architecture-practices/security/securing-public-data.html
... View more
11-01-2024
01:39 PM
|
4
|
1
|
472
|
|
POST
|
Hi @SindreEngh1 , Would you please share the code for the proxy, and how it works? @JeffEismanGIS Would you be able to help us? We created a feature layer in velocity, but it seems that Velocity expects a cors header not available from the us2-iot.arcgis.com domain Access to XMLHttpRequest at 'https://us2-iot.arcgis.com/usadvanced02/0000/maps/arcgis/rest/admin/services/layer_test/FeatureServer/status?token=&f=json' from origin 'https://org.maps.arcgis.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
... View more
10-21-2024
01:32 PM
|
0
|
1
|
1319
|
|
POST
|
https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/generate-schema-report/?srsltid=AfmBOoouCuf9O1y9UsPc0hZm-Y9aNGa5P-_-v4blic80zSfsYjf2O2AA
... View more
10-04-2024
10:22 AM
|
0
|
0
|
2173
|
|
POST
|
Although not likely to solve the issue above, the below is relevant to fixing corrupt item resources config.json. Seems to me that editing the item data json is stable in ago assistant, but not the resources>config.json. I understand the resources config.json to be the json corresponding to the Experience Builder's edit mode. https://support.esri.com/en-us/knowledge-base/404-resource-does-not-exist-or-is-inaccessible-when-ope-000031342 Also, I'd rather script the resource edits using the ArcGIS API for python to export/download the resources as a zip file, unzip, edit strings (such as repointing portal urls), and re-upload the resource to the portal item. The link above simply suggests getting the app ui's json, and uploading it as the resource config.json. That is good, but I also noted that there may be minor differences between the item's data json, and the resource config.json
... View more
10-03-2024
07:58 AM
|
1
|
1
|
554
|
|
POST
|
two suggestions to get your data to show suggestions when a user inputs the id in the search widget in expb and/or web map settings: 1 If the ID is one to two characters: create a view on top of your layer, adding as many blank spaces as needed to the id string value until the total characters amount to 3. use the view with the search configuration. 2 make an id column with at least three characters.
... View more
10-01-2024
12:24 PM
|
0
|
0
|
739
|
|
POST
|
main clarification for me is that I thought network calls happened each time a feature is clicked, but seems the popup uses the already returned/cached data on the map. This explains why if the undesired layer loaded first on the map, even if setting the delay on the popup, the map already pre-decided that layer and popup order, based on the server response speed.
... View more
10-01-2024
07:51 AM
|
0
|
0
|
961
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2024 07:58 AM | |
| 1 | 01-13-2025 10:30 AM | |
| 1 | 04-18-2025 04:53 PM | |
| 1 | 02-21-2025 09:01 AM | |
| 1 | 12-14-2024 12:05 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|