sharepoint

Connecting to sharepoint server using Ruby or RubyOnRails

I have a SharePoint server. I am building an rails application which can interact with sharepoint server although this is not the primary goal of the application. I am planning to provide this as an advantage. My target areas would be 1. Fetching available document repository from SharePoint 2. Add documents to sharepoint using Rails fr...

Sharepoint Services 3 Survey

Using Sharepoint Services 3 Surveys is there any way to remove a 'Choice' option from the answer list once it has been picked by a user? I'd like to ensure that an option can only be chosen once. ...

Add a dynamic table row in Page Layout in Sharepoint Designer

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...

Single responsibility principle and Sharepoint WebParts

I am developing a big number of webparts for a Sharepoint project. Many of them have the same parameters, and / or the same WebPart connections. I tried to apply the SRP to this case, but I was unable, because the class has to expose some methods. How can one overcome this in this case, and make a better design for the webparts code...

Will using a SPListItemCollection returned from a function reopen the SPWeb?

After reading Stefan Gossner's post about disposing objects and this question about Cross method dispose patterns, I found that I was guilty of accidentally reopening some SPWebs. I know in Stefan Gossner's post he mentions you should dispose of an SPWeb after you are finished with any child object. However, the microsoft documentation m...

Approval Status field doesn't appear in custom DataFormWebPart

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...

Modify Application.Master in Sharepoint 2007

...

Load a web part before other

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...

ctrl-v image into richtextbox in sharepoint

Hi all: I'm trying to ctrl-v an image into a RichTextBox in SharePoint using C#. So far, I've had no luck in successfully doing so. The image appears as a white space or as a broken image. I know there is the option of using the clipboard or converting formats, but I'm not too sure how to do that (I've heard I need to convert clipboa...

Unauthorized on access to WSS spsearch.asmx

Hi, I am running an ASP.NET web application that connects to the WSS 3.0 search web service (spsearch.asmx). The WSS site itself is configured for anonymous access: site search works with chrome, firefox and so on without the need of an authorization. I also set anonymous rights for the spsearch.asmx, but I get an Unauthorized when try...

How to get current language or variation in Sharepoint (MOSS) 2007?

I would like to be able to query the current variation from within a web part or a control template so as to determine which language to use. If there is no variation then I will pick up the language from the request. Is this possible? Thanks Paul ...

Updating List from Outlook VBA via MS Access Offline dBase - VIsta/Office 2007

I have some VBA code, which is attached to a click event of a form, running in MS Outlook 2007. The code is dsigned to update a record in an MS Acces 2007 table, which in turn is linked offline to a SharePoint List. It works fine for the all the list columns except for two of them. These are: a. A List column of Date / Time type ("S...

how to filter list items by user/group column in sharepoint?

i have a list that have a user/group column that i want to filter by (the column name is: USERS). how do i get only the items in the list where the current user exists in the USERS column? ...

Can I access MS Search/SharePoint Search results programmatically in ASP.NET?

We would like to be able to search uploaded pdf's for keywords from out public website. I have sucessfully configured a VS for a proof-of-concept that is crawling and indexing our (scanned and OCR'd) pdf's! This was a pain, but it's working in a full 64-bit implementation, both with uploaded files (to SQL Server) and from a file share ...

Passing a string from web part to user control

public class ToolPartGetLists : Microsoft.SharePoint.WebPartPages.WebPart, ICommunicationInterface { private bool _error = false; //......... protected override void CreateChildControls() { if (!_error) { try { ViewState["prodList"] = SelectedList; //base.CreateChildControls(); ...

Active Directory Filter memberof

I am trying to get all of the CN's out of active directory in order to populate groups based on that name into Sharepoint Services. I can list the "memberof" section but I can not seem to split it using split(",") $Dom = 'LDAP://OU=External,OU=Users,OU=HomeOffice,DC=mydoman,DC=com' $Root = New-Object DirectoryServices.DirectoryEntry $D...

Forms Authentication and SharePoint ProfilePropertyLoader

I am trying to use the ProfilePropertyLoader to display a welcome message in this format: <SPSWC:ProfilePropertyLoader runat="server"/> Welcome, <SPSWC:ProfilePropertyValue PropertyName="FirstName" ApplyFormatting="false" runat="server"/> <SPSWC:ProfilePropertyValue PropertyName="LastName" ApplyFormatting="false" runat="server"/>! wh...

Web Parts and Offering Files For Download?

Hi, Can anyone suggest the best way to offer a file for download within a SharePoint web part? The file will be dynamically created on request, but I still need to end up with the standard page being displayed as well as the file being downloaded. Cheers Moo ...

Unable to Deploy PerformancePoint Dashboard Page to SharePoint 2007

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?

Can I add Java portlet in sharepoint 2007? If yes, can some please explain the details on how can I do so? ...