sharepoint

Sharepoint Site Template - Activate dependent features on provisioning

I wish to define a Sharepoint site template that will also include a web part dependent feature. How can I install and activate the web part feature when I provision a site using my custom template? ...

Importing Outlook contacts into a SharePoint application page

Background I've written a feature to make it easier for users to e-mail a document, like this SO question. I've implemented the solution according to this answer. The feature's custom action adds a Send As Attachment option to the ECB menu of a document library: When a user chooses Send As Attachment, they are redirected to this Sen...

Change view of SharePoint Calendar for multi-day events

I have SharePoint calendar control with multi day events: http://1.bp.blogspot.com/_8yYCvwdJans/RuECTJE5OmI/AAAAAAAAACc/iEqKLxyaZ9I/s1600-h/5.PNG Here, the calendar shows "A multi day event". Actually it's an event that starts on the 4th and ends on the 7th. Requirement: I need to hide the "A multi day event" bar and have it show on...

Sharepoint Site Template - Custom .aspx pages

I am creating a site template in Sharepoint. I also have some custom .aspx page, that I want to deploy in Layouts\myDirectory. Using my site template I will create a Web (SPWeb) that should use the custom pages and reference them by an url of the form http://site/MyWeb/MyCustomPage.aspx. How do I integrate the pages in my custom template...

How do I show the Auto ID from the SharePoint list on the Detail page?

I've got a list of issues and I'm using the auto id to identify the issue. I would like the number to show up on the detail page for each item, as well as possibly adding it as a read only field on the edit page of the item. ...

MOSS: Approval Workflow: how to make the document readonly after it has been approved.

I am new to MOSS development and while I'm learning it I have a problem waiting to be solved. We are using the standard approval workflow in one of our test sites just to get the feel of the approval workflow. We have the standard approval workflow in place and working but what has become more desirable is to have the document set to re...

redirect to a custom page for a list in sharepoint

I have provisioned a custom list in sharepoint. how can i redirect to a different custom page when a user selects list > new item or edit item ...

Hide New / Actions / Upload / Settings menus in SharePoint Lists / document libraries

How can I hide the New / Actions / Upload / Settings menus within a list or document library in SharePoint? Note that I need to be able to hide these menus for a particular list definition (template) and not just all lists or document libraries. One possible way that I know of is to register a , and set the ControlClass element to a con...

Sharepoint. SPFile.OpenBinary() returns document with content type metadata

I have a method which downloads sharepoint documents to the local disk. I use SPFile.OpenBinary() method to get physical file, but it contains all fields of a parent DocumentLibrary. Does anybody know how to clear file (doc file) from these fields? I found only way to do it using Word interop library (method described here http://maxim-d...

SharePoint: Only render a PublishingWebControl field when content is present

I have a publishing site page layout which allows untrained staff to enter news stories into a publishing site on our intranet. The Layout contains several fields which are only required occasionally and when they lack content they leave a big hole in the page design. Is there anyway to render these fields only when they contain conten...

How to load external data in the replicator activity in a sharepoint sequential workflow?

Hi all, I'm trying to make a really simple sequential workflow on sharepoint. The target of this worflow is doing a repetitive task creation over an item added. My problem is that the number of task tobe generated are stored in a sharepoint list so, before the replicator activity runs I have to check this list and get the number of task...

hosting multiple production sharepoint sites on same server

Hi, I am currently hosting a low-volume WSS 3.0 application on a virtual server for a client, and soon will be creating a few more sites for different customers. Each customer will only average around 50 users total, no more than a few at a time. Are there any issues with hosting all of these on the same virtual box? Each would be a...

Custom SharePoint Navigation 2 Levels Deep

Hi, I have a simple site consisting of a root site with 2 child sites. Now I want the navigation for all 3 sites to be exactly the same and read: Root Site | Child Site 1 | Child Site 2 With the currently selected site highlighted. I have been able to nearly do this manually using an asp:repeater control and portalsitemapprovider. T...

Link two sharepoint columns together

I have two lists in SharePoint. One is a Server/Device list, the other is an IP Address list. I would like to pre-populate the IP Address list, and then, on the server/device list select the IP address(s) assigned to that server. After that, I'd like the "Device" column on the IP Address list to reflect which device is using it. Is it ...

Update base template and apply to all sites who reference it - MOSS 2007

Hello! More SharePoint questions from me again today! I thank everyone that has helped thus far! Here is my situation: I have to create a custom application inside of sharepoint. I am using a document library which hosts web part pages and i am using Web User Controls to do all the manipluating and displaying of data. Once I build the...

SharePoint List like Data Access Interface

Hello, I am impressed by the way we programmatically access lists in SharePoint. I percieve it as a Data Access Layer, while modeling the database is as simple as defining the columns in the List. I am looking for a tool OR an application that would give me similar interface to a database. Basically, for some reason I cannot use ShareP...

Sharepoint workflow approval through Outlook email

Is it possible and if so how; to have an outlook email where I can approve/reject a sharepoint workflow from within the email instead of navigating to sharepoint? Or is it possible to use an infopath form inside outlook to make approvals/rejections instead of going to the sharepoint site? Thanks You. ...

SharePoint DataView Show Items from last week.

I have a SharePoint DataView WebPart that is set up to combine data from a few different lists. I want to filter the data to only show data from last week. I am able to filter it to show data from this week, but have been unsuccessful in getting last week's data to show up. I have the web part filter set up like below: This transla...

SharePoint calendar control with multidayevent

Calendar : SharePoint calendar control with multi day events: - http://1.bp.blogspot.com/_8yYCvwdJans/RuECTJE5OmI/AAAAAAAAACc/iEqKLxyaZ9I/s1600-h/5.PNG Here, the calendar shows "A multi day event". Actually it's an event that starts on the 4th and ends on the 7th. Requirement: I need to hide the "A multi day event" bar and have it sho...

Using Smart part for FBA site

Hi, I have a use control which contains some ajax functionality. I made all necessary changes to make my site ajax compatible (i.e added respective tags in web.config) which works fine. I am using smart part to load this user control. But when i click on open the tool pane for the smart part it is giving me following. Could not open u...