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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Contact List Photo

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :SharePoint

How do i add photo to a user in a common contact list so that it is shown nicely in outlook.

I made it vice versa - added photofrom outlook and it updated my contact item in sharepoint list.

So i see that photo is an attachment with name "ContactPicture.jpg".

Cool i thought ! I made another item from sharepoint and attached "ContactPicture.jpg", then got into outlook ... and observe no image there (((

So how How do i make thing right ?


View Complete Post

More Related Resource Links

SharePoint 2010 - Photo Displays in MySite - Photo Doesn't Display in Contact List


MySite is up and running fine.  I am adding photos through Central Administration > Manage User Profiles.  All photos are syncing and showing up in contact lists whenever someone is added to a "Person or Group" Name (with picture) column. 

I recently added someone, uploaded their photo.  It syncs fine with AD, can see it in the thumbnailPhoto attribute for this user.  I looked in the UserProfile_Full.PictureURL column in the Profile DB.  It is there as well (http://sharepoint:80/my/User Photos/Profile Pictures/DOMAIN_USERNAME_MThumb.jpg).  The photo refuses to display in the contact list. 

This is only happening for one user.  Any ideas?

Outlook Contact List From WPF Win App

Hi,    I'm trying to build a WPF Win app that has a form that allows the user to send e-mails. I'd like to open up our company's contact list to it and in a perfect world create a text box that allows type ahead and user lookup just like when you type in the "To" box when composing an e-mail in Outlook to create a semi-colon delimited string of e-mail addresses. I'm not finding anything like this in any of my searches. Any ideas? Thanks.

Custom Contact List: has to be auto-populated with users and manually insert others contact

Hi All, is it possible to create a custom contact list that automatically insert user as contact? I have to use it to send auto-email to the people in the contact list... (ant they can be user or not) Thanks All Vit

Backup iPhone SOftware - backup ibooks, iphone sms, contacts, call list, music, video, photo

Do you wanna backup your important iphone SMS, Contacts, Call List, iBook, Photos, Music, Videos and other files? If yes, just continue. iPhone Took Kits is an professional iPhone SMS Transfer , iPhone SMS Backup, iPhone SMS copy, backup iPhone to PC Software which can perfectly and quickly backup iPhone SMS to computer. With this Backup iPhone SMS Software, to transfer SMS from iPhone to Computer is just a piece of cake. Moreover, this iPhone Tool Kits also can backup iPhone Contacts, iPhone Photos, iPhone Music/Video, iPhone Call List, iPhone iBook and be using as iPhone Disk & File Utilities. Key Features Of iPhone SMS Backup Software * # Easy to Use This top-rated and powerful iPhone SMS Backup software is simple to install and easy to operate. * # Multiple Device Compatibility, Auto-Scanning, Indexing and Searching Supports all iPhone, iPad and iPod Touch models. Auto-scans your iPhone, iPad or iPod Touch device, and auto-indexes all files by album, artist, genre, and type. Also auto-searches by album, artist, genre and type. * # Backup SMS to to Computer with Multiple File Formats * # Backup Music/Video to Any Folder on Computer You can now also transfer Music/Video from your iPhone, iPad or iPod Touch to your computer * # Backup Photos to Any Folder on Computer * # Backup Call List to Computer with Multiple File Formats * # Backup Contacts to Computer with Multipl

Retrieve Calendar list as iCal and Contact list as vCard


I am writing a SharePoint solution to make it possible to export selected content from a site to a ZIP in standard formats. For calendars and contacts this should be iCal and vCard.

I found out that SharePoint has the build in ability to create these files for me, using the RPC Method DISPLAY. http://msdn.microsoft.com/en-us/library/ms416599(v=office.12).aspx

This is the vCard example: /_vti_bin/owssvr.dll?CS=65001&Cmd=Display&CacheControl=1&List={9F2DC91F-691F-46B6-A882-09F1B111B50C}&ID=1&Using=%2FLists%2FExportContacts/vcard.vcf

This works like a charm, but I'm already on the server, so it's a bit of waste of resources the make a web-call for every contact I want to export.

owssvr.dll is a frontpage extension and not written in .NET so I can't see what code is called to transform a listitem to a vCard or iCal. Does anyone know which code is called and if I can call this directly from the server (without webcalls)?

I know I can write custom code (or find it on the internet) to do these exports, but I rather use the built-in technology if this is possible



Sharepoint 3.0 Contact List not displaying correctly.



I recently moved the MDF and log file to another drive as the server's C:\ drive was full. Upon successfully reattaching the database I have been told that peoples first names are missing from the Contact list in sharepoint.


URL is: http://server01:3000/Lists/Contacts/AllItems.aspx

I am not 100% this has to do with the move of the 2 files STSServer01_1.mdf and STSServer01_1_log.ldf, however this is what they are saying that the First names have now gone.

When clicking on Lists and > Contacts I can see that the people in the list are missing the first name.

The format used to be: Lastname, Firstname

Now I can see just: Lastname

Any ideas why this would happen and how I get it to display first/last names again? The column is called 'Contact Name'.

Also how do I find out if this list is being read from somewhere such as someones outlook or the GAL or if they just created this list (I think they just created it)

Thanks for the assistance.


Last Name Column in Contact List



I changed the DisplayName of the Title Site Column in the Item list type. I'm glad to change it back to Title.

But now when users create new Contacts list, the LastName Column display as Title Column. The Contacts content type in the Content Type Gallery still has the Last Name column.

How to get the column in the Contacts list created as Last Name again like before instead of being created as Title?

Thanks in advance.

Ready made List Types provided by SharePoint

SharePoint provides some out of the box List Types. Some of the most used ready made list types that SharePoint provides currently are listed below:

Export SharePoint List to Excel Spreadsheet Programmatically using C#

In SharePoint applications, Custom Lists are used to store business data and Document Libraries to store the documents. But for data manupulation and analysis, Microsoft Excel provides very rich features as compared to SharePoint Lists. That's why people still loves to work on Microsoft Excel Sheets.

Dropdown list in ASP.NET - How to get value selected

am sure this must be very simple, but unforunately I can't figure it out.
I have the following code which populates the dropdown lists from the database. This works fine. Now, when the user selects a particular employee name from the list, I want to get the Employee Id of the selected employee. i.e. I need to get the "Eid" value. I can do this if the EId is loaded in the dropdown list, but in this case only the employee name is displayed. Please let me know howI can get the Eid value even though it is not loaded in the dropdown list.
I would really appreciate your help

Creating Sites/Lists/List Items under Current User Context in SharePoint By Using SPUserToken

Usually we do this by performing the action under RunWithElevatedPrivileges method and updating the listitem using SPListItem.SystemUpdate() method (see here). but this approach has its own flaws like (RunWithElevatedPrivileges will run under system account, we cannot use SystemUpdate for SPSite,SPWeb,SPList, since it runs under system we will "CreatedBy" by as SystemAccount).

Editable Gridview with Textbox, CheckBox, Radio Button and DropDown List

This is an example of an editable gridview containing different ASP.NET controls. When user wants to edit values in gridview, she/he can use these controls to edit existing values in Gridview Edit Mode.

Using the Code

Get pixel format, raw format, property id list and property items image in VB.net - C#.net.

n this simple article you will learn that how we can get pixel format, raw format, property id list and property items image in VB and C#.net.

Get Pixel Format:

Image consists of pixels to get the format of the pixel we have a property named pixel format. This property returns an enumeration of pixel format. This enumeration tells the pixel format.

To demonstrate make a window application. Drag one button and a picture box on form.

Now write the following code on Button click event:

Binding an array to dropdown list


I have the following string which is a list of urls. How do I get this to work so the url shows for the selection and also is the value?      


allLinks = newAllLinks
        Me.DropDownList1.DataTextField = "Link"
        Me.DropDownList1.DataValueField = "LinkURL"
        Me.DropDownList1.Items.Insert(0, New ListItem(" - Select - ", 0))
        Me.DropDownList1.DataSource = allLinks


 ArgumentNullException: Value cannot be null.
Parameter name: container]
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +121
   System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName, String format) +8

Compare List


i have got two list<string> containing datas

i would like to compare the both list and the result to new list whch does not contains the same data.(basically unique data)

eg shown below..

list A       list b          list c

a             a                 d

b           d                    c

c            f                   e

f            e

plz let me knw..

Strange Photo upload problem


I'm working project it's live on shared hosting

we'er uploading photos to a file on the server everything works fine the photo is resized renamed and sent to the folder

the upload page returns the thumbnail and the full size photo it's there all the photos have to be approved by an admin

twice now after they have been approved they disapear I checked the folder they are not there could there be anywhere

on the server they could get hung up before they go into the folder I have it setup so when you delete the data base entry it deletes the photo from the folder othe than that you need to open the folder and delete the photo this has hapened twice now I tried to recreate it with no luck

thaks for your help in advance

Gridview with a dropdown list for editing


Hello. I am working through Scott Mitchell's ASP.Net in 24 hours book. I am finishing the photo album project.

I have a GridView that retrieves a list of uploaded photo rows for the logged-in user.
The GridView is for editing and deleting rows.

The photo Category field in the Gridview is a dropdown list. The text entry field was deleted after converting this field to a Template.

Like the uploaded photos, these Categories are user-specific. They are created in another web page.

Users also have the option to select "none" for the category when they upload an image.

For the GridView:  The Category ID field's ItemTemplate and EditItemTemplate both have a " - None - " choice added to them.

I am getting this error:

'pictureReadOnlyCategories' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value


Note: The ID for the ItemTemplate for that dropdown list is the ID listed above in the error: "pictureReadOnlyCategories".


Am I missing some step in this process of changing a GridViews text field to a dropdown that can be used for editing? I went through the book's instructions three times.

Here is my code for the dropdown list and a screenshot of the Design

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