I am not exactly sure how to express this query.
I have a list with items, the items have titles.
When the title link is clicked, it displays a form.
I would like to change this behavior and have it act like a URL to a site page.
I have searched for the morning and day and have come up with this:
web.AllowUnsafeUpdates = true;
SPListItemCollection itemCollection = list.Items;
item = itemCollection.Add(f.ServerRelativeUrl,SPFileSystemObjectType.File, "Name of item");
item["Title"] = "Name of item";
SPFieldUrlValue url_value = new SPFieldUrlValue(item["Title"].ToString());
url_value.Url = "http://www.google.com";
item[SPBuiltInFieldId.Title] = url_value;
web.AllowUnsafeUpdates = false;
Now, that is what many blogs, examples have as 'the way", however when this runs the item title is:
and when clicked does not go to google...but the
Do I need a custome content type to express
the Title as a URL? Or does it have this property out of the box?
View Complete Post