-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug
We can update an item properties with new values without issue. However if we need to remove all existing values and make the property empty, we are unable to do so via the API for Python.
Example and code shared in community a few years ago and still shows same behavior today;
To Reproduce
See community post for code.
another example:
print("Attempting to clear all tags...")
result = portalItem.update(item_properties={"tags": ""})
Screenshots
See community post for Screenshot
Expected behavior
I would expect us to be able to set a property to an empty value like we can with the Rest API.
Platform (please complete the following information):
- OS: [e.g. iOS] Windows 11
- Browser [e.g. chrome, safari] n/a
- ArcGIS Pro 3.5.4
- Python API Version [e.g. 1.6.2] 2.4.1.1
Additional context
None yet.