I am trying to access a sharepoint list programmatically in a webpart, like this.
try
{
masterList = web.Lists[listId];
}
catch(Exception e)
{
RenderExceptionMessage(e.Message);
}
The RenderExceptionMessage() method is supposed to show a user-friendly error message inside the webpart.
But the problem is that I am not able...
I installed WSS 3.0 and pointed my TFS2005SP1 installation at it. I am planning my TFS 2008 upgrade. Everything I've read mentions migrating to WSS3.0 after the TFS upgrade.
Are there any gotchas I need to be aware of related to the WSS upgrade already having been performed?
...
How can i localise a sharepoint site.
i need it to copy any new content created in an english site to be copied into a german site. the actual translation is handled ok. i just need the creation of site/subites/content/pages to be copied from the english site to the german site
...
Which web part and how to configure it to view a list from a different site collection?
Please note that I do not want to view a page but a list. For example view Announcements from a different team site under a seperate site collection.
Thank you in advance for your help.
...
I am developing publishing site. I have some layouts that are pre-populated with web parts and have a problem when I need to make some change on the layout.
Deployment succeeds but I still see old version. If make I change in SP Designer it is reflected OK but not if the change is done by the feature that is being deployed.
It looks lik...
Hi,
I am SharePoint 2003 newbie. My organization has a approximately 75 individual SharePoint sites (for departments and teams). Most sites have unique permissions.
I would like to build a .NET tool that would either take the URL of a SP site as input and have the app return the name of all users that have Administrator rights to t...
I have tried to do the following:
public abstract class MyItemEventReceiverBase : SPItemEventReceiver
public class TestItemEventReceiver : MyItemEventReceiverBase
It builds without a problem, but visual studio gives a error when I switch to the WSP View. The error is as follow:
"Unable to load one or more of the requested types. Retr...
I'd like to use the Data Form web part to display list content from a list in a different site. I'd also like to show the ECB menu as well to show view properties, edit properties, edit in Microsoft Word (if it is a Word document), etc.
I suppose it is just an exercise in XSLT, but I'd like to know if someone has cracked this nut befor...
I have a site set up in sharepoint
after root there is a subsite "English"
I want to now create a variation for this, and set English as the source.
Then I need to create a "German" version that has the exact same structure and pages as the english site.
the problem im having is that the english site and structure is already set up
...
Im working with shareopoint variations and having trouble.
In variation settings - variation home
the location textbox/browse button are greyed out and there is a message
"The variation root site cannot be modified, because variation hierarchies have been created."
there was a "/" in that text box bu not sure why its no longer there.
...
Currently, I'm developing a SPOnline workflow trying to automatically assign a task monthly, quarterly, or yearly based on a drop down box value. From what I've been testing, the pause for duration, set at 5 minutes, seems to hang and does not resume the workflow after pausing. I have tried removing the pause for duration action and ha...
I wrote a custom web part for SharePoint 2007 that loads an existing user control. One of the things the user control does is an asynchronous upload of a file via FTP. I'm using a third-party FTP library that has BeginUpload/EndUpload methods for async file transfer. I also have an update panel in the user control that I use to display a...
Is there a way I can use the sharepoint controls in a ASP.NET web application like any other controls that come out of box for ASP.NET? If yes, what are the pre-requisites I need to install?
Thank you,
Harsha
...
I have been working on a document conversion feature for converting a docx file to a pdf file using MOSS 2007. The SPFile.Convert() call is being made in the ItemAdded event and the ItemFileConverted event is fired fine as well. The eventing seems to be working fine, but the IsConvertedFile and SourceLeafName properties of the converte...
I want to show targeted (filtered) content from a list to users. I already have a column in the list that basically has the Target Audience value. This field is a multi-choice column (checkbox input) which I prefer over the current input field for Targeted Audiences.
To get audience filtering to work I unfortunately need to have the T...
We have customized Sharepoint rather much and added new menuoptions for items. We have different usergroups that also are members in different audiences
The matrix of menues to display or not will be based on
1) Role
2) Status of the item showing (that is part of the access rights)
How should you solve this?
I implemnted this in code...
I'm playing with the Sites.ExportWeb service in SharePoint, and I've gotten it to the point of returning an integer value.
My problem is I can't find any documentation anywhere about what these return values mean!
My C# code is below, the return value I'm getting is 5, but obviously I need to know what all possible return values mean :...
Hi All,
I designed a webpart that brings the employee info according to the EmployeeId stored in active directory, this webpart must be deployed in MySite for every user and then get the employeeId from active directory for the current user "mysite" owner, for testing purposes I deployed the webpart in the intranet site and logged in wi...
Hello,
I've got a sharepoint 2003 document libary with 15000+ document. Now i want to archive it, for faster performance.
How can i copy the document libary include content and history? I thought it was possible with stsadm, just like 2007. But that's not right.
Is there anyone with experience for keeping the version history?
Greetin...
Our production Sharepoint server serves around 800 users and runs together with its SQL Server on a physical dual-core machine.
The network guys now to put as much as possible on VMWare. The Sharepoint server and the SQL Server will be put on different servers.
Does anyone have experience of running a production-level Sharepoint serve...