sharepoint2007

Unable to delete content type from a Sharepoint list programmatically

Hi all: I'm currently having trouble deleting a content type from a Sharepoint list programmatically. What I wanted to do is that I want to install a newer version of a custom content type (it has extra fields), so I opted to delete the original one and re-add the latest one. Below is the code: bool requireUpdate = false SPContentTyp...

Updating the Internal Name using the Content Database

Hi, We currently have a field which has the wrong ID. the IDs and Internal Names of Sharepoint Fields are readonly on the domain model. I was wondering if there is a way to update them even by using the content database. One sure way is to delete the field and recreate it. but it already has data and there are thousands of pages. I w...

Get Content Field Value in Sharepoint Publishing

Is there a way to get displayed article's content field values? For instance, I have custom columns inserted to my custom page layout, I can drag and drop them in SP Designer and update in browser. But I need to show different colored texts, different images according to a value in the article's custom columns. Or I would like to use th...

Image Map links not firing in a jQuery UI dialog (IE only)

I'm attempting to place an image map into a jQuery UI dialog. Initially, the and are hidden on the page so that I don't have to do any AJAX. When the dialog is triggered, the and are placed in the dialog and the hidden original content has its link to the image map removed. There are a few links on the image map in tags and in Fire...

Missing Infopath Content Type in SharePoint Form Library

I've had a strange issue come up. We have a Form Library in SharePoint with a number of InfoPath forms. When a user creates a new InfoPath form using the "New" drop down menu and saves it back to the form library. The content type of the form and the document are not associated. I can fix the document type, open the form back up, save...

Enable anonymous access to ADFS 2.0 SharePoint site

I have a SharePoint 2007 portal configured to authenticate againsts a STS (ADFS 2.0) using the FormsSignIn (Forms Authentication on the ADFS). Is there any way to have a few pages living in the SharePoint portal that allow anonymous access? I've tried checking the "Enable Anonymous Access" in the SharePoint Central Admin, and I've trie...

How can the width of a SharePoint:FormField be adjusted?

Within MOSS2007, I'm building a custom form (newform2.aspx) for a list, and having a real problem trying to adjust the width of my form fields. Here is some of the code I'm trying to adjust: <tr> <td colspan="3" style="padding-top:5px; padding-bottom:5px; width:100%; ">DescriptionText<br/> <SharePoint:FormField runat="server" id="...

sharepoint central adminstration login error " cannot complete this action please try again."

I install sharepoint 2007 stand alone on windows server 2008 and then i install WSS 3.0 Sp2. but after install wss 3.0 sp2 i can't able to login in sharepoint central adminstration website getting error : Cannot complete this action. Please try again. please help me waiting for reply.. ...

How do I share the TFS Sharepoint portal on the internet?

I have a 2010 TFS server on Windows 2003. I'd like to make the sharpoint portal available by a url that is other than the default machine name. It seems that any time I access the /tfs/web subdirectory with anything other than the default name then the TFS sharepoint objects don't load. They only load when I access the server by the N...

Why do I get 401 UNAUTHORIZED when I'm entering to WSS 3.0 site?

Hi, When I'm opening for the first time my webpage on WSS 3.0 I always get 401 UNAUTHORIZED. I was trying a lot of resolutions from Google results. I disabled loop back check. Added administrator rights for sharepoint account. I have to add that I'm using anonymous access to default site. Can anybody help me to resolve this issue? Pleas...

Site Usage Reports web User Interface not working

When we go to a subsite of a web application, we get the message: "No data is available for this report. Usage analysis might have been enabled recently, or there might have been insufficient usage to report in any values for the report" We have followed the instructions to configure the site usage reports on the farm and have checked t...

Unable to search pdf in one library for some foreign users

We run a SharePoint Portal server 2007 and we have some problems with searching for pdf's. In general everything goes fine with most users only some foreign users don't see pdf's in the result from 1 library on our server. Other libraries are shown in their search results (pdf and word) and word documents from that library which goes wro...

Create custom lookup field and modify rendering in list view

I want to create a custom field that behaves exactly like the Lookup field type, allowing multiple selection, except that I want to modify the rendering of the items in the lists. Each item in the list will have a button that displays the lookup options to enable / disable the desired boxes. We have created a custom field in Visual Stu...

Custom permission-based view in SharePoint

In either SharePoint 2007 or 2010, I am looking for a way to do a particular type of custom view. I don't think this is default in the product and would possibly need some scripting. (hopefully I am wrong). Let's say I have 3 columns in the list, 2 with data and 1 with the owner (tied to single signed on account). I want to limit the...

SharePoint 2007 property bag content deplyment

Does anyone know if the property bag settings for a sharepoint 2007 site is included in content deployment? my google foo has failed me today for a solidified answer. ...

site usage analysis report programmatically

I have 1000 sites in my site collection and I want to get usage analysis report from each one of them(sites not sitecollection). Ofcourse I will not go manually and get this information. So i was thinking of doing it programmatically Basically I need information about these two things 1) Requests and queries in the last day and the las...

Inject javascript to Infopath form

Hi everybody. We use Infopath 2007 + Sharepoint 2007 and need to inject some javascript to infopath form. I know that infopath form can be hosted on the aspx page using XmlFormControl. But this solution doesn't suit us =(. Is there any workaround? ...

Custom actions for a content type but not one of its childen.

I am creating an Item in my dropdown to go to an application page I created. The option in the dropdown is added to the context menu for items with spesified content types. However, i seam to have hit a small snag. <CustomAction Id="UserInterfaceCustomActions.DocumentMigrateToLocation" RegistrationType="ContentType" RegistrationId="0x01...

online users in sharepoint

hi. i want to obtain count of online users in sharepoint 2007 website. how i can do it? ...

SSRS chart image not displaying (showing Red x) in dashboard, But only matrix controls are displaying

Hi We are facing a strange problem. We have developed a dashboard using Sharepoint 2007, Custom report viewer and SSRS 2008. Due to unknown reason the custom report viewer was not able to show reports from reporting service through default authentication. I mean with the credential of the logged-in user in sharepoint site. So we hard ...