laptop and a wrench

Bug

FeatureLayer.Item.Access returns "Unknown" in ArcGIS Online hosted feature layers.

Last Published: February 20, 2023 ArcGIS Runtime SDK
Bug ID Number BUG-000124517
SubmittedAugust 14, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found100.5
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

This issue is not addressed. If the issue persists, contact Esri Support Services.

Workaround

Use PortalItem.CreateAsync() to retrieve the information.

var layerItem = (PortalItem)layer.Item;

 // Load Access info via PortalItem.CreateAsync

      var portalItem = await PortalItem.CreateAsync(layerItem.Portal, layerItem.ItemId);

      PortalItemAccess.Content = portalItem.Access.ToString();

Steps to Reproduce

Bug ID: BUG-000124517

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options