Problems with discussion after generating site definition.
Hi allI use "SharePoint Solution Generator 2008" to generate site definitions. I use this wayOn the generated default page, I have a lot of custom lists. All of them work except discussion board. I can...
View ArticlePerformance Guidance and SPList.Items.Add - no need to avoid using it
I've been reviewing a rather complex SharePoint application to pinpoint some performance issues and noticed that there was some lines of code which were something like: SPListItem newItem =...
View ArticleHow to hide div from user with no permission
Hi experts, I have a custom designed site home page with hyperlinks wrap in divs and each div points to a different list. And each list has a unique permission applied. Now I want to hide those divs...
View ArticleSharePoint Development
hi - I am practicing my development skill using "SharePoint 2010 Developer Road map" where you can find the link at this http://msdn.microsoft.com/en-us/SP2010DevTrainingCourse_ShareP - where can i...
View ArticleSharePoint 2010 ECMAScript Property Bag
Hi, Is it possible to access from ECMAScript Client Object Model (javascript) the property bag? And I mean create, read, update, delete properties. Thanks!
View Articleprogramatically , how to delete a single day event from scheduled share...
<p>Dear all,</p><p>iam creating a recurring event in share point calendar programatically, now i want to delete a single day event out of that created recurring...
View ArticleCan't Activate Web Part ("Failed to instantiate file" error)
I've got a web part that I'm trying to test in a single-server development VM environment. It deploys fine, and shows up under my Site Collection Features, but when I try to activate it, I get this...
View ArticlexmlReader.ReadInnerXml throws xmlexception for invalid hexadecimal characters
Hi All, I have a xml file that holds metadata properties info of an listitem in a library. The metadata properties holds some invalid hexadecimal characters. I use the below code to read the xml...
View Articlewebpart containing flash not working
Hi , I have been creating one webpart that contains a flash file.The flash file has some file reference to a supporting xml file, which is done from flash file itself . I have used the same flash file...
View ArticleImplement Cookie in Sahrepoint
Hi, I have requirement of implementin cookie in my web part.I have used the following code. HttpCookie objPollingCookie = HttpContext.Current.Response.Cookies[strListURL + "|" +...
View ArticleHow to take timer job project package for deploy to production...
Hi, How to take the custom timer job projects package for deploy to production server............ Maanik
View ArticleBrowser Compatiblity
How to create a web part that notifies the user they are using a browser that does not support SharePoint 2010?
View ArticleProgramming SharePoint Document Libraries Event Receiver
hello ! how to add newcreated item of list in file.txt on the library ? this simple code,which add newcreated item of list in another list if (properties.ListTitle == "test") { string MyTemp =...
View Articlehow to load a asp.net user control in visualwebpart of sharepoint 2010
Hi, am developing a connectable webparts using visual webpart. but instead of loading the user control which comes with the visual webpart am trying to load a web user control which i have included...
View Articlehow to get Field Id Guid Programmatically
Hi All, I reading the sample of creating content type programatically from (SharePoint 2010 101 Code Samples) project. I stopped in a line of code //This GUID uniquely idenitifies the custom...
View ArticleUnable to understand the Form Fields ID ff1{pos} on custom newform.aspx.
I Created custom newitem form for my sharepoint list.. And i looked at the formfields present on the page . ID of these fields were like 'ff12{pos}' . I wondered what is this {pos} . So i went ahead...
View ArticleHow do I display the network IP of the local machine on the front page of...
At our small hospital we often have to remote onto machines of users having issues and we do so using the network IP address, but we would like an easier way for users to find the IP address and we...
View ArticleSandboxed solution question
Hi, I want to deploy a sandboxed solution that will make use of ECMAScript Client Object Model in order to do the required work. The feature will be scoped site collection and once activated for a...
View ArticleDisable a sharepoint libarary record for all users except one
Could you please help me with a piece of code for disbaling the specific Sharepoint Library item for all users except one. Thanks
View ArticleHow to get email body format control?
I working Email web part in sharepoint 2010..So I need to create Message/Body control like outlook/gmail..how can i get the control?Is there any code?
View Article