.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

Displaying users profile picture from mysite

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#
 

Hi,

   Is it Possible to change the default reference taken for displaying user's image from user's mysite shared pictures to picture library created by me considering the aspect that i am saving the user picture in my picture library too.?

         If so please let me know how to proceed. Thanks for your time


Regards, Balakrishnan






View Complete Post


More Related Resource Links

Extended MySite: Profile picture uploading to the wrong zone.

  
I'm experiencing a problem where uploading a profile picture, in a MySite, uploads it to the wrong zone.

What I've done is created one web application and configured SSP to use that same one. As a result, the MySite host location is in that same web application:

Default Zone:
http://my.domain.com  <-- default SharePoint site.
http://my.domain.com/personal <-- MySite host

I then extended that web application to enable FBA & anonymous access:

Internet Zone:
http://extended.domain.com <-- extended default SharePoint site.

Now I"m able to navigate to a user's MySite using the extended URL (http://extended.domain.com/personal)...but when I upload a new profile picture in my MySite... it prompts me for new credentials because it's trying to upload to the Default zone (http://my.domain.com).

I found the following thread that talks about this...but there wasn't any resolution:
http://social.technet.microsoft.com/Forums/en-US/sharepointsocialcomputing/thread/ad6d96c2-0174-4603-9d9e-9d5018434259

What is the best practices when configuring a MySite in an extended web application? How can I fix the situation I'm encountering above?


P.S. I tried to change the MySite Host location (via SSP in the Central Administration)

Contact Details/MySite Profile Picture confusion

  

Hi all

 

Little bit confused, wonder if anyone can start to point me in the right direction.

We have a client, 2 MOSS 2007 farms, 2 SSPs.

The SSP on Farm B has only ever linked to mysite - never consumed services

At present, user image URLs are manually entered under the user profile.

On farm B's site collections, every one has 2 contact details web parts on the front page.

