.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How do I prevent displaying membership of an AD group in Colleague Tracker web part?

Posted By:      Posted Date: August 26, 2010    Points: 0   Category :SharePoint

I'm a big fan of the Colleague Tracker web part in MOSS 2007 My Sites, especially the option to show 'Membership Changes'. This is often useful in highlighting that a colleague has been added to a certain AD group.

We now want to hide the membership of certain AD groups from the colleague tracker. For example, if an AD group called 'Project X' is created, we don't want membership of the group broadcast throughout the My Sites where colleagues are tracking colleagues.

My first thought was that we could use AD to 'deny read' on the 'Project X' AD group to all SharePoint related service accounts. This does not appear to have worked, although perhaps the configuration is more complex? The best approach would seem to be to prevent the group membership data ever being imported from AD to the SSP, hence my 'deny read' approach.

Has anyone successfully implemented this, or does anyone have any better ideas?


View Complete Post

More Related Resource Links

Data form web part not displaying - Unable to display this Web Part. ....



I am designing a data form - adding some formatting etc.  I am able to see the webpart correctly in SPD split view, but when I trying to preview it, it gives me the following error

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.
ANy help would be welcome, I have spent a lot of time on this page and don't want to do it again.  THere are a lot of fields and it's a tedious process to move them to the correct location.  I am at my wits end, I am not sure how to debug this!!


Overriding web.config in sharepoint webpart/using custom membership in web part

I'm developing a web part for MOSS 2007. The web part is being deployed to a web application which utilizes forms-based authentication, and role/membership providers to control users. The membership table has been edited to include addition user info (I am aware, that this isn't the best way to handle additional user, i.e. profiles etc., however, this is a requirement from another department). Since my web part needs to access this information, I was thinking of implementing a custom membership provider. So far I've followed: http://msdn.microsoft.com/en-us/library/6tc47t75.aspx and I've got my custom membership class, and a very stripped down membershipprovider-class. But how do I enable/use this membership provider in my web part? I've tried creating a simple web.config in the "WebPartCode" folder of my solution, next to my webpart code file, with connection string and membership provider tags. But I don't even really know how to build/reference/use the membership provider itself, so I don't know what else I need to do. I've built a C# class library project with the two classes (membershipprovider and custom membershipuser) and compiled it and installed it in the global assembly cache - is this correct? and how do I access them from here? Hope someone can help

Group by library name using Data View Web Part

I'm using a data view web part to disply documents in multiple libraries.  Is it possible to group on the name of the library instead of grouping on an individual column? Thanks

Displaying Images in an RSS feed web part

I have an RSS feed with images. the rss web part doesnt seem to show me these images only the text. its on moss 2007. is there anyway to get these images displaying in the feed. thanksSharepoint Customiser

Prevent contributor from adding or deleting web part

In SPD, there is a Site Contributor Settings, you can set permissions on web part in the 'Sharepoint' category. On the web site, how to prevent contributor from editing web part? Thanks

group headers are not displaying

I am new to Sql Server Reporting Services. I am using SQL Server Reporting Services 2005. I have a report with multiple groups and in detail section I have a subreport. The subreport has only one field. Some times the length of the field can be more than 30000 or 40000 chars. I have kept the group header to repeat in all pages. When the sub report extends to more than 1 page the group header is not displaying in all the other pages for that particular group. Can any one help me to resolve this issue? Thanks, Paul

Displaying a count of records in a Data View Web Part outside the web part itself?

I have a DVWP with 400 rows. I have these inside a Div tag, which makes it scrollable. I also have several URL filters set up to show certain records. I would like to add the count to the page to display the number of records when the filters are activated. I have added the View Footer to the DVWP but this just gets placed at the bottom (still inside the Div tag). It would also be cool to be able to do counts with criteria so I could do comparisons (ie, 50 records overdue/400 total etc). Thanks

Membership web part 'Object Expected' error

I have placed a Membership Web Part on my 'My Site'/'My Content' page and everything was working just fine until the number of memberships supassed the total number that the control is set to display. When this happened, a link appeared at the bottom of the web part with the following wording 'Show 8 additional memberships'. When I click on this link I receive an 'Object Expected' javescript error. When I look at the code that is generated on the page the <a></a> tag for this link appears as follows ... <a class="ms-vb" id="1SPS_MEMMICSRCHRES_Link" href="javascript:ShowHidePrivacyRow('SPS_MEMMICSRCHRES','1', '1SPS_MEMMICSRCHRES_Link', 'Hide 8 additional memberships', 'Show 8 additional memberships');"> When I do a search for the ShowHidePrivacyRow() function it does not appear on the page and I can not seem to find it in any of the SharePoint out of the box .js files either. Could this be the cause of the 'Object Expected' error? If so, how do I solve this and why is an out of the box web part causing javascript errors. This is something I would expect from a product that is still in Beta, not a production release.

