Daniel84

Hi there, I'm pretty new to ASP.net and Sharepoint. I have searched google and MSDN for over half an hour to find an answer but was not successful.

This is the fact, I'm trying to create a Sharepoint List pure by C# code not the Sharepoint Editor! Now I have a problem with the field types on one of my lists. When I add a new field with the

SPFieldtype.URL this way:

SPListItem newItem = list.Items.Add();

newItem.Fields.Add("Portrait", SPFieldType.URL, false);

it is displayed on the 'page' as link...as it should be. But when I create a new field in the Sharepoint editor it has the property to display the image of the picure and not the link.

So what code or property is needed to display the Picture itself and not the URL in the list's field can anyone help me



Re: ASMX Web Services and XML Serialization Sharepoint URL field as Picture?

johnko

ˇ°Thanks for posting this question. This forum is for Web Services questions. You will receive a faster reply by posting on the http://forums.asp.net/.ˇ±






Re: ASMX Web Services and XML Serialization Sharepoint URL field as Picture?

Daniel84

Thx for your advice, since this is my fist post here I was not right if I'm in the correct forum. Will try my luck in your suggested one.