sharepoint

Sharepoint: hide left (quicklaunch) navigation menu

Hi, how can I hide (server-side) the left navigation menu? Thanks ...

Incorrect site usage report (Sharepoint)

Hi... After restarting "Windows Sharepoint Services Timer" service the "Site usage report" shows only one day of activity (matches the day we restarted the service) while every other day has zeros. I took a look in the "\LOGS\" dir and is plenty of logs with the visit's information for the whole year! Why the usage report ignores it? I t...

SharePoint Document Workspace Permissions

Does anyone know the minimum permissions as user must have to create a document workspace? The problem I have is that I want to users to be able to create document workspaces but to do this I have had to grant the user Create Subsites permission, this however means they can now create other subsites. Is there a workaround for this? ...

SharePoint CAML OrderBy Modified does not work

I have made a query against a list. I want to get the last modified item which meets a certain condition, and my query looks like this: <Query><OrderBy><FieldRef Name='Modified' Ascending='FALSE' /></OrderBy><Where><Eq><FieldRef Name='kortnummer'/><Value Type='String'>kv11</Value></Eq></Where></Query> I get the listitems i need, just...

Create a dropdown list in Sharepoint containing List Documents with links to them

I am looking to create a dropdown list on my default.aspx page which i want it to contain List documents/pages and when the document/page is selected the page should redirect to the selected document/page. Any suggestions of how this can be done please? any examples/samples would be grealy appreciated? Thank you :) ...

Can i deploy MOSS based webparts on ASP.NET web form and how

Hi, i need to know, if we can deploy webparts that are created in MOSS for MOSS on a ASP.NET page and use them. Or is there any way of using the webparts with MOSS. TIA, Nimish ...

Using C# console app to call lists.asmx getting 'http request is unauthorized with clien tauthentication scheme 'ntlm'. The authentication header received from the server was 'Negotiate, NTLM'.

Environment: Kerberos turned on in QA & Production, not in Dev (stupid I know, but I don't admin any of the boxes) Hitting a sharepoint webservice to GET data from a sharepoint list (lists.asmx). Server uses ssl. I get an error message in my qa environment as follows (can't paste the stacktrace as it's in a picture only): System...

SPList Item get value - ArgumentException

Hi All, I have got a SPListItem and i have an array of column names. When i try to access the SPListItem values using the code below: for(int i=0;i<arrColName.length;i++) { string tempValue = item[arrColName[i]].ToString(); // Works fine in case the the specific column in the list item is not null // Argument exception - V...

Enterprise Search web service in SharePoint

Hello, I have a question to Enterprise Search in SharePoint. I use this functionality over web service (.../_vti_bin/search.asmx). There are some standart set of attributes (Name, Title...) returned as search result. For more attributes I created new "Metadata Property Mappings" and started full crawl, to be sure attributes in index wil...

How to raise a 401 (Unauthorized access) exception in Sharepoint?

As the title said, I need to raise (from the C# code behind a custom SharePoint page) a 401 error page. Any help? ...

Why the OnWorkflowItemChanged is different between List and document library?

I am doing a workflow for a document library. I put a OnWorkflowItemChanged, and I want to get the value of the column which is changed. I use the workflowProperties.Item["name"] and use the afterProperties. But when I use the workflowProperties.Item["column name"], I still got the original value. When I use the afterProperties, it's NUL...

How can I create a new user for a sharepoint site

I am trying to create users that I can add to groups on my site, but I just can't figure out how to create a new user, all I can find is how to add an already existing user. Please help me. ...

Internal name encoding in SharePoint

It's pretty well publicised knowledge that _x0020_ replaces spaces in SharePoint internal field names. When working with SharePoint web services this can be a bit of a nightmare until you write a replace rule when comparing field names. I've just found myself another one of these "encoding exceptions" in a field called SSL2. Bizarrely ...

Creating a Firefox extension to edit "network.automatic-ntlm-auth.trusted-uris"

On the sharepoint site we're developing at work, people are able to log into the site using IE 7, but when prompted for the username and password on firefox 3, it doesn't matter how many times you try to log on, the username/pass window keeps popping up. If you click cancel it denies you access into the site. We've tried to fix the issue...

What are the advantages of MySites in Sharepoint 2007?

I'm attempting to justify this functionality to my boss. So as the title says, what are the advantages of mySites in SharePoint 2007? ...

How to obtain the HttpContext in Event Handler

Hello, I’m trying to obtain the HTTPContext within an Event Handler in a Document Library in MOSS, but all I have is a null value of the HTTPContext.Current, I do the same thing on a List and the HTTPContext is returned. There is a way to obtain the HTTPContext in Document Libraries to access the HTTPContext.Request method? Thanks for...

Custom web service context issue

hi All, I have created a custom web service and deployed it to _layouts folder. it seems like SPContext.Current.Web.Url always return the root web url no matter when the web service is calling from. does sharepoint rewrite the reuqest url for web service somehow? thx Kevin ...

Determining size of SharePoint sites / site collections

I'm about to start googling but figured I'd start here. We already found a VB script that enumerates SharePoint site collections / sites. It calls stsadm to achieve this and it recursively evaluates each site to get the sub-sites. I would like to know if we can modify that script to get the size (in bytes) of each site collection / si...

Sharepoint Forms authentication

Hi, I have created an authetication provider and went to central administration >> Authentication Providers and changed the authentication settings to Forms and filled in Membership provider and Role manager details. Now, when i go to create a site collection under the above mentioned web application, the people picker in the create s...

Will Visual Studio 2010 support Sharepoint 2007 development?

I noticed in VS2010 beta 2 that all the templates are for Sharepoint 2010 ONLY. Is this true ? If so, will the VSeWSS 1.3 work with VS2010 atleast? ...