sharepoint2007

Programmatically setting field value for sharepoint listitem

Hi guys. I'm trying to simply add a simple text or hyperlink field to a list item in sharepoint 2007. I can add the field no problem: list.Fields.Add("MyField",SPFieldType.Text, false); And it shows up fine on my list items. However no matter which way I try, I can't programmatically set a value for the field. I tried: list.items[0...

Open file from SSL-enabled SharePoint site

I have a SharePoint web app that has SSL enabled and a desktop application accessing the Document Library. If I try opening a document without SSL enabled, the URI looks something like: \\[SiteUrl]\DavWWWRoot\Sites\[SiteName]\[DocumentPath] and I can successfully open and save the file. However, after enabling SSL, the URI is \\[SiteUrl...

Searching through pdf files on SharePoint

I upload documents on SharePoint list and i could search their contents in case they are .doc or .txt files. However, search results do not include files of type .pdf or .docx Is there something to include or add? Thank you! ...

How to iterate to Profile pictures in sharepoint?

User stored his/her profile picture in "Shared%20Pictures/Profile%20Pictures/bhind8ball.bmp" path in SSP. How to get this List item using this url? Or How to iterate SharePicture/ProfilePicture to get this List item using SPQuery? ...

Regarding Sharepoint Custom List

Hi, I have created a sharepoint custom List. When clicking on it displays all the data stored in the site. I want this list visible to the Administrators. But I do not want this to visible to the Read only user of the sharepoint site. I have tried to use audience settings. But on Custom List created I cannot have any option to target...

Sharepoint SPTHEMES.xml Custom Themes Index Array issue

Hello All, New to the site and loving it so far. Here's my issue in Sharepoint 2007 MOSS 2007 3.0 I've been creating custom themes for sharepoint by: 1) adding new theme folder under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES 2) updating the themes .INF file. 3) Adding the new theme in SP...

CAML queries against a database hosted on a RDBMS other than SQL Server?

Hi there, We have a SharePoint 2007 site. It is supported by two back-end databases - one hosted on SQL Server, another on an open-source RDBMS. We issue CAML queries to retrieve data from SQL Server, and ADO.NET queries to retrieve data from the other server. Our architect says we would be better off if we used the same approach (namel...

Sharepoint: Menu on default page.

Hi all, I develop asp.net application integrated in SharePoint. I need to bind menu on the pages depending on user right and permissions in the custom db. All it's OK in the pages what I created (derived from LayoutsPageBase). Ex.: object objMenu = CoreUtils.FindControlRecursive(Page, "QuickLaunchMenu"); if (null != o...

spservice permission denied

Hi All, I user spservice(http://spservices.codeplex.com/) function 'SPRequireUnique'. This work fine if I access my site like 'http://abc:27236". But if I access site like 'http://192.168.10.112:27236" then I get 'Permission denied' error. Also mention I add this path in alternative path in sharepoint center administrator. Pelase help ...

How to ensure all steps in form gets completed in order

I have an Excel spreadsheet which must be converted to a workflow. The spreadsheet is simply used for our employees to follow a certain order while doing specific tasks. There are roughly 20 steps per task and each task must be performed in order with the approval of two people to ensure each step was completed successfully. Ideally I w...

Create Sharepoint 2007 subsite dynamically from workflow

I would like to create subsites dynamically when a certain workflow is completed. The name of the site would be specified as part of the workflow. Is this possible? Note: I do not have the ability to do any coding -- just stuff I can do through sharepoint designer and the regular sharepoint website interfaces. ...

'Company.Dept.Project.Controls.ControlName' is not allowed here because it does not extend class 'System.Web.UI.UserControl'

I have defined the following control which serves as a wrapper for another control (simplified code): using System.ComponentModel; using System.Security.Permissions; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Company.Dept.Project.Controls.ControlName { [ AspNetHostingPermission(Securit...

Can't find a complete list of default pages for MOSS 2007

I've made a change to what I thought was the main default template page in a hosted version of Sharepoint 2007, but the search page hasn't picked up the change. Can someone please either give me a list of all the default page files, or tell me how to identify them? It's really important that I add a JS script call across all pages every...

Sharepoint custom List

Hi, I have users on the active directory and they all have full control on the sites. But I want to give read only permsissions through my list in my subsite. Which I have done. But still they have full control permsions. How to sort this? And Also I want to make a field in custom list as editable by admins (only one field.) any help...

PDF rendition on Sharepoint

I'm currently running a SharePoint 2007. The documents in my libraries will get a PDF rendition when they are approved. Is there a way to show the PDF rendition in stead of the file when browsing the libraries. Users should be able to edit these files when selecting edit from the context menu. Thanks ...

How do I set a SharePoint list field in NewForm.aspx based on an input radio button?

I have modified the NewForm.aspx page for a SharePoint list, and am changing the visibility of certain div's based on the value of radio input buttons. I'd like these values to be passed to a list field as well. I have a couple of questions regarding this: 1) How can I pass the Yes/No value from the radio input to a SharePoint list fie...

Custom icons in sharepoint 2007 document library view

hi all, I need to change the folder icon in a sharpoint document library view. The catch is, the folder icon is dependent upon various folder properties. So, I need a specific icon for specific folders (I just don't want to change the folder icon across the board). My initial thoughts were, that if I could find the page (xml or aspx) t...

What are the risks of using SharePoint Designer in a production environment?

I’m after a bit of feedback with regards to using SharePoint Designer in production environments (I’m talking SharePoint 2007 here). There seem to be conflicting views amongst the SharePoint community with some advocating the tool as a valid means of “power users” customising layouts and building workflows whilst others take the view tha...

How do i deploy SharePoint 2010 Solution (WSP) to SharePoint 2007

Hi i know its a bit sarcastic but i have a simple scenario here, we worked on a visual web part for SharePoint 2010 using VS 2010; it was nice and smooth so we decided to include it on one of our old projects. First scenario came to my mind (as a developer) to Copy code files from VS 2010 solution to VS 2008 solution, using VSeWSS prepa...

Sharepoint: Only view user created items in a custom list

I have Sharepoint 2007 Standard and am using a Custom List to create a simple form. I only want all the users to view thier own created items in the list. ...