Follow Us:
On a recent client project, we implemented a solution that heavily used article pages / page layouts from the SharePoint 2010 Pages library. Most of them had images. While working through use cases with these articles, I came across some strange behavior that someone else had found but not documented (to my knowledge). As a result, I wanted to blog about the topic to make it easier for others to find.
In the ULS logs, it gives basically the same error: “System.InvalidOperationException: The object specified does not belong to a list.”
The Solution
Open your picture library, and edit the All Pictures view, clicking Modify view.
2. Uncheck the column for “Name (linked to display items)”, and check the box called “Name (linked to document with edit menu)”.
3. Try to click on the subfolder in the Insert an Asset window from the article page, it will load the view instead of throwing the error.
Testing the Problem in SharePoint 2013
I was curious to see if this still existed in SharePoint 2013, and it does not. You can click on the subfolder from the Select an Asset screen just fine, without an error:
To find out more about our services and solutions, please fill out our Contact Us form.
The complementary paper includes over 12 years of research, recent survey results, and CRM turnaround success stories.
Request Download
This 60-second assessment is designed to evaluate your organization's collaboration readiness.
Learn how you rank compared to organizations typically in years 1 to 5 of implementation - and which areas to focus on to improve.
This is a sandbox solution which can be activated per site collection to allow you to easily collect feedback from users into a custom Feedback list.
Whether you are upgrading to SharePoint Online, 2010, 2013 or the latest 2016, this checklist contains everything you need to know for a successful transition.