sharepoint

Sharepoint Document Unique Identifier while crawling using SiteData Webservice

Does anybody know how I can map the "UniqueID" property to a managed property so I can display it in the advanced search results? This property is not visible when I try to create a new managed property using Metadata Property Mappings link in shared services administration. Using the SiteData or Lists web service I can see the "ows_Uni...

Combining data from Project Server and SharePoint into a single report

I need to combine data from the Project Server reporting database with data from custom lists in SharePoint workspaces. The results need to be displayed within a single report. How should this be done? Options I've thought of: Extend the reporting database with the custom list data (if this is possible). Use Reporting Services to displ...

VSeWSS 1.3 created web part solution not adding SafeControl entries

We have several VSeWSS 1.3 projects that add web parts to SharePoint. We have a problem with one of the projects in that it does not add SafeControl entriees for the web parts when deploying. It also deploys the solution Global. I have looked add the solution file but can't find anything there that is different from the other projects. T...

Manual Webpart dependency deployment

I have a SharePoint Webpart that loads an .ascx control dynamically, and that is working fine. However, I need to change the codebehind of the dynamically loaded control to pull data from a web service. I have created an assembly from the WSDL to the webservice and successfully included it in my webpart project and can build fine. How...

SharePoint Workflow Codebeside Assembly and Class

How can I find the codebeside assembly and class for a SharePoint workflow? For a workflow association (SPWorkflowAssociation) I want to find the name of the assembly and the name of the codebeside class for the workflow. After that I want to load the assembly and extract some information about the activities in the workflow. Please note...

InfoPath - MOSS User Information List as Data Connection - Exclude groups

I have an InfoPath form where I want to place a drop down list to select a user from a MOSS server. I added a Data Connection in InfoPath to the User Information List list in my MOSS server. It works well, but the values I get are: DOMAIN\administrator SharePoint Owners SharePoint Visitors SharePoint Members NT AUTHORITY\local service...

Accessing SharePoint Event Attachment

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

How to get last modified time of a document in sharepoint?

How to convert LastModifiedTime value of MssCrawlUrl table ? I tried below query, Select CAST(LastModifiedTime as datetime) From MssCrawlUrl Where DisplayURL like '<DisplayURL>' But it is giving an error 'Arithmetic overflow error converting expression to data type datetime.' ...

How to programmatically determine the 3 permission groups Visitors/Members/Owners for a web in SharePoint?

In SharePoint, we have the 3 predetermined permission groups: Visitors Members Owners As setup in the /_layouts/permsetup.aspx page. (Site settings->People and Groups->Settings->Setup groups) How can a get these group names programmatically? (The page logic is obfuscated by Microsoft, so no can do in Reflector) ...

SharePoint Forms Authentication Provider Name Prefix on Username

I have setup a SharePoint site with forms authentication and My Sites. The users username displays correctly on the main site collection, however whent he user creates a My Site the user is always referred to as : for example it might be: sqlMembershipProvider:testuser This can be seen in this image: http://img141.imageshack.us/img141...

How to get a textbox to accept and display text in SharePoint?

I need to use SharePoint Server 2007 to create a page that displays some information but also allows users to add or modify the text. I used SharePoint Designer to create a table full of the information, and added a text box to one of the cells in this table. I want that text box to display a name of a car (for example) but so it can al...

Visual Studio 2008 SharePoint WebPart Deploy Problem - "The HTTP request is unauthorized...'Negotiate,NTLM'"

Hello, I am trying develop a SharePoint WebPart with "Visual Studio 2008 Extensions, Version 1.3". When I try deploy or quick deploy or package or anything about deployment for my WebPart I am getting this message: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from...

Pass Querystring parameter from SharePoint to Java Applet webpart

Hiya, I have a SharePoint webpart page, with a parameter in the page Querystring (in the URL), and I also have a Page Viewer webpart (which effectively IFRAME's the specified webpage), which shows a Java applet. Is there any way I can get the parameter in the SharePoint Querystring to be recieved by the Java Applet ? The reason for do...

Modify a file in SharePoint document library

Hi, I need to modify a file (text file) in a SharePoint document library. Tried to open a stream using SPFile.OpenBinaryStream() and write the data. But it doesn't work out. Any help/ suggestion would be appreciated. ...

Can I use Content Deployment feature in WSS 3.0

Hi, I'm really newbie with SharePoint stuff. So I've been asked to move the content of a SharePoint WSS 3.0 (no MOSS installed, only the free version) test site to a development MOSS 2007 site. I've looked around for Content deployment jobs and stuff and tested it out with the MOSS dev site to our MOSS prod site. It worked great. But wh...

Truncating text string in sharepoint

I'm using this script to truncate a text string in sharepoint 2007, but it doesn't work and I can't see why?! Any ideas offered greatly appreciated. From Header.xsl <xsl:template name="fixedstring"> <xsl:param name="targetVar"> <xsl:param name="allowablelength"> <xsl:value-of select="substring($targetVar, 1, $allowablelength)"> <xsl:if...

Adding .js files to MOSS

When I try to deploy .js files as part of a feature, not in the _layouts directory I get the following error: Cannot make a cache safe URL for 'myfile.js' Any suggestions appreciated. ...

View Page (DispForm.aspx) not associated properly for Sharepoint list

I have a list with customized versions of NewForm.aspx, EditForm.aspx and DispForm.aspx. The list has been up for more than a year and contains about 1700 rows. Earlier I made a minor change to DispForm.aspx and it seems like the list lost it's association with DispForm.aspx as the default view page. Links from all views now point to "s...

Install Sharepoint on a server with other databases already on it?

We have a DB server with a couple web app db's on there (don't get a ton of traffic). We'd like to make use of the server and allow it to be the DB server for sharepoint. I'm assuming it's not good practice and that sharepoint should have it's own exclusive db server. Am I right in that conclusion, or is it alright if we put the datab...

Sharepoint website and a custom membership provider with a custom login page.

I've found this article on MSDN. It describes how you can write your custom login page and a membersip provider for a SharePoint website to manage access to the website the way you want. I'm wondering: would it be possible to only add this custom login page, without specifying a membership provider? If I authenticate the user on the logi...