sharepoint

Sharepoint custom web part property does not show up in the toolbox

I have defined a boolean property as follows: [Browsable(true), Category("Display"), DefaultValue(false), WebPartStorage(Storage.Shared), FriendlyName("Obey Workflow"), Description("")] public bool ObeyWorkflow { get; set; } I'm expecting it to render as a checkbox in the webpart's properties toolbox, however it doesn't show up...

Customize accessdenied.aspx in Sharepoint

I have a web in Sharepoint 2007. I have sites with permission for certain roles. When a user with a role that has not got permission to enter the site, Sharepoint redirects him/her to accessdenied.aspx which has Sharepoint design. How can I change this redirection so that it goes to a customized one? I don't know if the server will be sh...

How to provision a custom page without using the _layouts directory

I need to provision a custom aspx page which does some work and then redirects to another page. Using a _layouts page , AKA an application page won't work since I only want this page accessible to one site collection. I looked at using pattern #4 from this blog post. It feels pretty hacky, It asks you to drop the dll drop it into th...

Implement votes for a page in a Sharepoint 2007 web?

I develop a website in Sharepoint 2007. I have pages that have a richhtmlfield with content. I need to add the possibility to add comments by any user and the option to rate the page with a dropdownlist with values from 1-5, then sum all the votes and show a global rate for the page. i don't know how to do this in Sharepoint or what are ...

How to talk to Sharepoint: If I only got Full Name

Hi all, It seems like every effort talking to Sharepoint through its web services needs a domain\user name. For example: UserProfileService.GetUserProfileByName(string accountName) The accountName should be domain\user name. If I only got full name (FirstName LastName), is it possible to communicate with SharePoint? Is there any way...

specific format for a title in a Sharepoint Website?

I need to show in every webpage, the following structure of title: "title of the WebSite/Project" +","+ "title of the 1º site" +","+ "title of the 2º site" +","+ "title of the page" For example, i have a webpage with the title "Last news webpage" and I am in a site with the following path: /news/international/new1.aspx. The site "news"...

add column that browses on a sharepoint content type

Im creating a new content type in sharepoint. I am trying to add a new column/field that will let the user browse for an "asset" eg picture or video that exists in the sharepoint site. how do i add a column that gives the user the ability to browse. thanks ...

OWA Web Part Jumps/Shifts when getting focus on My Site

In SharePoint (MOSS 2007), with an OWA web part on the page, either inbox or calendar parts, when a page loads it "jumps" down to have that part as the focus. No matter where it is on the page. Has anyone encountered this before or know how to solve this issue? This happens on out of the box sharepoint sites, with the OWA components. No...

how to deploy web.config modifications in a Sharepoint web application?

I have a website in Sharepoint 2007. We use a wsp to deploy our projects. We can deploy dlls, usercontrols, features, but i don't know how to include new lines in the web.config. Which would be a possible way to make changes in web.config? Another thing, how can I include resources (resx) in the wsp? ...

SharePoint: Do not see any Filter Web Parts

Hi, In the official Office 2007 site there are numerous reference to Filter Web Parts. When I try to add one of them, the Web Part list in my Sharepoint doesn't show any Filter Web Parts. Please post if anyone experienced the same and any resolution. Thanks ...

how to create legal documents workflow app with MOSS

hi, I have a requirement by a client to create a MOSS site which can be used to archive and track legal cases. the requirement is that each case has 4 logical steps which are assigned to particular people...each step requires a legal document.. Once a document for the first step is uploaded, a task should be created, requesting for step...

How to deploy Sharepoint publishing site with multiple sites

I am developing publishing site and it will have complex tree structure. Is there any way to deploy site structure (multiple sub sites - SPWeb) using SharePoint solution? I know I can create site tree programmatically. ...

Sharepoint form layout in VB

OKay, I'm from a PHP background, but I've just been tasked with developing some custom Web Parts in SharePoint. I've figured out how to create and deploy a basic "Hello world" web part in VB. Okay so far. What I'm stuck on is a really basic, stupid point - how the hell do I lay out things in a VB web part? For an example, here's a labe...

Add elements to an an announcements list for a specific user

I have a customer request to create a number of announcements based on some data from another database. Most of it seems easy enough but the new elements should be created by the user (login) specified in the input data. I was planning to add the announcements using the list web services but I sure would like to avoid using impersonatio...

Unable to get all fields of a list using GetListItems in sharepoint web services

I want to retrieve al the fields from each element in list. The only way I have found is to create a view that contains every field. But I don't want to create a new view. I have tried , but it does not seem to be honored. If it worked I could get all the fields with GetList and populate ViewFields based on that. Is there a view to over...

return an SPListItemCollection with one random item

I have an SPListItemCollection. I basically want to get one of the items (randomly) in the collection and return it. My method has a return type that expects an SPListItemCollection, so I dont mind having an SPListItemCollection that has just the one item in it and returning that. Im not sure how to return an SPListItemCollection with...

Where can I change the HTML template for Sharepoint notification emails?

Hi everybody, I´d like to change the appearance of Sharepoint (Portal Server 2003) email notifications that gets send when a new blog entry is made. Reason behind it: our company uses them like a newssystem and it would be nice if we could have some brand information (logo etc) and customized design in there. I´m in the process of lea...

Getting all the webpages of a SPWeb and subwebs that have a field with a value in Sharepoint?

I have a website in Sharepoint 2007. I want to make a query where the field "home" of the webpages is equal to 1 in one specific SPWeb and (this is the important part) its sub-SPwebs. I can make this work with the site in question and not with the subsites. That is to say: It is not recursive but I indicate it in the "webs scope='recursi...

Extending the Content Query WebPart

I'm wanting to have some data displayed on a SharePoint page which is essentially a Content Query WebPart, but with a few small changes: Filter on a dynamic date Paged Results Is it possible to do the modifications by extending the existing one or is there a component out there which will do that? ...

How to Change Page Layout in SharePoint WSS Site

Hi In SharePoint WSS (not MOSS) how can I change the page layout for an existing page? All the best ...