sharepoint

Sharepoint 2007 : How to set column level permission ?

Hi, I would like to set the column level permission on list in Sharepoint 2007. I would appreciate help. Example: I would like to employee to fill other information in the form but not allow them to change the salary. Only admin can change certain fields. ...

How can I delete a SharePoint sub site using SharePoint web services?

I am forced to use SharePoint web services. I need a web service which will let me delete the SharePoint sub site. I have tried to use DeleteWorkspace method (Meetings.asmx web service), but it is capable of only deleting the sub sites that are meeting workspaces (mine uses a custom template derived from team site). Any help would be app...

Enabling view state is not working with controls in web part

What I have? I have a simple web part which has a Table. The table has two controls, a TextBox and a Button. In CreateChildControls() method, I add the controls to table if !Page.IsPostBack is true. And, table has view state enabled. What I want to do? I want the controls in the table to be present after the post back. What problem a...

ASP.NET Printing (MVC) Word Documents In SharePoint

So I have our MVC web application up and running and we'd like to introduce printing into the solution. We have an interface (using SharePoint Service 3.0) that displays many files (all Word files) for a particular product. What we'd like to have happen is for the user to checkbox all the files they want to print, select a printer, and...

Check in and Check out in SPFile object

Hi, I use the following piece of code to check out and then check in a file. I use IronPython.(Say spfile is the SPFile object) spfile.CheckOut() spfile.CheckIn("Done by the script") spfile.Update() spfile.CheckOut() spfile.CheckIn("Done by the script-Second time") The file is checked in for the first time. But the second time, it th...

Web part property value does not get updated

I have created a custom web part. When I change the value of a property of that web part and click apply or Ok, the updated value does not get applied. But if I again click on apply or ok button then the value gets updated. So after changing the web part property value if I click on ok or apply two times, the value gets updated. Any idea...

How is it possible to access Sharepoint Farm logs?

I have been looking at the "_layouts/SpUsageSite.aspx" logs for my site, but they are giving erroneous results (eg 0 unique visitors when I know at least I have been on the site) What is the best way to see these logs in a better way than the ootb functionality? ...

Capital Expenditure application in sharepoint

Hi all, We got an requirement for implementing captial expenditure lotus notes application in sharepoint. Its having nearly 5 massive forms with all expense calculations and workflows. What is the suggested approach in sharepoint to implement this? ...

Does Excel Services Support Macros?

Does MOSS 2007 Excel Services support macro execution? ...

WiX: Installer for MOSS WSP

I've a question about creating an installer with WiX. In my SharePoint development I have three different features. They are all installed with a separate WSP. One of the WSPs (called A.wsp) contains another WSP (B.wsp) (it's the basic for the program). Every wsp can be installed for it's on. How can I check when uninstalling A.wsp if...

Sharepoint 2007 : Populate Drop down list box 2 based on selection of Drop down listbox1

Hi, I have two drop down list box . I would like to populate drop down listbox 2 based on selection in drop down listbox 1. Can you please guide me whether this possible in the sharepoint 2007. Both drop down listbox populate from database. I have created custom list that contains both the drop downbox. Any help would be highly app...

SharePoint import error - 'Access Denied'

I am trying to import a site collection and I get the following error: [9/22/2009 4:59:43 PM]: Start Time: 9/22/2009 4:59:43 PM. [9/22/2009 4:59:43 PM]: Progress: Initializing Import. [9/22/2009 5:00:11 PM]: Progress: Starting content import. [9/22/2009 5:00:11 PM]: Progress: De-Serializing Objects to Database. [9/22/2009 5:00:11 PM]: ...

How do you add custom menu actions programmatically in SharePoint?

I need to add a custom menu action to a custom content type programmatically in c#. This is because I will not know the URL I need to link to beforehand. The URL to link to will be pulled from configuration when the feature is activated. I have tried the following: Added the CustomAction in my Element.xml file as: <CustomAction I...

SFTP with SharePoint when live over the internet

We are using MOSS 2007. We are about to make one of our SharePoint sites live over the internet but we wants the file upload/download to be SFTP. Is this possible in SharePoint, if so how can this be done? Must it be done through custom code (Please provide me with an example) or is there a setting somehwere where you can turn uploads a...

How to make a site user's web part display more info than just the user's name?

How to make a site user's web part display more info than just the user's name in the web part itself...?? ...

Filter a SharePoint list by audience

Using the SharePoint SDK, I'm attempting to retrieve a list and display the contents in a composite control. The list is audience aware and I'd like to maintain that in my control. How can I go about getting this list, filtered by audience, using the SharePoint SDK? Here's some of the code I'm working with: SPWeb currentWeb = SPConte...

Differentiate between Sharepoint User defined columns and default columns

Hi, I am using SharePoint 2007. How do I differentiate a user created column (the column that a user creates on his own for a SPList) from the columns that are available by default? Any help would be appreciated. ...

Copy SharePoint SPListItem while preventing new workflows or modifications

I'm looking to create a SharePoint workflow that copies an SPListItem from one list in an SPWeb to another list in another SPWeb. My question isn't how to copy, but more related to the workflow itself. I want to prevent other workflows from being started on the SPListItem while in my copy workflow. I also need to prevent changes to the...

WSRP - Server was unable to process request. Security Validation failed at Sharepoint Server

I'm trying to implement a WSRP (web services for remote portlets) solution. I want to consume webparts with a portal. Enviroment SERVER 1: CentOS 5, Liferay 5.2.3/Tomcat 6, portlet WSRP consumer. SERVER 2: Windows Server 2008, Sharepoint 2007, WSE 2 SP 3, SharePoint Producer Web Service version 1.0 (WSRP producer). Both servers in ...

Sharepoint Site Collection "Send To" functionality not fully passed in template

I have a Sharepoint Site Collection and I've created a site which I want to be the template for all sites created within this collection. In the site template, I have added "Send To" functionality that will allow the user to send the documents to a Master site. This all works fine, but when I create another site using the template, the...