create a doc library with checkout as a list definition or c#
Hi there . I need to create a doc library which has defined by a content type with Document Version History and for this create a major and minor(draft) versions Thanks kindly
View ArticleSharepoint designer error
Hi,I am working on one project and we are using sharepoint 2010.I am having one requirement of changing the defaut image of Edit button of list and change the text of Add New Item button.But when i am...
View ArticleHow to create a document library programmatically and add it to a webpartzone?
Hi,i am trying the things below without success. Can someone help?I am trying to do:1.) create a document library programmatically2.) add a column3.) add it to a webpart zoneBest regards, Yavuz B. My...
View ArticleSystem.ArgumentException: Value does not fall within the expected range
Hi,I'm getting below exception for the code, where 'Project Description' is the field display name.SPWeb oWebsite = SPContext.Current.Web; SPList oList = oWebsite.Lists["Project Info"];...
View ArticleSPListItemCollection Error
Hi All,Please find my code:publicIEnumerable<IGeneric> GetVenueRooms(intvenueid) { SPListdlist = CurrentWeb.Lists["VenueRooms"]; SPQueryquery =newSPQuery();...
View Articlei am getting error while i try to fetch file ID after creating a file.
Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()
View ArticleError on Look Up columns in Creating Document via MSOffice
Hi All,I have a problem here with my look up columns. My look up columns works as expected in web page, but when I tried to create a document via Document content type. The columns are disabled and i...
View ArticleRegarding Sharepoint 2007
Dear Sir/Madam,I have got one problem regarding sharepoint 2007 ,1)In my server the one error is occurred---This error is w3wp application error"Application has generated an exception that could not...
View ArticleHow to translate the Windows Live Autentication Unique ID to a "readable"...
Hi,I am in the testing phase of setting up claims based authentication using Windows Live ID on our Sharepoint 2010 Enterprise server. I have gone through the process of setting up the "INT"...
View ArticleOne or more Web Parts on this page references a zone that doesn't exist. It...
Hi Team,Error Message:“ One or more Web Parts on this page references a zone that doesn't exist. It has been moved to the Closed Web Parts Gallery”Scenario:While creating site from custom site template...
View ArticleChange List name with powershell.
Hello,I want to create a list with a short name for the url, and rename it to the normal name for the users. But i can't.if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction...
View Articlehow to check managemetadata column is associated with which content type?
I have one document library where I have added 2-3 content types. All these added content type is associated with diffeent manage metadata fields.In my upload check I am auto tagging the metadata...
View ArticleWhat all the benefits are there for WWF over nintex workflow
Hi folks,we have a sharepoint2010 application, where we need to use customworkflows. we are planning to use WWF or Nintex. Could you please help me which is the better option. we dont have very complex...
View ArticleHelp with date subtraction formula
I have 3 columns that will go into this formula:Baseline dateActual dateCurrent date (do I need to make a column for this?)This is the logic I want to code:If the Actual Date is NOT null then: Baseline...
View ArticleChange category order in People Picker
We've added a custom claims provider called "External Users" and it is showing above internal users. This is not acceptable to the users who will be using People Picker.Before the custom provider was...
View ArticleAdd a custom Webpart to Top Navigation Bar
HelloI would like to add a custom web part to Top navigation Bar. For ex, add search web part to the top navigation bar.Any step by step guide available for this?Thanks in advance.
View ArticleCustom Code in CEWP for a single user
I have a CEWP where I have added some CSS (to remove the navigation bar) and some HTML/CSS (to add a custom logo bar at the top). I have also added an audience (which contains one user) to this CEWP...
View ArticleRead pdf from sharepoint 2010 via .net click once application
Hi, I have run into an issue and was hoping you could help me resolve it. I have SharePoint 2010 as our environment and currently have a few pdf's located in a list. We have a .net ClickOnce...
View Articleweb.Folders[].Files.Add crashing with no error
Hi.In the following code my intention is to upload a file programmatically from a folder on disk to a SharePoint 2010 document library. // Get the destination libraries SPList destination =...
View ArticleSharePoint FBA Authentication Sequence
Hello,I am now to SharePoint world and we are in process of implementing the FBA and it is working as we have followed some very articles from net.Now I wanted to understand how does the authentication...
View Article