View Complete Post
This month's column continues the discussion around code access security in WCF and partially trusted services.
Juval Lowy
MSDN Magazine July 2008
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?
Thanks
Hi,
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" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 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" >
Hi all, I have four Lists with identical columns : List 1 List 2 List 3 List 4 I had to merge them, hence i created a data source ( Linked Source ) and merged these lists in SPD. I have used a data view webpart to display some columns from the merged lists data source and everything was working fine. But now i have a new List : List 5 which also has the same columns like the other four lists and i need to update the data soure such that it is merged list of 5 lists not 4. i updated the datasource property of the linked source to merge this new list as well. However the contents of List 5 dont appear in the data view webpart.
Am i missing something here ?
I dont want recreate the data view web part from scratch eachtime , because in future there might be List 6 , List 7 as well ...
Hello guys,
I have a requirement like...I have a dvwp, in that I have comments field as text box. So that when ever user tries to delete the item, he enters comments and deletes it.It will send an notification with information and gets deleted.
So I have to do this by javascript. Do you guys have any idea?
Greetings,
I was asked by a user if she could add a second Note Board web part to a single web page. It seems - and I just want to confirm - that the answer is no.
Adding a second note board web part results in a second note board being added, but pulling the same content as the 1st part - replicating the 1st, rather than creating a unique second.
In that way, the Note Board web part seems tied very closely to the page (since I can't find its related list or other information elsewhere through GUI).
But, perhaps there's a way, on a single page, to tell the page to distinguish between two different note board web parts and their respective content/lists?
Thanks!
--Dave
I have custom EditItemForm for a custom list having over 100 columns. That EditItemForm contains a DataFormWebPart in edit mode having over 100 <SharePoint:FormField controls.
If I browse for the above page in internet explorer, I got got the generic error:
"Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
Hi All,
I have added a dwp file as feature in MOSS 2007 using WSP Builder plenty of times, however, in VS2010, I have tried doing this but cannot achieve it. How would I add a DWP web part file as a feature in VS2010. I tried creating a TEMPLATE->FEATURES folder in VS2010 and added elements.xml, feature.xml and dwp file but cant add it. I am using the SharePoint 2010 template that comes with VS2010.
Thoughts?
I have an ASP.Net form where people can add a customer testimonial. I found out that it's not secure because people can add sql injection in some of the form fields. I would like help with making it secure. I would like to convert any ' to ". Can someone please help me with this? You can find my code for inserting data to database below. The bolded fields are the ones that I need to add the code preventing ' from being added. For example, I don't want something like 'Update table' to be added. I would like to add code to convert any ' to " that people may submit. <code>
strInsert = "Insert CustomerTestimonials (Name, Location, EmailAddress, Testimonial, DateSigned, AdvertiserID ) Values ( @Name, @Location, @EmailAddress, @Testimonial, @DateSigned, @AdvertiserID )" cmdInsert = New System.Data.SqlClient.SQLCommand( strInsert, objConnect) cmdInsert.Parameters.Add( "@Name", iif(txtName.Text="",dbNull.value,txtName.text)) cmdInsert.Parameters.Add( "@Location", iif(txtLocation.Text="",dbNull.value,txtLocation.text)) &nb
When I upload an Office 2007 document to Sharepoint, its metadata is modified. Here is what I found:
Original file:
filename - docProps/app.xml filename - docProps/core.xml filename - xl/worksheets/sheet1.xml filename - xl/styles.xml filename - xl/sharedStrings.xml filename - xl/worksheets/sheet3.xml filename - xl/worksheets/sheet2.xml filename - xl/theme/theme1.xml filename - xl/workbook.xml filename - xl/_rels/workbook.xml.rels filename - _rels/.rels filename - [Content_Types].xml mimetype - application/zip
File in Sharepoint:
filename - customXml/_rels/item3.xml.rels filename - docProps/custom.xml filename - customXml/itemProps3.xml filename - customXml/item3.xml filename - customXml/_rels/item2.xml.rels filename - customXml/itemProps1.xml filename - customXml/item2.xml filename - customXml/itemProps2.xml filename - customXml/_rels/item1.xml.rels filename - customXml/item1.xml filename - docProps/app.xml filename - docProps/core.xml filename - xl/worksheets/sheet1.xml filename - xl/styles.xml filename - xl/sharedStrings.xml filename - xl/worksheets/sheet3.xml filename - xl/worksheets/sheet2.xml filename - xl/theme/theme1.xml filename - xl/workbook.
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend