Select to view content in your preferred language

Corrupt Portal Item - How to delete?

1686
21
04-21-2025 05:40 AM
Labels (3)
JonM32
by
Frequent Contributor

How do you delete a corrupt portal item?

Our Enterprise Portal is federated and what happen was an item was deleted from the server's ArcGIS Server Manager. This was a mistake since the linked item in portal did not get deleted when the service was deleted from Server Manager. Is there any way to get rid of the portal item? All that happens when you try to open it is you get to watch the loading screen but nothing ever loads. To add to this, the item has delete protection on preventing it from being deleted from the Contents page.

Enterprise Portal version 10.9 - Federated

 

Any input is appreciated!!

-Jon

2025-04-21 08_38_21-Settings.png

Jon
0 Kudos
21 Replies
DavidColey
MVP Frequent Contributor

Ok @GrahamWood-HWC  - I'm glad that you were able to delete your item from the portal's sharing content using the 'delete' method, and then that item deleted from from the portal gwdb. Hopefully that will work for most..

But the reason I posted up the gwdb method was because I could not delete my orphaned items from the sharing content.  They simply were not found in at any sharing endpoint for portal or server, but still showed as an item in the portal.  The only way to remove the orphaned items was by using the -c "DELETE FROM  command against the gwdb.

0 Kudos
GrahamWood-HWC
Regular Contributor

Yep i had the same behaviour. the item wasn't in portal rest sharing content but it was in the db I had the old itemid from the portal logs but couldn't find it via substituting into a bunch of urls I formed from other portal items on the rest sharing format..

once I queried this gw_items I found it with a different id.

anyways thanks for this it got me out of having redundant items in the db..

0 Kudos