"Contact Us" page in SharePoint 2010 public facing web site
for a SharePoint 2010 public facing web site (with anonymous access) what is the best approach to create a "Contact Us" page?is Application page is the best answer? or any other way to do this?Plz help?
View ArticleHow to delete the master page in sharepoint programmatically
Hi,I tried to delete the master page from gallery programatically as below. but exception caught as "cannot remove file default.master . error code 158". So how to delete the master page without this...
View ArticleHow to enable sandbox solution in sharepoint farm ?
Hi all,Please suggest me how to deploy my visual webparts as a sandbox solution in my server farm.Thanks,phanikumarPhani kumar
View ArticleUpdate a List Item w/o changing Modified By / Date fields and Version using...
Hi All, I am using Client Object Model to update document properties in a Document Library. But when I am doing this, the Modified By, Modified Date and Version get updated. I wanted to overcome. In...
View ArticleSharePoint User Information List
Greetings to everyone. Today I was perplexed by User Information List. My powershell script showed the right Display Name for the user and UserInfo table in the content database also contained the...
View ArticleVersions in Sharepoint
How can I get sharepoint to automatically manage versions for my documents ?I added versions as I separate column but to manage the versions, I manually need to go in and add the version number.Is...
View ArticleHow to check checkin and checkout buttton is enabled using c#
How to check checkin and checkout buttton is enabled using c#I will select the page and will see whetther checkin and checkout links are enable or disabled uisng c# Can any one telme how to do...
View Articleunable to send emails using SPutility.send mails Method in sharepoint2010
Hi i am uisng send mail method in sputility class to send emails in one of my visual webpart. i am unable to send mails using this method i have done out email setting in Central admin and i have...
View ArticleWriting modified date of a document library item through CSOM.
I´m working on an application which is replicating files from one document library to another. Since it is a replication, I want the modified date to be preserved when I copy the file from the source...
View ArticleUsing SPLongOperation in visual webpart
Hi,I have a visual webpart, in which i have added the splongoperation in the submit button. In case of an error during the save, i want to show the existing page,which the user filled the data.I have...
View ArticleSet a field value based on query string
Hi, I have a list where I need to set field value based on the query stringI have this field called "Type", which is numberFor Eg : let's say, My URL is "Http://www.example.com/newpage.aspx?type=12"Now...
View ArticleCustom Edit Form with custom fields for Content Type
Hi All,I have created an custom edit form which has all content type fields + extra field control based on which i do some operation. My Page is inheriting from LayoutsPageBase. I want to add the Edit...
View ArticleHow to use SPGridview in a application pages with Sorting, FIltering and paging?
HelloI am testing following url, initially it is working as it is. But I noticed that FIltering, Paging and sorting none of them are working.http://programming4.us/enterprise/15034.aspxI also modified...
View ArticleChange permission on library subfolder with powershell.
Hello!How can i break inheritance of subfolders? I can do it with the document library but not with the folders.I have this script. And its not working.Add-PSSnapin microsoft.sharepoint.powershell...
View ArticleApproach of development SP2010 project taking consideration of future upgrade...
Many of our client still using SP2010. Many project are in our plates which will need to develop on SP 2010. Most of the project are customized with visual studio 2010. (Materpages, Pagelayouts,...
View ArticleOpen SharePoint 2010 Document Library Files Programmatically
Hi,I have a Visual WebPart, which has a ASP.NET GridView and the GridView display all the files present in a SharePoint 2010 document library. The Gird has a LinkButton and when user clicks the...
View ArticleIntegrate imported sharepoint 2010 reusable workflow into another WSP
Is it possible to integrate imported spd 2010 designer workflow into other solution package ?Eg : MainSolution.wsp and Workflow.wsp (save as template and import in visual studio.)Can I integrate...
View ArticleNeed suggestion for hosting vedio in sharepoint public site
I need to host video on SharePoint public facing site. For this i have developed a custom webpart and using embedding code i am hosting video on site.It is expected, we will be using about 50 video(1...
View ArticleCheck null in multi lines of text in CAML query
How to check the null or blank in multi lines of text in CAML query
View ArticleOpen Edit form directly when list ITem is clicked in Sharepoint list
Hi all, I have created a Custom list named 'Client' and customized the form using infopath form and published to list.When I click on the Title column of an item,by default it opens the Display/View...
View Article