sharepoint

Multiple page list on SharePoint

hi, I have a list on SharePoint with several hundred items in it. I also have some code which will return items from that list, this will work perfectly fine when it is returning values that are on the first page (items 1-100) but if the item i need to get is on another page in the list then it will return nothing. My question is h...

SharePoint 2007: List theory Question

I'm writing a solution around MOSS 2007. And storing fairly large quantities of data in a list. My first question is: Can lists handle large quantities of data - around 200 000 items. Now I've already read up about it, and it seems like the limitations of lists are on the number of items the views can display (2000). So question is: Is...

Hiding Distribution lists from Sharepoint Membership List

On the "My site" feature of Sharepoint there is a "memberships" Web part that shows the distribution list that the user is a member of. This is picking up several groups that we would rather not be shown e.g. some that have been set up for administrative purposes only. Is there any way to control which groups are shown; ideally this wo...

SharePoint Timer Job not working properly when run on schedule but fine when running manaully

I've got a SharePoint timer job that takes a document library and puts the documents, converts them to PDF and puts them into a SQL server every night. Problem is, the timer job doesn't seem to work when it's called on the schedule. If I install it and then using a little console app I wrote, call execute on the job it works properly. Wh...

Is Strong Name necessary in Sharepoint to use a WebPart?

I have created a webpart and want to deploy that in Sharepoint. I want to deploy the web part in bin. I have not created a strong name for dll (webpart code). Is strong name a must for deploying webpart in bin folder? I have referred this msdn link to do this. http://technet.microsoft.com/en-us/library/cc263271.aspx When I go to WebP...

Sharepoint 404 error after renaming subsite

I renamed a Sharepoint site directory site from "Sites" to "Team Sites" and then back again. Now whenever I try to access it, or any of its subsites, I get the error HTTP/1.1 404 Connection: close Date: Wed, 04 Nov 2009 13:08:59 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET MicrosoftSharePointTeamServices: 12.0.0.6219 I'd be quit...

SharePoint use of windows identity and connection pooling

When a user accesses a SharePoint site he is identified by his wndows identity. I was wondering which identity is used to access the database. Is it the identity of the user or does it use the windows identity of a service, or order to gain the benefits of connection pooling. Thanks Shiraz ...

Error while creating a new sharepoint site using sharepoint object model

I get the famous error "The security validation for this page is invalid. Click Back..." while creating SharePoint sites using the object model... This is my code in the web part to create share point sites. using (SPSite objSite = new SPSite(SPContext.Current.Site.ID)) { objSite.AllowUnsafeUpdates = true; using (SPWeb objWeb =...

Browsing a SharePoint publishing page returns a 404 error message

I've changed the master page on a publish site collection. When I browsed back to the start site to check the new master page the browser just returned a 404 error, telling me that the page could not be found. But when I open the site collection with the SharePoint Designer every thing seems to be ok and in its place. All pages are as ...

Sharepoint as a CMS

I do not know anything about Sharepoint, and my company is rolling it out in a few departments. I am familiar with the workings and usage of Oracle (Stellent) CMS (for storing docs with meta-data, searching for docs, etc), and I am asking if I may use Sharepoint in a similar way? Can I programmatically upload docs to Sharepoint, from a j...

Sharepoint - A feature creating a list with a workflow : Possible?

I've exported a list definition with Sharepoint Solution Generator. This list is associated with a workflow. If I search for the name of my workflow in the generated "schema.xml" file, I find XML that looks like this : <Field DisplayName="publicationWorkflow" Type="WorkflowStatus" Required="FALSE" ID="{2a2504e5-5ad0-4a9f-8bf4-15ca29e49e...

Submit via code through a specific data connection InfoPath

I've got an infopath form for which I am trying to convert the submit from rules to code, to add some functionality. All existing functionality needs to be kept. Currently it's in rules like: if X submit through connection A if Y submit through connection B etc. Connection A sends an email, connetion B sends a different email, conne...

SharePoint Usage Report monitoring through c#

I want to get the Usage Report of SharePoint subsite through C#. What i am doing is that i am passing a sharepoint url in a textbox.After clicking the submit button it will populate the names of all subsites in a dropdown list of that particular given URL. These things are working fine.Later when i select a particular subsite name from t...

How to modify how the custom field looks on sharepoint list (allitems view)?

Hi, I'm trying to write a custom field that is representing the time spend on the task. The field derives from NumberField (number is representing minutes) but I want to display it on the list as HH:MM for that purpose I've tried to override the fallowing function: protected override void RenderFieldForDisplay(System.Web.UI.Htm...

Difference between Windows Share Point Service and MOSS

What is difference between Windows Sharepoint Service and MOSS (Microsoft office Sharepoint). If I have the WSS 3.0 installed in my machine, I can create a sharepoint site, using Sharepoint Designer and Inforpath. Then why do I need MOSS 2007 (WSS 3.0 being free for download). ...

Accessing SharePoint Search Statistics via the API

Hi there, Does anyone know if/how you can retrieve the SharePoint search statistics via the API? We've been asked to build a Tag Cloud based on popular search terms so I want to get the top 10/15 most popular searches (together with their hit count) and build a control out programatically. Anyone seen this done or can point me in the r...

Example of creating workflows for sharepoint site

Hi To All, From where I can get different type of example of creating workflows using the sharepoint designer specifically creating the workflow for sharepoint site with different scenarios. Please reply.... Regards, Girish ...

How to use XSLT 1.0 or XPath to manipulate an HTML string

This is my problem: The code snippet below (inside the <xsl:choose>) does not reliably strip <p>, <div> or <br> tags out of a string using a combination of the substring-before() and substring() functions. The string I'm trying to format is an attribute of a SharePoint SPS 2003 list item - text inputted via a rich text editor. What I i...

Complex lookup metadata in document library

A client wants to have a lookup field for customer name found in a database as metadata on a Word document in a document library. They have a code which represents a group of customers and one of them should be used as customer name as metadata as well as the customer code inside the document. Since editing the metadata in Word leaves n...

Force InfoPath form to open in Browser

I created an InfoPath form that uses VB code to push fields into a custom list I created on a SharePoint 2007 site. This part works. I "published" the form into a form library. I changed the settings on that form library to open items in the browser and allow editing of content types. In InfoPath under Form Settings I chose the...