In SharePoint, I'd like to be able to check if a particular List or ListItem exists before performing operations on it, but there doesn't seem to be a way to do this without simply catching an ArgumentException. Surely there's a better way?
...
Hi,
I need to create a recurring event in SharePoint calendar. I am able to create non-recurring events. Please help.
...
I'm trying to add a table row dynamically to a Page Layout in Microsoft SharePoint Designer 2007.
For example I have this table:
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<img alt="" src="/_catalogs/masterpage/images/01.jpg"><br><br><br>
</td>
<td valign="top" style="padding-lef...
I've got a very simple DataFormWebPart showing a single list item using XSLT.
I'd like to customize the display of the current Approval Status, but it doesn't render at all. The standard ListFormWebPart showed this field without issue, so there isn't a configuration issue with the List.
The column "Approval Status" is mapped to the at...
Hello All,
I am stuck with a problem. I am having tool part where I get all the Lists present in the Site.
I have other web part which should get the selected List in the tool part.
I see that the web part is loaded first then the tool part. so the web part is unable to the List selected in the tool part.
Please note that the text bo...
public class ToolPartGetLists : Microsoft.SharePoint.WebPartPages.WebPart, ICommunicationInterface
{
private bool _error = false;
//.........
protected override void CreateChildControls()
{
if (!_error)
{
try
{
ViewState["prodList"] = SelectedList;
//base.CreateChildControls();
...
I'm creating a PerformancePoint (henceforth PP) Dashboard that contains a web report to be deployed to the a SharePoint web application that I had created. I followed the instruction in the link below.
Deploy a PerformancePoint dashboard to a SharePoint site
In summary, following the instructions in the link, I published the Dashboard ...
Can I add Java portlet in sharepoint 2007? If yes, can some please explain the details on how can I do so?
...
I'm using the following code to create an All Day Event in a SharePoint calendar:
newitem = listobject.Items.Add()
guid = System.Guid.NewGuid()
newitem["Name"] = "All Day Event " + guid.ToString()
newitem["Title"] = "All Day Event " + guid.ToString()
newitem["Start Time"] = System.DateTime.Now.Date
...
Hello All,
I have a SharePoint List as Data Source and the data in it is not cleansed.
I want to display a column into a Drop down list. The data is like this:
StackOverFlow
StackOverFlow:XYZ
StackOverFlow;123
StackOverFlow,ABC
I want the "StackOverFlow" to be displayed in the dropdown. How can I ignore the text after any symbol an...
I'm trying to put together SharePoint 2007 (and, eventually, 2010) training materials for experienced ASP.Net developers, and having done SharePoint for years, I don't really remember where the worst sticking points were at the beginning - not to mention the amount of Googlable SharePoint content is greater by an order of magnitude than ...
Hello All,
I have a list with numerous Items.
I want to search for a term in the List and have the ability to select the Item in which the search term exists.
Thanks in advance for your help.
...
I am trying to do a search on a scope in SharePoint. I see this
error.
My code:
using (SPSite siteCollection = new SPSite("http://sp:25000/"))
{
// create a new FullTextSqlQuery class - use property intializers to set query
FullTextSqlQuery query = new FullTextSqlQuery(siteCollection);
query.QueryText = "SELECT Title" + " ...
Hi,
I have developed an event handler,called TaskListEventHandler, for the Task list ((ItemAdding, ItemDeleting, ItemUpdating) as feasture using the WSP Builder project template, and I have also added a web part, called RegisterEventHandler, which will be used to bind(register) the events to a list. The webpart is WSP Builder template...
I have a MOSS 2007 Webpart that displays data obtained from an external webservice (not originating from sharepoint).
It's created using VS2009, the webpart project includes a WebReference to my WebService and it uses the following code to make a connection (the url is configured in the WebReference):
//get xml sitemap from webser...
Anyone know of any way to get the "My SharePoint Sites" list that is generated and shown in the users's "My Links" to be sorted alphabetically? They seem to display in a random order by default.
...
I have a wss 3.0 install which needs an "anonymous" discussion board. I can modify the view so no usernames are displayed, however when I click on "reply", the message I'm replying to shows up in the rich text box with the username of the previous poster.
Is there a way to remove that username? or Remove the previous posted text altog...
Lists.GetListItems form the Lists Web Service returns a ows_PermMask
attribute (16 character hexadecimal) for each list item.
Anyone know how this attribute maps to the user's permissions or where the
meaning of this attribute is documented?
...
Can anyone please let me know how we can create a Site Directory? Also please let me know the Scope of a Site Directory? Also what does a Master Site Directory mean?
Any information on this would be greatly appreciated.
...
I have a SharePoint calendar event that can have any type of file as attachment. Is there any way to access the contents of the file/ download them? I have to calculate the check sum of these files.
...