sharepoint

Open word document from codebehind - e.g Response.Write with some javascript

Hi! In a custom application page I modify a file (word doc), then i call SPFile.CheckOut(); Then I would like to open that file directly in edit modus in word . (As it would have been if the user clicked the file and selected "Edit in Microsoft Office Word" ) Any ideas on how to do that? EDIT: Yes, I know I can't to this on the serv...

SharePoint - moving from Enterprise to Standard

We've been happily running on MOSS 2007 Enterprise for quite a while. However, we're faced with the need to move our 2007 instance to a different farm running standard. What should I be looking for in our existing implementation that would prevent us from accomplishing this feat? I realize there are charts offering comparisons between...

Is there some way in SharePoint to change document library views on a per-user basis?

We are using WSS 3.0 and I was asked to see if users can set default views on a per-user basis. Is anyone aware of any method (programatic or through the GUI itself) to give users the ability to change default views on a per-user basis? The 30 minutes of googling and poking around in the administrative menus turned out to be unfruitful...

Get username from SharePoint User field in List

I have a custom sharepoint workflow that I'm developing in Visual Studio. The workflow is running against a document library which has a custom content type connected to it. The content type includes a user lookup field ("owner"). I'm trying to have my workflow assign a task to the "owner" lookup field. However, I've only been able to g...

how do sharepoint pages load?

I need to understand the load sequence for a sharepoint page that uses a query string to filter content. If I pass in a query string, I assume that SharePoint first passes that query string to any web parts that need it, waits for the web parts to load their content then loads the final page? OR does SharePoint first load the page then...

accessing sharepoint help desk list items via web services

I have a sharepoint site based on the help desk (call center) template, and although I can access other lists with the Lists.GetListItems() method described on MSDN, I cannot get at the Service Requests list items. Can someone explain to me how the Service Requests lists differs from normal lists, and what I need to do to get at it? I ...

Locking / Unlocking a Site in Sharepoint

Hi, I am working on a program that retrieves information from Sharepoint. Now I need to check the behavior of it with some locks. My question is "How can I lock a single site within a site collection in sharepoint?" (Not programatically) I got 2 clues, Use of stsadmin command line utility Use of Central Administration > Application ...

recommended book for SharePoint 2007 work flow development (a.k.a) customization using Visual Studio 2008 ?

Hi is there any full book or part of books which talks about the improved and simplified ways of creating / developing/customizing SharePoint 2007 Workflow using Visual Studio 2008 (preferably Team edition) ...

Link data in custom SQL db with document library

Environment: I have a windows network shared desktop application written in C# that leans against an MSSQL database. Windows sharepoint services 3.0 is installed (default installation, single processor, default sql express content database and so on) on the same Windows Server 2003 machine. Scenario: The application generates MS Word do...

Sharepoint performance under heavy load and capacity limitations

I'm working on a new storage system for a business solution package that consists of around 40 applications. Some of those applications generate documents (mostly docx, some pdf) that are currently saved and organized in a network share folder. Applications generate about 150.000-200.000 documents a year in average, and those documents ...

Retrieving SharePoint Services Site Column Data

Hello SO Experts, I am new to SharePoint Services and I hit a wall with one of my tasks. I need to retrieve data from a Site Column. How do I get about that? So far I only see APIs that can retrieve lists and not site columns. Please let me know if any of you know to do this. Thanks !! ...

SharePoint - Approving an item using Content Approval overwrites the item's last modified by with the Approver's name

This has been bugging me for a couple days now. A list has content approval and versioning on edits enabled. Here is what's happening: 1) Bob adds item - The item's Modified By is "Bob," approval status is pending and version is 1.0 2) Jake approves item - A new version is not created. Instead, the Modified By is set to "Jake" for versi...

Recursive SharePoint Event Handers

I've got an Event Receiver for when a list item is Updated (ItemUpdated and not ItemUpdating). Inside the receiver I then update the list item again. This naturally sets off some recursive event calls as I would expect. Putting a break point at the start of the event handler, I count it stoppping in the event 10 times and then it just fi...

SPDisposeCheck reports an error on SiteProvisioning.RestoreDataViewOutZone method

Hi, I ran the SPDisposeCheck tool on my SharePoint assemblies but it reported three errors on a SiteDefinitionAssembly which also has the site provisioning handler. As far as I understand it this code is generated by the project template itself and we are not supposed to change it. The error I get is ID: SPDisposeCheckID_160 Module: Sy...

Are custom Sharepoint Security Groups saved with a Sharepoint site temaplate

When a save a Sharepoint site that contains custom security groups as an stp file, does that stp file retain the groups? ...

Sharepoint Hyperlink / Picture column type

I am using the Hyperlink / Picture column type within a Document Library. When entering the hyperlink, I am using a shortened path. However, after exporting this site to an stp, I realized that it was being stored as the full path (it was failing when the stp was used in another Site Collection). As an example, I entered the following...

Developing Sharepoint on a Mac

I have a MacBook Pro, fairly new, intel based, 4G RAM. I may need to work on a Sharpoint project, so I'm assuming I'll need Visual Studio and Sharpoint Designer. Is using VMware an option, if so, what Microsoft OS should i use, and what general VMware settings should I use (RAM and disk size). ...

Importing into the SPS-Birthday field in Sharepoint from Custom Field in Active Directory, why does it always store a null value?

For reference this is the User Profile Properties section of Sharepoint where you can start an import. Ours is configured to interface with Active Directory. We have mapped the SPS-Birthday field to a custom field in Active Directory since Active Directory doesn't natively store birthdays. Everytime we try to import a birthday from ...

Restrict the delete option from shared documents in sharepoint Server

I need to restrict the delete option from shared documents in sharepoint server according to the following criteria. 1) Users to be able to write files in a folder (which they cannot delete) and they cannot delete files from another users and only their own 2) I want to prevent delete option of folder and the list items of others 3) ...

Audit Logging in SharePoint MOSS

Hi We want to be able to view an audit of changes to groups/members/user profiles within MOSS. Can we do this out of the box or would we need a 3rd party tool? Is everything within MOSS audited somewhere or just certain aspects of it? All the best ...