Copying and backing up sites and sub-sites with SharePoint Designer
Hi - I'm wondering if someone can tell me how to do this. I'm setting up a purchase request site where various people will go in, complete a form, activate workflows to keep it moving along, until...
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 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 Articleinfopath2010 code get data from sharepoint list
hello when i write code in infopath 2010 to get list data this is code SPSite site = new SPSite("http://sptest:100"); SPWeb web = site.OpenWeb(); SPList list...
View ArticleHow we can get same string like Sharepoint designer while using...
I am trying to migrate Web parts from source site to target site.. I can replace the GUID's of source to target through programatically. My Concern is I want to get same string of webservice...
View Articleasp.net validators and IE9
I have a webpart which contains a simple form with ASP.net validators, on the same page I have <button> elements acting simply as links using onclick="window.location = blah.aspx". However, when...
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 Migarte Master Pages From Source To Target Using Client Object Model?
Hi, I am tring to migrate master pages with css applied to it on to target Site. My question is while I change source core4.css and applied to it v4 master page. the core4.css copy moves to...
View ArticleSave Conflict Error in sharepoint 2010
I am trying to add a set of documents and folders through webservice.While creating the documents when two users try to access the document library with diffrent files and folders i am getting this...
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 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 ArticleWhat is the stsadm command for registering the list event [item adding/added...
What is the stsadm command for registering the list event [item adding/added etc] to the custom list?Amalaraja Fernando, SharePoint Architect Please Mark As Answer if my post solves your problem or...
View ArticleUserProfileManager Vs UserProfileService
Experts Whats the difference between using the UserProfileManager and UserProfileService to get the users in SharePoint 2007? Which one is better? whats the advantages and disadvantages for both of...
View ArticleLayout of sharepoint newsitem changed
Hello, I'm using Sharepoint 2007 and after a update our internalwebsite crashed. i restored it using psconfig, but after that the layout of the site changed. The news-items normally show the title and...
View Articleevents in a user control which is loaded in a visual web part are not firing
i have created a connectable webparts using visual webparts and i have a custom web user control which i have loaded in the provider webpart. It loads without any error but there are button controls in...
View ArticleHot to get Current Discussion on Discussion Board List Flat.aspx?
Hi, I need to get the Current Discussion Item in my Discussion Board List Flat.aspx. How can i do this via C#? Thanks
View Articlehow to load a asp.net user control in visualwebpart of sharepoint 2010
how to load a custom control in visual webparts and how do i connect it to other webpart? if anyone has the solution please share it am facing so many difficulties in achieving this. am unable to get...
View ArticleSPWeb oWebsite = SPContext.Current.Web throws null reference exception
I was working on event handler..in the item Added method i have typed in SPWeb oWebsite = SPContext.Current.Web but this does not seem to work as it is throwing null reference exception .
View ArticleCAML filter between dates
I'm working in a CEWP for MOSS07 (jquery features) and cannot return the correct sets of data. I'm pulling from a custom list (imported from Access) with a column of date/time: date only. I need to...
View Articlesearch contacts in visual webpart using CAML query
while i enter names in serch textbox it should show list of names with the starting letter itself for eg: Im entering name "ra" it should show like this rahul ramesh rahini ravind
View Article