sharepoint

What would make development with SharePoint easier?

What would make development with SharePoint easier? ...

How to update SharePoint Content Type?

I need to update an existing SharePoint content type by adding a new field to the content type. I need to make sure this field gets added to all lists that use this content type. ...

Sharepoint Lists.GetListItems sorting

Hi, I am making a call to Lists.GetListItems web method of sharepoint through my c# code. Is it possible to get sorted list from the sharepoint? Or do I have to sort it after retrieval in my c# code? I was not able to find any option in query or queryOptions. Thanks. ...

Where does SharePoint save uploaded files on the system?

I have uploaded a doc file on SharePoint site. Now I want to know the path of the file on the server (System). ...

SharePoint exception documentation

I'm wondering where I can find some information about exceptions that are thrown by the SharePoint object model. Unfortunately regarding this, the documentation on MSDN is not very useful as the documentation of many methods is lacking information about what exceptions might be thrown and in which case they will be thrown. So where do ...

What am I doing wrong with the styling in this sharepoint masterpage?

Here is the code sample <div class="Layouts"> <asp:ContentPlaceHolder ID="Center" runat="server" /> <asp:ContentPlaceHolder ID="PlaceHolderMain" runat="server" /> <p>&nbsp;</p> </div> The CSS that styles the Layouts div is .Layouts { background-color: White; margin-top: 17px; pad...

Any solution to the Today Calculated Column problem is SharePoint?

I would like to be able to use today's date in a calculated column in a SharePoint list to, for example, determine whether a task is overdue. There is a well-documented trick that involves creating a dummy column named "Today," using it in a formula, and then deleting it, thereby "tricking" SharePoint into using the Today function. The...

What are the Valid values of the searchboxex AppQueryTerms enum?

I'm building a custom search page and attempting to use an existing custom search scope. I'm having success using the SearchBoxEx with the AppQueryTerms = "ContentType:'my custom content type name'" but when i try using AppQueryTerms = "Scope:'My Custom Search Scope'" I get no errors, but also no proper results. I know my scope is popu...

SharePoint 2007 -Content for this URL is excluded by the server because a no-index attribute

Did any of guys run into this error where the search crawler is ignoring an aspx page? I am getting the following warning message for these page: "Content for this URL is excluded by the server because a no-index attribute". Any help will be appreciated. Thanks. ...

SharePoint Survey, Ask same question n times based on answer to previous question.

Hi, We need to implement a survey which will allow the following: Question 1: How many cars do you own? Answer: Dropdown (Values range from 1 - 5) Based on the answer to this question, we need the same set of questions asked 5 times. for e.g., what is the colour and make of your car...and so on. Is there a way to achieve this with Sh...

Hiding a SharePoint Custom Field Type in Edit and Create mode

I am trying to create a Custom Field Type in SharePoint. This control has it's value set based on another field in the same list. Because of this requirement, this field should be displayed only in the Display Mode, and not in the Edit or Create mode. How do I ensure this? If I just code the ASCX control to not render a field, the fie...

Taking /Pages out of the SharePoint URL?

A customer is asking if there is anything we can do to remove "/Pages" from his Internet-facing MOSS publishing site. Some Googling reveals that some clever use of HTTPModules may be able to hide the presence of Pages, but I've yet to see an end-to-end working solution. Have any of you come up against this particular requirement, and i...

Using innerHTML.replace to replace text to create link

I'm using Sharepoint (WSS 3.0), which is unfortunately very limited in its ability to format survey questions (i.e., it strips any HTML you enter). I saw a solution elsewhere that suggested we add some JS to our master page file in order to allow line breaks. This works beautifully, but I'd like to see if we can allow links as well. In...

Create a SharePoint Survey from an Excel spreadsheet

I'm an admin, not a programmer. Someone over on serverfault thought i should try this question out here. Is there a way to import information into a survey from an external datasource? I have a user who has a spreadsheet full of measures (Over 300 of them) who would like to create a few surveys in SharePoint so that he could ask our us...

Is there really a 50 variation label limit in SharePoint?

We're working on a public-facing site that must be localized to support 70~100 languages. Some say that you don't really want to have more than 50 variation labels in SharePoint. I can't find any backing material anywhere on the web about this. 2 Questions: Has anyone had any experience with a deployment with a high-number of variat...

ASP to sharepoint development. What should I be aware of? [Career]

I am working as a asp and vb developer for the past 4 years (My first job) and I am tired of working with asp and wanted to move to a new technology (Micorosft technologies). The company I work for is great. Working environment is great and I have a very nice team. I learn and write about .net development in my blogs and participate in ...

Issus deleting a site collection

Hi, I'm currently doing some test where I try to delete a site collection programmatically. Thereby I realized some strange behavior by SharePoint. I used the following code to test the site collection deletion. private static void DeleteSiteCollection(string urlSiteToDelete) { SPSecurity.RunWithElevatedPrivileges(delegate() ...

Updating WebPart Properties using RunWithElevatedPrivileges in MOSS 2007

As part of a MOSS 2007 solution, I've got a web part that displays a 'term' of the day. The terms are stored in a horribly messy XML file so it all gets parsed nicely and then is supposed to update a property called LastUpdatedOn to the current time. My problem is that administrator level accounts can see this with no problems whatsoeve...

I Need to have a field where you can show an hour in Sharepoint 2007

I have a website in Sharepoint 2007. I need to create a page where I have a field where the user can enter an hour (22:00, for example). I will then make some CAML queries, asking to get the pages with the hour less or greater than a specific hour. I know Sharepoint have the Datetimefield, but this one only shows the date, you cannot se...

Which are the best forums about Sharepoint 2007?

Could you tell me some good forums about Sharepoint 2007? I find there are not a lot of specialized sites about this. ...