Some site collections retrieve the full dataset with picture - others might only get the name/job title, and in some cases, just a DOMAIN\username is shown (Although on other site collections it's correctly filled)

Can anyone shed any light on this?

 

Also -- if the farm consumed Farm A's details - would I still be able to keep a seperate search index from Farm B, but have things like the profile picture auto filled to people's profiles?

Thanks!




FBA users (ldap provider) don't have any user profile info when logged in.... what am I doing wrong

  
Sharepoint 2010, Claims authentication, FBA using ldap membership provider and role provider against Active Directory.  User profiles all imported just fine -- used the LDAP FBA provider hitting Active Directory to do so too.  whenever an FBA user logs in, it doesn't seem like sharepoint is picking up any user attributes.  targeted audiences don't work and MY SETTINGS is blank other than account and name.  If the same user logs in but through Active Directory, everything works just fine... targeted audiences, etc. Am I doing something wrong or can I not use the LDAP provider to authenticate to AD and also use the user profiles from Sharepoint?  GRRRRR.  All this to get around the Windows Authentication popup so I can customize a better looking logon experience.  Help?

BDC Import for user profile picture

  
I am attempting to populate the user profile property 'Picture' with data from a BDC connection. My column from the BDC contains urls but SharePoint will not allow me to map Picture to the column. I"m guessing this is because the property is expecting a strongly typed Url type. That doesn't help me though. So, has anyone successfully mapped the Picture property to a field from a BDC connection. (-SN: I know the field can be mapped to AD but I need it mapped to a BDC) Thanks in advance.

Creating service application w/ Requirement for MySite security profile to be maintained

  
Good Day; In Sharepoint 2010 Microsoft has given the developer the ability to create a service application that can have its own database and scale independantly from the rest of the Sharepoint farm.   I wish to create a Service Application that will store data much like a list, but I need to have the ability to use the same security trimming that the profiles offer via MySites.  We need to have the granularity at a user level that we can get in MySites but I do not wish to store this data in the Mysite collections.  Can the security granularity found in Mysites and Profiles be extended into a Service Application?  Any examples of others doing this or case studies around security that I can be pointed to would be most helpful. Cheers C

Creating service application w/ Requirement for MySite security profile to be maintained

  
Good Day; In Sharepoint 2010 Microsoft has given the developer the ability to create a service application that can have its own database and scale independantly from the rest of the Sharepoint farm.   I wish to create a Service Application that will store data much like a list, but I need to have the ability to use the same security trimming that the profiles offer via MySites.  We need to have the granularity at a user level that we can get in MySites but I do not wish to store this data in the Mysite collections.  Can the security granularity found in Mysites and Profiles be extended into a Service Application?  Any examples of others doing this or case studies around security that I can be pointed to would be most helpful. Cheers C

Read Mysite profile properties using C#.net

  
Hi, I want to read profile property of Mysites using C#.net.I written below code but it is throwing exception at third line of the code execution. Exception: Cannot complete this action. Please try again. SPSite site = new SPSite(strUrl);   // strUrl = I am mentioning MySite site collection URL here. Like ex: http://servername:1111/ ServerContext context = ServerContext.GetContext(site); UserProfileManager usrPrfMngr = new UserProfileManager(context);  //Exception occuring here foreach(UserProfile profile in usrPrfMngr) {      strEmail = profile["WorkEmail"].ToString(); } Please help me to resolve this issue. Thanks, -Gautham

Can Not Comment On images stored in the picture libraray(created in profile location )

  
Hi, I have created a picture library in the profile location (under the location where person.aspx is available) I want to achieve social comment on the images stored under profile location I am displaying it on a page using object model Can any one please help me....

Publish personnal documents to users using mysite or an other way.

  
Hello all, I am required to find a way to create a self service site for each employee in my company where each one would have his section where we can publish to them, personnalized documents like their own benefitits and salary, bonus etc. I first tought that mysites was the perfect feature I wanted but it seems it's not possible to batch publish custom personnalised documents in private sections of my sites. Also, it seems that a user must connect at least one time to create his site. What would be the best way to achieve my goals? We are presently in Sharepoint 2007 but we plan to migrate in the next few month so I will also publish this question in the sp2010 forum. Thank you.  

Publish personnal documents to users using mysite or an other way.

  
Hello all, I am required to find a way to create a self service site for each employee in my company where each one would have his section where we can publish to them, personnalized documents like their own benefitits and salary, bonus etc. I first tought that mysites was the perfect feature I wanted but it seems it's not possible to batch publish custom personnalised documents in private sections of my sites. Also, it seems that a user must connect at least one time to create his site. What would be the best way to achieve my goals? Thank you.

Sharepoint 2010: Editing My Profile:Choose Picture gives errors

  
Hi, I've got the User Profile Service Application up and running.  When I try to add my picture to my Profile by clicking on the Choose Picture button, it gives an error.  Any ideas?   Thanks.

User Profile Sync - Profile Picture Export to AD Problem

  
To start, I think I've read every post/blog/etc there is on this subject.  Currently I have user profile import to Sharepoint 2010 working.  It imports profile data just fine.  Everything in the FIM Synchronization manager show success even.  Its the export from Sharepoint to AD of the user profile picture that isn't working at all.  I've gone thru the steps of adding the thumbnailphoto export under the picture properties.  I can see the export inside of the FIM manager.  I notice though that in FIM there is there a DS_EXPORT of the objects.  I've looked into the SyncDB and noticed in the metaverse table the SPS_MV_OctetString_PictureURL never gets updated with the information from the PictureURL column of the ProfileDB.  It is always Null.  Actually in FIM it only shows one person with an update, and keep showing the PictureURL property as being not applied, which is probably because it is showing it as blank only.  In the connector for the object in FIM, I get the error that I've seen in some blog posts where it says PictureURL (String) is not compatible with SPS_MV_OctetString_PicutreURL (binary), but that seems to be how Sharepoint builds the connection even though FIM finds it invalid.  I've had that created, deleted several times, so I guess that is ordinary, and not sure that is even the problem.

users are known in user profile, but not in security

  
Hi all, I am having this weird issue here: SP2010 was working fine, user profile sync and claims-based security on the web app. Now, with no clear reason, it cannot find users anymore on the security part. People search still works, but I cannot add users on SharePoint to log in. Strange thing is: if I type half a username, it still resolves the full name, but it has a red stripe underneath it as a sign that it does not recognize the user. So it can find the name of the user, but it cannot add it to SharePoint.   Once more, the user profile sync is working great and I can find users on people search.   Any thoughts ? 

MySite user profile site creation of My Content page is created as provisioned failed (unprovisioned

  
I've been trying to troubleshoot our User Profile Sync and have noticed the profile pages weren't getting updated with everything.  Most content was but things like memberships and the content tabs weren't.  I also saw this error in ULS: ProfSynch: Exception attempting to enumerate site 25a72070-4249-4698-ae99-c2a45d25b08e for ContentDB 23a6e3ef-6d56-4bde-825e-95c6924e2f91: Microsoft.Office.Server.UserProfiles.ProfileSynchronizationInternalException: ProfSynch: The site with ID 25a72070-4249-4698-ae99-c2a45d25b08e cannot be synchronized due to an unprovisioned root web.      at Microsoft.Office.Server.UserProfiles.SiteSynchronizerCollection.GetSynchInfoForSite(SqlDataReader dr, SynchInfo info)      at Microsoft.Office.Server.UserProfiles.SiteSynchronizerCollection.<get_Elements>d__0.MoveNext() I checked in the MySite database under the webs table and noticed all the My Content sites for all of our users had the flag column with the number 1315 in them - (meaning unprovisioned as the error above states).  Cross checking with the User Sync Profile database under the SiteSynch table I noticed all of the sites have NULL for the value under both the LastSynch and ChangeToken columns (The User Profile Service Application - User Profile to SharePoint Full Synchronization  timer job takes care of populating that).&

How to edit a profile picture path

  
Hello! I'm wondering how to edit the default profile picture path in SharePoint 2010 , to point to a picture library that contains files with usernames as filenames.   Like: administrator.jpg in a picture library called "User Tiles"   I'm really desperate for an answer. please help.   /RomanRoman Alifanov(1989)- MCTS-MCAD-MCP-MCT - IT Hero - www.animaonline.blogspot.com

Picture library not displaying full images

  

Hi there,

I've created a picture library and added a number of our organisations logos to it in jpeg format. Unfortunately end users and I are unable to open the jpegs. I can see the thumbnail image and the preview image but when I click for the full image I get the nasty red 'X'.

I've checked the Permissions which all look fine and the file names have no nasty characters or spaces.

One quirk though - I've added a jpeg picture taken of my colleagues and I am able to see the thumbnail, preview and open the full image!!? For some reason the browser does not like the logos. I'm using IE7.

Any idea why this is happening and how it can be fixed?


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend