sharepoint

Overridding SharePoint's square.gif and setrect.gif

Within the custom branding of a SharePoint 2007 site collection, I need to change the bullet images. Instead of using <li> tags, SharePoint 2007 uses tables and images as follows: <tr> <td class="ms-vb" style="padding-bottom: 5px;"><img alt="" src="/_layouts/images/square.gif">&nbsp;</td> <td class="ms-vb" style="padding-bottom:...

Categorized SharePoint Discussion - default category to parents category on reply.

I have a Discussion Board in a SharePoint site which has an additional column named Category. When a new discussion is created, it prompts for Category, and of course this is by design. The problem is that when the discussion is replied to, it prompts for the category again. How can I separate the reply functionality so that the Ca...

Sharepoint Web Part OnPreRender PostBack Dynamic TextBoxes Not Accessible In Button Handler

I have a custom webpart which extends System.Web.UI.WebControls.WebPart and implements an EditorPart. I have all the static controls being added in the overridden CreateChildControls method as I know this makes them persistent across PostBacks. However, I have some TextBoxes being added in the overridden OnPreRender method because the ...

How to block the possibility to add the same record to a SPList?

Hi, Is there a possibility to block chance to add the same data to SPList? I know that two records always are different regarding the ID field. I would like to validate other custom fields added previously by me, and don't allow of adding same field's value. Can anybody tell me how to implement this? I can guess that event receivers cou...

How can I display a manual efficiently in Sharepoint

My organisiation uses Sharepoint for its 'intranet'. I have been given the task of creating a site for my department. One of the things I need on there is a procedure guide, which is basically a 150 page document, whereby each page is a separate procedure. Is there an efficient way within sharepoint that these procedures can be stored an...

can users access the SharePoint application page who have read permissions?

hi all, we created one page and placed under LAYOUTS folder.so can u tell me can all users access this page by giving their AD credentials. some users are not able to login to this page. pleage give me some suggestions. ...

Content type with workflow and lookup column

Hi All, I have a requirment where I want to upload a document based on category and subcategory. I have added this columns as an lookup column which pulls data from category and subcategory list. Now want the document should be passed from series of approval so I have attached SharePoint out of the box Approval workflow to this document...

How to automate cc to original discussion board subject creator on sharepoint?

Hi everyone, I have a sharepoint server 2007 with sharepoint service 3.0. I have both incoming and outgoing services on. Currently, for every e-mail that comes in, it'll create a subject within a discussion board and forward me a copy. When I post a reply to the discussion board it'll append to the discussion board subject but I really...

Sharepoint : What is the WebFullUrl property in a list item?

Does anyone know what the WebFullUrl property is in a sharepoint list? Can't find any documentation on the subject, thanks ...

Sharepoint list fields stored in content database?

Hi, I am trying to find out where data for Sharepoint List Fields are stored in the Content Database. For example from the AllLists table filtering on the listid i am interested in I can derive the following Field from the tp_ContentTypes column: <Field Type="CascadingDropDownListFieldWithFilter" DisplayName="Secondary Subject" Requ...

Show SQL query results in Sharepoint

Hi All I support Rational clearquest for my company and have been asked to show some of the data in Sharepoint. I can query the data in Clearquest no problem (Using Toad) but have no idea about how to go displaying it in Sharepoint. The data I'm querying contains dates and ideally I'd like to be able display it in a sharepoint calenda...

How to get currently adding item to SPList from SPItemEventProperties inside event handler?

Hi, I'm using ItemAdding Event for one of my SPLists. The question is how I can get the new not yet added item from SPItemEventProperties? I've tried to ListItem.Item but the debuger shows that the property is set to Nothing. Any correction suggest? Best Regards T.S. ...

Add the Date Filter SharePoint webpart to an ASP.Net page

How do I add the out-of-the-box SharePoint date filter webpart to an ASP.Net web page? I want to do it either in an ASPX... <%@ Register Assembly="<DateFilterDLL??>" Namespace="<??>" TagPrefix="DP" %> <...> <asp:WebPartManager ID="WebPartManager1" runat="server"> </asp:WebPartManager> <...> <ZoneTemplate> <DP:...

Create a SharePoint Web Part Site in Visual Studio?

I need to create a web part page to be used in a SharePoint collection site. Any ideas? ...

What tools do you use to share knowledge amongst developers in your company?

I'm looking for some good tools that help to share tips, best practices, company standards, etc. amongs developers in my company. Two tools I'm currently considering are a wiki (screwturn wiki) or Sharepoint 2010. I'm wondering if there is something better suited to the task, or any input anyone has on this subject. I'd prefer somethi...

Does all SPWeb or SPSite instances get automatically disposed when console app process has ended?

We have Best practices on using disposable object in SharePoint. But i`m thinking - can I skip these when using Console Application? That's some code I want to execute once and after that process has finished. Do or don't SPSite and SPWeb's remain opened somwhere? Why i`m asking this? I just don't want to stress when using something l...

SharePoint create and add users

I have installed SharePoint Farm on Windows Vista, all things went normally, my account is administrator. Now I wish to add other users in SharePoint, how to do this? I have to create a new account on Windows? or there are facilities for Windows SharePoint administrator to create users? I read something by Active Directory but on Windows...

Sharepoint: Display the current date

Is it possible to display the current date in the master.default page? I am running MOSS 3.0. ...

Programmatically tell whether a webpart that has been deployed is a native one that ships with MOSS, or one that was custom developed?

I have a SharePoint 2007 MOSS instance, and I'm on a fact-finding mission. There have been multiple developers, developing multiple webparts and deploying them (using VS2005/2008 SharePoint Extensions). I thought maybe I could look at the fields in the "Web Part Gallery" list in my site, and look by "Modified by", but it looks like a de...

Sharepoint Discussion Board moderator privelege?

In sharepoint, the access to discussion boards appears to be modified by two means. In the Advanced Settings, you can modify the Item-level Permissions to where users that have contribute or higher permission may either edit/delete everyone's posts, or only their own. And of course, you can adjust the privileges for Read-only, Contribu...