sharepoint

get users by group in sharepoint

can anyone show me how to get the users within a certain group using sharepoint? so i have a list that contains users and or groups. i want to retrieve all users in that list. is there a way to differentiate between whether the list item is a group or user. if its a group, i need to get all the users within that group. im using c#, and...

Sharepoint, ajax and page title

Hi, I have strange problem with sharepoint and ajax functionality. We have an UpdatePanel placed inside webpart. When partial postback occurs, page title gets missing. We have found that temporary partial solution is to write title element into one line and not use any spaces or controls inside it..not even a literal control. But we ne...

Sharepoint search, redirect from OSSSearchResults.aspx to Search centre

Hi, i have a question about configuration fo search pages in sharepoint. There are two types of searches: contextual which searches just in current page or list (they are labelled like: This site: Name of site or This list: Name of list), they point to OSSSearchResults.aspx page custom searches which can be user defined, they point to...

network drive file sharing

For the better part of 10 years + we have relied on various network mapped drives to allow file sharing. One drive letter for sharing files between teams, a seperate file share for the entire organization, a third for personal use etc. I would like to move away from this and am trying to decide if an ECM/Sharepoint type solution, or ho...

SharePoint - Get a list of current users

What's the best way to get a list of users that are assigned to a SharePoint portal? Thanks. ...

SharePoint Calendar List : Restrict entering second item with same From and To date

I want to restrict entry of new item into sharepoint calendar list with the same from and to dates for the same created user. Let me know this can done, accessing sharepoint object model with C#. Environment WSS3.0, MOSS 2007, C# Thanks ...

Testing Workflow History Autocleanup

I am facing a rather peculiar problem here. We have an OOTB approval workflow, which logs all the workflow history into a workflow history list. This list gets purged every 60 days. To increase this time period for which the workflow history is retained, I googled around and found that I have run this code: using (SPSite wfSite = new S...

Displaying a custom form on a new item event in SharePoint 3 document libraries?

Hi, Which is the best way to display a custom form for each new document being added to a specific document library? I want the user to have some control over some actions that adding the document will cause - specifically, tasks created for users in a Task List, which the contributing user will have to OK before committing. Is the ...

Controlling drop down lists in Windows SharePoint Services 3.0 Form

I have created a form in a WSS 3.0 site. There are a number of drop-down lists on the form. Is there a way to control the values in one drop-down based on a selected value in a previous drop down? ...

How to have http module on fire events only for specific page types

I have an http module on a sharepoint site and this module instantiates a custom class and add it to the session and does other initial things for my site. However, I'm noticing that the http module is being called for all request types (.aspx, .js, .png, .jpg). Is there any way to have an http module only be called for .net specific pa...

How to open a link from one web app to another already authenticated?

We have one web application (sharepoint) that collects information from disparate sources. We would like to be able to link users to the main websites of those various sources and have them pre-authenticated. I.E. they enter their credentials for the other sources (which are a number of different types LDAP, AD and home grown!) and we re...

Sharepoint Custom Filter Web Part

I want to create a custom web part that has more than 1 filter web part and that can be connected to Report Viewer Web Part (Integrated Mode) at runt time/design time. I searched a lot but could not find a way to have single web part that is a provider to more than 1 filters. Say for example - 1. My Report accept 2 parameter Departme...

Where is the Location of Microsoft.Sharepoint.dll

I just installed the SharePoint SDK on my machine, but I can't seem to find the location of Microsoft.Sharepoint.dll so I can add a reference to it. It's not in the GAC or C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\ and a search comes up with nothing. Any suggestions? ...

survey results in sharepoint

how do i get a list of user that have completed or not completed or not responded to a survey. so i have a survey, lets say "survey A". in this survey i have a list of people or groups that must fill the survey. sharepoint already gives us a list of respondents, but i want to make a list of people that have not responded or not complet...

Check to see if Visual Studio can load an assembly

I have some user controls that are going to get added into SharePoint through SmartPart. I'm testing on my local machine, but I'm planning on using the SharePoint security. I was wondering if there was a way I could to a quick test to see if the Microsoft.SharePoint assembly can actually get loaded so I can continue to test on my machi...

CAML queries: how to filter folders from result set?

Hi all, I'm using caml query to select all documents which were modified or added by user. Query runs recursively on all subsites of specified site collection. Now problem is I can't get rid of folders which are also part of result set. For now I'm filtering them from result datatable. But I'm wondering: Is it possible to filter out fol...

Querying infopath form library

Is there a tool that allows querying (and aggregating data from) a library of infopath forms in MOSS? I can't use promoted fields, since some of the items I want to query are in repeating groups which (AFAIK) cannot be promoted. So I have to query the underlying XML. I realize I can write custom code that iterates through the forms and...

MOSS 2007 KeepAlive File

I have a standard MOSS 2007 Web Site (MOSS Terminology: Application and a SiteCollection) I located the home directory (as its setup in IIS) C:\InetPub\wwwRoot\wss\VirtualDirectories\nyMOSSApp.com:80 I created a keepAlive.aspx file in this directory. The contents is very basic... but its a valid winForm file (not a 0KB File) When I ...

SharePoint (MOSS 2007) successful forms authentication redirects to machine name

I have a SharePoint site extended for forms authentication. The Active Directory site is example.com and the forms authentication site is forms.example.com. When I type my (forms) username/password I get redirected (302) to the machine name (moss-01) like so: http://moss-01/. If I type http://forms.example.com/ into the address bar I ...

SharePoint Web Parts

I'd like to create a Web Part with security-trimmed links for a MOSS Publishing Intranet Portal. The idea is that their logged-in user name is checked against a custom provider to determine their permissions for a particular link and the hyperlinks would be rendered based on this. What would be a good approach for something like this? I...