sharepoint

Using binary type of a UserProperty

Hello, For some reason I need to save some big strings into user profiles. Because a property with type string has a limit to 400 caracters I decited to try with binary type (PropertyDataType.Binary) that allow a length of 7500. My ideea is to convert the string that I have into binary and save to property. I create the property using t...

querying whole site collection sharepoint

I have a webpart which is 2-3 subsites down the top level site. I need to query the list which is in top site collection and one at the same level,I guess its possible through SPSiteDataquery...I have some confusion related to it can i write single query which can query both these list.... The scope of this query is sitecollection so th...

UpdateListItem method and System Account

Hi I've developed a Help Desk application in Visual Studio that uses a Sharepoint List to store the data. My problem is that when i use the UpdateListItems method for submitting a new record, Sharepoint automatically assigns to the "Created By" (Author) field as "System Account" and this prevents the trigger of a workfow i created with...

Retrieve Details of Deployed Solutions in SharePoint using PowerShell

Hi, I need to retrieve the details of all deployed SharePoint solutions, as are displayed in the Central Administration > Operations > Solution Management (AKA the Solution Store), using a PowerShell script (v2.0). Can anyone offer any guidance on how to retrieve this information from the SharePoint solution store via the SharePoint AP...

How to programmatically disable ecb menu item for a particullar list item

Hi! I have a custom document library which is based on default document library. I'd like to disable Edit physical document for some of the documents depending on their property. ...

HTTPModule and Sharepoint Site

Hello All, I am running into an issue with using a HTTPModule with a sharepoint deployed site. Here is what I have: my asp.net pages inside the /layouts/[ProjectName]/ folder. The aspx file uses a sharepoint masterpage i have a HTTPModule and implments IHTTPModule the web.config contains {httpModules} {add name="HTTPModule" type="H...

Get all SharePoint groups via UserGroup.asmx

This really should not be difficult but damned if I can figure it out... Using Usergroup.asmx I need to get a list of all the groups in a given site collection so I can loop through them and update the group owner depending on certain settings. My problem seems to be (besides the fact that I cannot find any decent documentation or exam...

My SharePoint feature receiver activates a list definition feature, but my code cannot see the list template until the "second pass".

Hi I am into my sixth hour battling with what hopefully should have a simple solution, so I thought I would post here. I have an feature with a feature receiver whose sole purpose is to activate a deployed list definition feature and then create an instance of that new list definition. The list definition feature, called "Custom Acces...

"Xml Parsing error" when trying to browse a SharePoint site

Well, I am getting this error "Xml parsing Error: No element found:" when I am trying to browse a SharePoint Site. THe SharePoint site is a pretty fresh installation, with no custom code running in the page. Any ideas on how to troubleshoot this? Update: Since it was a relatively fresh installation of SharePoint, i reinstalled sharepo...

sharepoint showing all linked items to an item in a list

In sharepoint 2007 , i have created three list category authors books all book belong to a author and all author belong to a category. i have done this by creating a column in authors list which has a lookup to select categories. so that while creating new item in the list author we can select category . similar thing is done in book...

adding a checkbox against each item of a list in the view ( sharepoint 2007 )

In sharepoint 2007 i have created a list. i am using a default view to add items to the list. how can i add a checkbox against each item in the view. to select one or many items and then do something like copy these items to another list ? any help appreciated ...

Problem invoking custom membershipprovider from aspx page deployed in Sharepoint

Hi, I've implemented custom membershipprovider and roleprovider I use with Forms auth on a Sharepoint site. This works fine, and Sharepoint invokes methods on both custom providers without problems. I'm trying to use Membership.CreateUser from a new aspx page deployed to Sharepoint but this fails with "The membership provider name spe...

Default Scope on Sharepoint Advanced Search

Is there any way to automatically select a specific scope on Sharepoint advanced search interface without having to select the search box via Javascript? I found this hint, but I couldn't find the XML file he's talking about anywhere. ...

Getting Error : <Error ID="10">FolderNotFound</Error> While using DWS CreateFolder() method.

I am trying to create folder in sharepoint and using DWS.aspx Web Service CreateFolder() method. Dws ds = new Dws(); ds.Credentials = new NetworkCredential(MyServerId,MyServerPassword,Domain); ds.Url = "http://MyServerName/" + @"/_vti_bin/dws.asmx"; ds.PreAuthenticate = true; strResult = ds.CreateFolder(FolderPath); ...

MOSS 2007 Create Lookup Column but list is not in dropdown

I have create a list in sharepoitn and I am trying to add a column whih is a look up to another list. The list that I am trying to look up is a parent site to the site I a currentley on. I do not see the list that I wish to add in the drop down. Any ideas why this list is not apearing? ...

Two teams(Developers and Designers) in 2 separate cities

Background - There are two teams, a team of developers and a team of css/html desingers - We're using sharepoint to build their website - TFS is our source code respository - The designers have their own Sharepoint dev site to test their HTML/CSS if needed Problem I'm in the developer's team who's main responsibility is to receive H...

Multiple Groupings within a Content Query Web Part

Does anyone know of a way to do multiple groupings on a content query web part. I have been able to customeize everything else, but the sub groupings issue has me. What I need to do is, first group the list by column1, then within that grouping group on column2. Any help would be great. Thanks ...

Sharepoint user details not visible to other users

I am managing a SharePoint site that uses Form Based Authentication. We have several generic lists, document libraries and active task lists that users can create update and delete. Users can use the people pickers to select/search for everyone. But the users cannot see other users names, email addresses etc. in display lists or the p...

Using WSPBuilder Tool with SharePoint

How can I disable all of my features in SharePoint using the WSPBuilder tool without doing it one by one manually? ...

How to only see "my" items on a list when using item Level permissions as a site owner

Given a list name "User Data" and setting Item-Level Permissions to "Only their own" for read and edit. How can I as a site owner see only my own items on that list when using the SharePoint Object Model? Basically I want to store a small amount of user maintainable data and display that through a web part. SPList list = web.Lists["Us...