When using SPMetal to generate entity classes, these classes are used in LINQ to SharePoint queries.
We have a project with content type and list definitions and one project with business logic which use the generated entity classes. But in an automated build approch what is the best way to make sure that we always have updated entity classes after a change in a content type and list instance?
I am thinking of making a "Post-build event" command in the Content Type and List definition project.
Use a pre-build event (not post-build!) as described in: http://msdn.microsoft.com/en-us/library/ee538587.aspx
I am trying to get the CAML for a custom content type that I am creating. What I am really doing is creating the content type in Visual Studio 2010 and then deploying that content type to my sandbox. At that point, I am modifying the content type using the SharePoint interface (i.e changing advanced settings, adding columns, etc). What I would like to do, is after I have made my changed, update my CAML in Visual Studio to match my changes. I want to do this because I am creating custom fields and content types for my project and want to create a solution with these customizations. Since
Full disclosure: Sharepoint development noob. I currently have 3 custom web parts built in an SP solution in VS2010. I build and deploy my project out to our local Sharepoint dev box. However, after...="http://schemas.microsoft.com/sharepoint/" > <Module Name="Home" List="113" Url="_catalogs/wp"> <File Path="Home\Home.webpart" Url="Home.webpart" Type="GhostableInLibrary" > <...://schemas.microsoft.com/sharepoint/" > <Module Name="IdeaEditor" List="113" Url="_catalogs/wp"> <File Path="IdeaEditor\IdeaEditor.webpart" Url="IdeaEditor.webpart" Type
This is mainly a verification question as I have been fighting with an issue for a couple of days now. I have two lists derived from 2 custom content types. Both content types used the task base content type. Each of the derived content types have custom form rendering templates. I am using a custom usercontrol with codebehind added to the .ascx page as a control to redraw the forms differently... did on the other form. I am wondering if it is because both lists share the same type number (107) or if it might be something else. So does each list need to have a custom type number or does
A customer has asked me to build a new commitment tracking system for them in Sharepoint. They have created a need for 3 types of commitments that we can just call TypeA, TypeB, and TypeC... but only exists for that department. I had several ideas but wondered which one would be the best. Create the 3 Types as 3 seperate content types derived from the task content type. Create... to and apply the permissions at the item level. Create a separate list for each department and add the content types to each list. This seems rather crude as reporting would be more difficult. Does anyone have
to Spreadsheet, but it does not appear to support automated subdivision of the list items into separate worksheets. I do not know if Excel Services that come with MOSS are capable of it, but we do not have MOSS so we cannot consider it an option for now. EDIT It seems that by mentioning "out-of-the-box", I am implying that I'd prefer something quick and simple. Let's dispel that. I do a lot... of work level that can be suggested. I should also note that keeping the list linked with the spreadsheet is undesired. We want to be able to download the spreadsheet as a reference. Because
I've followed the following steps to build a WebService in SharePoint: Created a new project using WSPBuilder. Added a 'WebService' (Add a new web service to the layouts folder) Do a WSBBuilder... to /_vti_bin to make my WebService accessible via http://server/_vti_bin/MyWebService.asmx ? (Note : the manual steps from MSDN can be automated using SPDev. I also found this blog : http... the best way to follow ?And how can this be automated via the build in VS2008 or during deployment from the WSP ?
My company is currently in the process of building a CMS on top of SharePoint 2010. Part of the functionality of the CMS will require being able to have a searchbox that searches the contents of a specific list (both custom lists and external content list types) and returns the list items relevant to the search as the results. My questions are: Is it possible to build a search Webpart that only searches a specific list? Is is possible to have an external content list sitting on top of a database table via BCS searchable through SharePoint Search Services? Any constructive input
I have never really had too much cause to use this method before but I am developing some generic classes to deal with column, content type and list management for use in a series of features. My... in progress, but I am having trouble with the SaveListAsTemplate method which looks like this: Public Shared Function SaveListAsTemplate(ByVal List As SPList, ByVal SaveContent As Boolean... that I have seen. As an aside any other comments on this code gratefully received. EDIT: Exception and Stack Trace System.ArgumentException "Value does not fall within the expected range
happening. When I activate ContentTypes, the content type and field are deployed as expected into my site collection. When I activate Registration, the list is provisioned and the content type is added as expected. When I try to add a new item to the list, the list form only shows the Title field from Item. Now, here's the weird part. If I add a second content type to the list (through the UI), the list form suddenly works correctly. This makes me think there's something wrong with my content type. Here's what I'm working with. Some names have been changed to protect the innocent. <ContentType