problem with displaying items in list view web part

I have a list view webpart at default display form. Default Display form display items (for example) from the contracts documents library. List view webpart also associated with the same documents library (contracts). In such case this webpart doesn't display any item. But if I add another list view web part associated with warrants document library it display item without any problems. Is it possible to bind list view webpart to another data source for contracts document library? Or maybe another solution? Thanks!

Displaying Work Email in Web Part

I need to display the email address ( Work Email in a "Current User Filter" ) of the logged on user in a web part. How do I do that?

The Group Work Site template has the "What's New" web part on it's home page and I have the follow


I can't find that web part as something I can use elsewhere? As in, I can't add that web part on other pages made even on the same site. What would be ideal is to have that web part available to add as needed to other sites/pages of course. As it stands, for me it seems the only place I can use that web part is on the home page of a new "Group Work Site", i hope that I'm wrong. I've tried exporting the web part, but the importing does nothing when trying to import it to other sites, of course other 2010 sites. Please let me know how I may add that web part to my available to use web parts please.



How to prevent HtmlEditor from displaying html tags within editor?


I'm using the ajaxcontroltoolkit htmleditor to create blog posts for my website.  The editor works fine when entering a new article.  When I click the Bold button, the text appears bold.  When I hit enter, the editor creates a new line, etc.  However, I also use the htmleditor when I want to edit a preexisting article.  The problem I'm receiving, is when I bring a preexisting article into the editor, it displays a mess of html tags rather than the clean, formatted text.

For example, if I type the following into the editor:


Hello World

How are you?


...when I go to edit it, it shall appear as:


<span style="font-weight: bold">Hello World</span><br /> <br />How are you?


Is there any way to force the editor to display this text properly when editting rather than showing the html tags?


Prevent mousedown raise in disabled part of control which is outside control boundary



I have a control that is located onto a window in my example. that control contains something that is shown, but the user may not be able to click onto the area (here red colored) to select it. Only by clicking on the black part should select the control.
I disabled the red part, but still the mousedown is fired in the control. I would expect that the mousedown would be raised in the background of the window and not in the control.
Event when the Red part is made transparent, the event is fired inside the control (BUG???)

Is there a way to prevent that when the red part is clicked, the control raises the mousedown.
I simplified the example.

<Window x:Class="MainWindow"
    Title="MainWindow" Height="350" Width="525" MouseDown="Background_MouseDown">
  <Grid  HorizontalAlignment="Left" VerticalAlignment="Top" >
    <Canvas MouseDown="Control_mouseDown" Width="100" Height="100" HorizontalAlignment="Left" VerticalAlignment="Top"  Background="Black" >

Show/Hide fields on InfoPath based on context User Group Membership

I am reading a book on SharePoint 2010 Development by Wrox and although it is a good book, the InfoPath section is limited. I am Googling to see if I can find anywhere where i can perhaps have this type of functionality to hide and show a specific field based on their Group Membership?
Victor Palma

Unable to display this Web Part. Error while displaying External list in sharepoint website

I tried to create an external content type for a website and I got an error....here are the details of the steps I followed:

1. I created an team site in sharepoint server 2010.Nothing I added extra to the site.

2. Then I opened that site in sharepoint designer and created a new external data type.

this is an SQL server. I have a small database in my server, I added that as an external data type to this site.

3. I am able to add the database to my site.

4. Then I created an External List of type contact list as my database has article ID, author, data of creation etc.

5. This creation also sucessfull and when I clicked on create button , my external list appeared on the quick launch but it didn't displayed anything on the page it showed up the below error on the page.


Error Message :


Displaying a one-question survey in a web part


Hey all,

I'm trying to display a one-question survey in a web part. I don't want to ever have to use designer when my site's deployed though, I want it to simply display the latest one-question survey, in a web part. So the user creates a survey, and the web part changes automatically - ideally it would show the first question but I could live with the 'standard' survey view with a 'respond to survey' link, even though it's a bit fugly

I've just had a big chat about this here: http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/14380447-c13f-4365-8423-554595c4b726

The web part resulting from that discussion seems really tailored to the one list and as a result doesn't meet my needs :-(

Any thoughts? Cookies up for grabs :-)

How to add AD Security group to Audience of Web Part?


We have RSS Viewer webpart in the SharePoint Server 2010 Enterprise based portal.

I would like set audience, which includes AD security group "Management".
How to do it?

So far I have been able to use SharePoint group in auding, but
Modify->Advance->Target Audience->Browser->Distibution/Security Group did not find any AD groups.

What does the Distibution/Security Group actually mean? How to add groups there?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend