sharepoint

Open document from SharePoint document library

Hi, I have a SharePoint 2007 portal, that contains several document libraries. Whenever I open a document from a document library, Word 2007 requests me for my credentials, although I'm already logged in the portal. Does anybody know how to set up Word 2007 to accept the existing credentials from SharePoint 2007? Regards, Voicu. ...

User specific theme in sharepoint

Hi All, I have a requirment where in my sharepoint site I want to set the theme according to user. for e.g lets say if user a set his theme as theme1 and the user b logs in and set theme to theme2. So next time when user a log in he must have to see the theme set by him. I.e theme a. Can any one tell me what will be the best approch ...

Populate Sharepoint List With data in it (List Definition) in site definition

Hi everybody, I have a list and I want to populate this List with data in it. I want to do it via WSPBuilder as a feature. I tried to populate it within in the Elements.xml file, But I got the data not nested inside each other, as my list contains items inside a folders Folder1 | |__Item1 |__Item2 Folder2 | |__Item1 so I want...

Sharepoint going to Manage search Service (managesearchservice.aspx) gives an error

When I go to Central Admin > Application Managment > Manage search services I get the following error: Method not found: 'Microsoft.SharePoint.SPException Microsoft.Office.Server.Search.Administration.SearchAdminUtils.ConvertToSPException(System.Exception, Microsoft.SharePoint.Administration.SPServer)'. at Microsoft.SharePoint.Portal....

copy list item solution sharepoint 2007 moss

In stackoverflow post i found this code to copy list item . public void CopyList(SPList src) { //Copy items from source List to Destination List foreach (SPListItem item in src.Items) { if(isUnique(item.UniqueId)) { newDestItem = DestinationList.Items.Add(); foreach (SPField field...

Sharepoint problem: switching user correctly but internaly maintains "old" user

Hi all. I'm facing an extrange behavior in my Sharepoint 2077 farm: We have configured windows integrated authentication with NTLM, and all clients authenticates correctly to the portal. When they proceeds to "login as" diferent user, it seems to be all fine (appears user name in top of page) , but internally the page user is the old us...

How do i retrieve the SharePoint List path with a Excel template (VSTO) on a New Document?

Hi all, The scenario: I have a VSTO template which is installed to SharePoint. Now when i create a workbook from SharePoint (by clicking New->My Template) from the List i run my code on the ThisWorkbook_Startup event. Inside this event i need to get hold of the list-url which is "calling" the action, as i need the list-name. In W...

is this feature available while creating sharepoint workflow for a list ?

I have a sharepoint list that has a number column call xyz i am creating a sharepoint designer workflow for that list in which i want to use update this list item action if we chose actions as update this list item then chose the list as current item then chose set this field -> xyz to this value -> { how can i select here current valu...

Can RunWithElevatedPrivileges be used in a PowerShell script?

If yes, please give an example. UPDATE: I have a PowerShell script that iterates through all site collections within selected Web application and changes the siteCollection.Audit.AuditFlags property. It works fine on my development machine, but the siteCollection.Audit.Update() command fails with Access is denied error on the productio...

SharePoint web part error: One or more web parts on this page references a zone that doesn't exist. It has been moved to the Web Part Page Gallery

Hi I have a problem when my users open a list item for a newly created site. When the item is first opened they recieve the following error: "One or more web parts on this page references a zone that doesn't exist. It has been moved to the Web Part Page Gallery". This problem applies to SharePoint portal server 2003. Any ideas on ho...

SharePoint SPItemEventReceiver environment configuration

Hello, I have a class that inherits from SPItemEventReceiver and implements ItemAdded, ItemUpdated, and ItemDeleted. These all work just fine and I'm getting the data I need. However, I want to push some of the data to a 3rd party server via a web service. What is the best way to configure the external dependency of the web service f...

Information architecture for document repositories

Hi, I've been tasked with re-designing the architecture of my division's document repositories. We currently have hundreds of documents across multiple SharePoint servers and would like to consolidate them under one repository that will allow users to easily find and update their docs. Can you recommend any resources to help me in t...

SharePoint Last Modified Date and Anonymous Access

Hi there, Currently I'm trying to display the last modified date in my default.master page in MOSS 2007 doing the following: <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> --Snip-- <SharePoint:DateT...

UpdateTaskActivity in Sharepoint Workflows

I have a workflow activity that is responsible for checking if a certain part of the infopath form was filled out correctly. If it wasn't it creates a task for the original submitter to complete that section. The workflow starts with a CodeActivity that reads in the document and checks if it is valid. If not it then creates a task for...

Class-level Static Variable per Instance.

Hi, I'm trying to do the following: I need a static variable to get a ListItemCollection from a List control (I can do this, but if I don't set it as Shared It's not preserving the values as it should). The thing is that this class is a SharePoint webpart, so I most probably will be using the webpart more than once, and I need this vari...

Site Columns, Page layouts etc not getting deleted on Feature deactivation

I have written a publishing feature which creates some site columns, a content type referring these site columns, a master page and some page layouts. When I deactivate this feature, the site columns, the master page and the page layouts are not getting deleted from their gallery. What am I doing wrong here? Should I be writing an e...

How can I have teamcity run a .bat file on each successful build?

I have a teamcity (4.something) install that creates .wsp file for deployment to sharepoint. Currently I have to copy the wsp out of the build artifacts directory and into a little deploy folder I have created. In the folder I run a .bat that deploys the new .wsp to our test server. What steps can I take to automate this? Either copy th...

column to be hidden while creating list item but visible while editing the list item in sharepoint 2007

for a sharepoint list . i want a column to be not visible when creating new item of the list , but it should be visible when the item is edited . How can i do this ? any help appreciated. ...

InfoPath code behind won't build in x64

I've just moved to an x64 Server 2008 R2 based development machine for my SharePoint goings on. I've discovered that when calling the SharePoint object model SPSite constructer that I get back a FileNotFoundException but no more detail on what exactly caused it. After a little playing around I then found that the call in other bits of co...

selecting checkbox to show items below it in sharepoint 2007

i have two lists in sharepoint 2007 ( moss ) one list is called color other list is called jacket jacket list has a column to select available colors through lookup i need to add a check box in the list view against each item of color so that if i select a color i see all the jacket items under it . i am able to find a two links to ...