I had an idea to place the Photo Gallery Web Part on the User Profile page so Albums and photos would be part of profile page sort of like Facebook has. I had hoped that when ...
1. A visitor (non-user) or a User (non-Friend) goes to /profile/userA/ they see userA's Albums and Photos marked Public.
2. When a Friend visits /profile/userA/ they see userA's Albums and Photos marked Friends or Public.
3. When userA visits his/her own profile page they see all Albums and photos owned by userA (and perhaps can create new, delete, edit, etc.)
My goal is to satisfy 1 and 2 above, 3 is not important because userA can always go to existing PhotoGallery.aspx page to admin their albums and photos.
It seems scenario 3 above works just fine but 1, 2 do not is I place a Photo Gallery webpart on Profile page. It seems Photo Gallery part is context sensitive to current user and has no means to filter albums or photos beyond that. Correct?
What approach might I take to devise such a feature? Are there any ways using existing API? I have experimented with AlbumList and NewAlbumsList classes but cannot seem to figure out how to override the datasource of lvItem control in a manner that displays properly at runtime. I can successfully construct the proper EntityCollection<snAlbumEntity> but I fail at applying it.
Any advice would be appreciated.
This content has not been rated yet.
647
Reputation
69
Total posts