The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
339 views

SPMetal getting picture thumbnail url

I am making a custom web part and need to be able to pull a picture thumbnail from a picture library. I am using SPMetal generated classes and don't see a way to do this. It seems that thumbnails ...
4
votes
1answer
202 views

Get SPListItem from LINQ

I have used SPMetal to create a data context. I can query my lists. The queries return an object of the type of list that they are in. Is it possible to convert this type into a normal SPListItem ...
1
vote
1answer
465 views

Why does SPMetal ignore lookup columns in Farm Solution

I have content types and related lists (via lookup columns) in a Sandbox solution(wsp). All my lookup column relationships come up fine in the SPMetal generated entity classes. I now have a ...
0
votes
1answer
275 views

SPMetal.exe : could not create entity file

I use this command: SPMetal /web:http://intranet.contoso.com/sites/Lab05 /code:Entities.cs /language:csharp for creating entity file Entities.cs, but i get Error: Must specify source code language.. ...
0
votes
1answer
325 views

SPMetal, lookups without EntityRef

I defined site definition with two content types and two list definitions. I have lookup site column <Field ID="{4318c52f-11c6-129a-b832-5ab22450b17c}" Type="Lookup" ...
0
votes
1answer
293 views

SPMetal Person column generation

I'm using SPMetal to generate a class for my lists to use in a Sandbox-solution (with Sandbox Visual WebParts). However, when I generate the classes for a list column of type "Person or Group" with ...
2
votes
0answers
180 views

Resource throttling and LINQ / spmetal

Today I received an e-mail from a customer telling me their site broke. I checked the ULS and noticed resource throttling had kicked in on one of the sites. I'm used to this when using ...
1
vote
0answers
166 views

My List Content Type is no being found by SPMetal

I am trying to use Linq to Sharepoint for some custom reports but I am running into an issue trying to setup SPMetal. I generated the class but for one of my lists "ListA" only ID and Title fields ...
1
vote
0answers
151 views

Auto inserting SPMetal child entities?

Let's say I have two lists in my web site, linked by a lookup : List A (content type ACT) Title (text) List B (content type BCT) Title (text) A (lookup to A) I use SPMetal to generate a ...
1
vote
0answers
139 views

Generating Entity List property for “Reusable Content” list

I am attempting to generate an entity class for "Reusable Content" list. After running the CKSDEV tool, i see that DataContext object has the following /// <summary> /// Items in this list ...
1
vote
0answers
193 views

Getting at InfoPath/form library data using LINQ to SharePoint

I'm teaching myself some basic SharePoint stuff, coming from three-tier ASP.NET, and before that, Java background. I've been trying to figure out how to do things "the SharePoint" way, rather than ...
0
votes
0answers
45 views

Generating Business Layer for External Lists

I have my custom database on backend and i have used BCS to bring in the information to SharePoint 2010. So far so good, but now i want to ideally use strongly types generated entities just like ...
0
votes
0answers
168 views

SPMetal insert item with lookup column throwing exception stating that there is a field that is read only

I have the following code protected void BetOnCar_Click(object sender, EventArgs e) { DerbyDataContext context = new DerbyDataContext(SPContext.Current.Web.Url); int carId = ...