Sie befinden sich aktuell in den Christian Brix Blog-Archiven für den folgenden Tag 10.12.2009.
| M | D | M | D | F | S | S |
|---|---|---|---|---|---|---|
| « Nov | Apr » | |||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||
- .NET (4)
- Administration (12)
- Allgemein (6)
- C# (4)
- MOSS 2007 (31)
- Office (2)
- Programming (5)
- SharePoint (38)
- SharePoint 2010 (3)
- Uncategorized (1)
- VB.NET (2)
- Web (7)
- WIN 2008 (1)
- Workflow (8)
- 27.4.2010: Access denied while joining an existing MOSS 2007 farm
- 27.4.2010: SQL-Server Logfiles kürzen / Shrink SQL-Server DB Logfiles
- 14.4.2010: Timerjobs für Policies laufen nicht
- 10.12.2009: CAML query nested too deep
- 28.11.2009: SharePoint 2010, Listen und Bibliotheken, was ist neu?
- 27.11.2009: SharePoint 2010 Beta, erste Eindrücke
- 6.10.2009: SharePoint Fehlermeldung bei Verwendung der Suche / Search error
- 25.9.2009: MOSS große Listeneintrag Anlage wird nicht hochgeladen / MOSS large list item attachment not uploading
- 20.9.2009: stp Vorlage ungültig... / stp template invalid...
- 26.5.2009: Erste Systemvoraussetzungen für SharePoint 2010 von Microsoft veröffentlicht
Archive für 10.12.2009
CAML query nested too deep
10.12.2009 von cbrix.
Working on a customer project I came across the requirement to query lists for selectable filter criteria. The query result had to be taken to query a central list. The central list and the other lists had a one to many relation and shared a primary key in the central list.
So lets say there is a customer list with columns “Customer Key”, “Customer Name”, “Customer Adress” and different other lists wich hold relational data, like a list Contacts with “Customer Key”, “Contact Name”, “Contact Role”, ”Contact Department”.
Now the requirement is to first select all contacts with role “Manager” and department “Marketing” and then switch to the central list and get all the cutomers that match the query “Has a contact with role -Manager- in department -Marketing-”.
Geschrieben in MOSS 2007, SharePoint, C#, Programming, .NET | Drucken | Keine Kommentare »