Re: Using usings :)
Paul, both are correct. using alias (SP in your example) allows you to use that alias to represent the namespace name here is a detailed explanation http://msdn.microsoft.com/en-us/library/sf0df423(v=vs.71).aspx On Thu, Mar 15, 2012 at 8:55 AM, explanation Paul Noone paul.no...@ceosyd.catholic.edu.au wrote: Hi all, Quick question regarding usings and abbreviations. I have seen examples, such as below, where both are used. Yet I have projects that just use the second using statement and they work as expected. Which is correct? using Microsoft.SharePoint.Client; using SP = Microsoft.SharePoint.Client; Kind regards, Paul Noone ** ** --- Online Developer/SharePoint Administrator Infrastructure Team, ICT Catholic Education Office, Sydney p: (02) 9568 8461 f: (02) 9568 8483 e: paul.no...@ceosyd.catholic.edu.au w: http://www.ceosyd.catholic.edu.au/ ** ** ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
Re: PS count number of false items
try this $count = 0 # Enumerate orphans foreach($Check in $returncheck) { if($Check -eq $False) { Write-Output $MyUser.LoginName } else { $count += 1 } } if($count -eq 0) { Write-Output Nil } On Wed, Jul 13, 2011 at 12:17 PM, Paul Noone paul.no...@ceosyd.catholic.edu.au wrote: Hi all, I’m having some logic problems with my PS script. I am retrieving an array of users from AD and then checking a Boolean condition. If the count of *False eq 0* then I want to write “Nil”. How do I get a count of the False items in $returncheck?? Can someone please put me out of my misery. J $siteCollUsers = $web.SiteUsers ** ** foreach($MyUser in $siteCollUsers) { if(($MyUser.LoginName.ToLower() -ne sharepoint\system) -and ($MyUser.LoginName.ToLower() -ne nt authority\authenticated users) -and ($MyUser.LoginName.ToLower()-ne nt authority\local service)) { $UserName = $MyUser.LoginName.ToLower()*** * $Tablename = $UserName.split(\) $returncheck = Check_User_In_ActiveDirectory $Tablename[1] $mydomaincnx ** ** # Enumerate orphans foreach($Check in $returncheck) { if($returncheck -eq $False) { Write-Output $MyUser.LoginName } elseif($returncheck.Count($False) -eq 0) { Write-Output Nil } else { # Do nothing } } } } ** ** ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
Re: PS count number of false items
what is returned from Check_User_In_ActiveDirectory? a collection of users or collection of true/false result? I only want to return Nil once for each collection where the False count = 0. -- which collection is this? siteCollUsers or returncheck ? On Wed, Jul 13, 2011 at 1:52 PM, Paul Noone paul.no...@ceosyd.catholic.edu.au wrote: Thanks Geoff. Unfortunately that gives the same incorrect output. ** ** e.g. ** ** domain\User1 domain\User76 Nil Nil Domain\User243 ** ** I only want to return Nil once for each collection where the False count = 0. ** ** I made some changes and this is getting very close…but still doesn’t output Nil for empty sets. ** ** I think this may be less of a PS problem and more of a me problem. J ** ** $returncheck = Check_User_In_ActiveDirectory $Tablename[1] $mydomaincnx*** * $falseCheck = $returncheck.Count if($falseCheck -gt 0) { foreach($Check in $falseCheck) { Write-Output $MyUser.LoginName } $falseCheck = 0 } if($falseCheck -eq 0) { Write-Output Nil } } ** ** *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On Behalf Of *Jeffery Tsui *Sent:* Wednesday, 13 July 2011 12:56 PM *To:* ozMOSS *Subject:* Re: PS count number of false items ** ** try this ** ** $count = 0 # Enumerate orphans foreach($Check in $returncheck) { if($Check -eq $False) { Write-Output $MyUser.LoginName } else { $count += 1 } } ** ** if($count -eq 0) { Write-Output Nil } ** ** ** ** On Wed, Jul 13, 2011 at 12:17 PM, Paul Noone paul.no...@ceosyd.catholic.edu.au wrote: Hi all, I’m having some logic problems with my PS script. I am retrieving an array of users from AD and then checking a Boolean condition. If the count of *False eq 0* then I want to write “Nil”. How do I get a count of the False items in $returncheck?? Can someone please put me out of my misery. J $siteCollUsers = $web.SiteUsers foreach($MyUser in $siteCollUsers) { if(($MyUser.LoginName.ToLower() -ne sharepoint\system) -and ($MyUser.LoginName.ToLower() -ne nt authority\authenticated users) -and ($MyUser.LoginName.ToLower()-ne nt authority\local service)) { $UserName = $MyUser.LoginName.ToLower()*** * $Tablename = $UserName.split(\) $returncheck = Check_User_In_ActiveDirectory $Tablename[1] $mydomaincnx # Enumerate orphans foreach($Check in $returncheck) { if($returncheck -eq $False) { Write-Output $MyUser.LoginName } elseif($returncheck.Count($False) -eq 0) { Write-Output Nil } else { # Do nothing } } } } ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ** ** ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Site Usage and Quotas
Ajay, I've previously tried a tool SharePoint space monitor for similar purpose of finding disk usage per sub-sites. It works for me and it's free J http://www.thesug.org/Blogs/lsuslinky/SSM/Pages/default.aspx PS. Test this in a testing/dev environment first. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul Noone Sent: Monday, 22 March 2010 8:54 AM To: ozMOSS Subject: RE: Site Usage and Quotas I haven't seen any OOTB function that will get the size for individual sites. I imagine it's all possible but would require custom dev for the solution you describe. Nintex can call any web service and is exceedingly powerful when you know what you're doing. I've only just started scraping the surface. Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Ajay Sent: Monday, 22 March 2010 8:49 AM To: ozMOSS Subject: Re: Site Usage and Quotas I actually need to find how much space is being used by sub-sites for a extranet solution which will be then used for charing clients. Does Nintex reporting tool has this capability? I am searching on google and looks that SiteCollection.StorageManagementInformation function can give some idea on that. On Mon, Mar 22, 2010 at 10:32 AM, Paul Noone paul.no...@ceosyd.catholic.edu.au wrote: You mean set quotas and usage on a per web basis? Not that I know of. But I have noticed something curious about site quotas. Changing the settings doesn't appear to affect existing site collections. Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Ajay Sent: Friday, 19 March 2010 9:28 AM To: ozMOSS Subject: Site Usage and Quotas Hi, Is there any way we do site quotas and usage at site level not at site collection lelvel. Cheers A ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss # Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. # ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: LogKB.com
Thanks Darren, this is exactly what we needed, not just the tool but also a platform to share solutions to log errors. Thanks again J From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Darren Neimke Sent: Tuesday, 22 December 2009 8:53 AM To: ozmoss@ozmoss.com Subject: RE: LogKB.com Thanks Paul, feel free to ping me offlist if you have any questions. There's obviously a stack of development still to be done - particularly on the website. The stuff that I will be focussing on in the next few days are: * Adding user leaderboards showing contibution for solving log errors * Allow users to provide rich profile information - such as consulting advertisements * Alerts and notifications to let users know when solutions have been added for log messages which they have added Again, any usage and feedback would be greatly appreciated! :-) Kind Regards, Darren Neimke darren.nei...@live.com From: paul.no...@ceosyd.catholic.edu.au To: ozmoss@ozmoss.com Date: Tue, 22 Dec 2009 08:53:36 +1100 Subject: RE: LogKB.com Great stuff Darren. I look forward to testing. Regards, Paul Online Developer, ICT CEO Sydney -Original Message- From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Darren Neimke Sent: Tuesday, 22 December 2009 7:31 AM To: ozMOSS Subject: LogKB.com Hi guys, a while ago I talked about building some tools to help with managing SharePoint logs. I have a website up and running now: http://www.logkb.com/ You can read the About page to get the overview of how this solution works: http://www.logkb.com/Home/About That page also contains a link to the latest client agent build. Download that latest build - running it is simple, unzip, change a couple of config. value, and run it. Kind Regards, Darren Neimke darren.nei...@live.com mob: 0439 855 046 ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss Hotmail: Free, trusted and rich email service. Get it now. http://clk.atdmt.com/GBL/go/171222984/direct/01/ # Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. # ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Creating a page, navigation
The left navigation control will normally be in the master page, I will suggest you to check the master page first. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Marko Salonen Sent: Thursday, 12 November 2009 5:05 PM To: ozMOSS Subject: Creating a page, navigation Hi This might seem simple, but I have no idea how to add the current navigation bar to a page. I create a page, add content and save. There is no left navigation bar when viewing that page. Any ideas how make sure the nav bar is displayed? Kind Regards, Marko Salonen SharePoint Solutions Developer Vale - Information Technology Communication Level 10, 100 Creek St, Brisbane QLD Australia 4000 P. +61 7 3136 0783 This email and any files transmitted with it are intended solely for the use of the individual or entity to whom this email is addressed. This email's contents are confidential and may contain copyright and/or legally privileged information. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason. If this e-mail was sent to you in error, please notify the sender by return email, and delete this email without making a copy. Any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. Thank you. P Please consider the environment before printing this email # Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. # ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Creating a page, navigation
So the left navigation control is on the master page, can you see the left nav from any pages? Check the site navigation settings, make sure you've got show pages checked. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Marko Salonen Sent: Thursday, 12 November 2009 5:22 PM To: ozMOSS Subject: RE: Creating a page, navigation It's there otherwise, but only when I create a new page (basic or web part page) does it not appear... Regards, Marko From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Thursday, 12 November 2009 4:20 PM To: ozMOSS Subject: RE: Creating a page, navigation The left navigation control will normally be in the master page, I will suggest you to check the master page first. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Marko Salonen Sent: Thursday, 12 November 2009 5:05 PM To: ozMOSS Subject: Creating a page, navigation Hi This might seem simple, but I have no idea how to add the current navigation bar to a page. I create a page, add content and save. There is no left navigation bar when viewing that page. Any ideas how make sure the nav bar is displayed? Kind Regards, Marko Salonen SharePoint Solutions Developer Vale - Information Technology Communication Level 10, 100 Creek St, Brisbane QLD Australia 4000 P. +61 7 3136 0783 This email and any files transmitted with it are intended solely for the use of the individual or entity to whom this email is addressed. This email's contents are confidential and may contain copyright and/or legally privileged information. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason. If this e-mail was sent to you in error, please notify the sender by return email, and delete this email without making a copy. Any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. Thank you. P Please consider the environment before printing this email Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. This email and any files transmitted with it are intended solely for the use of the individual or entity to whom this email is addressed. This email's contents are confidential and may contain copyright and/or legally privileged information. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason. If this e-mail was sent to you in error, please notify the sender by return email, and delete this email without making a copy. Any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. Thank you. P Please consider the environment before printing this email # Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. # ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Ghost - unghost - re-ghost
Deactivate the feature and confirm all provisioned files got removed via SPD then reactivate the feature again. Sometimes you will need to manually remove the provisioned file if not removed by feature deactivation. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wilson Wampers Sent: Friday, 6 November 2009 12:48 AM To: 'ozMOSS' Subject: RE: Ghost - unghost - re-ghost Yes, tried all that .. no joy though. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Joshua Haebets Sent: Thursday, November 05, 2009 2:15 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Have you tried, deactivating and reactivating the solution Might also be worth deploying it Cheers Josh From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 5:01 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost C:\Documents and Settings\Administratorstsadm -o gl-reghostfile -url http://litwareportal/_catalogs/masterpage/somePage.aspx Progress: Re-ghosting (uncustomizing) 'http://litwareportal/_catalogs/masterpage/ somePage.aspx' ERROR: Unable to re-ghost (uncustomize) file /_catalogs/masterpage/ somePage.aspx Operation completed successfully. ?...@#$%^*?, so I guess I've more than one problem here L From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul Noone Sent: Thursday, 5 November 2009 09:51 To: ozMOSS Subject: RE: Ghost - unghost - re-ghost I've seen stranger things. J Curious to know the outcome in any case. Sounds like a problem anyone could run into. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 12:46 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Hi, I will try Josh's suggestion with the Gary Lapoint stsadm extensions and let you know the outcome. Only one page behaves badly out of a dozen files (I've noticed a syntax error in the page though, this might have caused the dislocated behaviour) Kind Regards, Wilson Wampers From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Thursday, 5 November 2009 09:22 To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Quick question: how many page layouts are deployed via the feature? And how many are having the problem? From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 12:10 PM To: ozmoss@ozmoss.com Subject: Ghost - unghost - re-ghost Hi All, I'm a bit puzzled, I have page layouts added to a publishing site collection using a feature. No custom site definition, just the OOTB publishing site definition. After a backup restore adventure (major SP crash and recovery effort), one of the page layouts although un customized didn't pick up changes in the 12 hive. I've noticed looking at the master page gallery using SPD that one custom master page and one page layout (this particular one) seems to have been modified by SHAREPOINT\system, whilst all other pages seem to have been modified by the SharePoint Farm Admin account as one would expect after a feature install. So I've updated the file using SP Designer and tried the following: static void Main(string[] args) { string siteUrl = http://litwareportal;; using (SPSite site = new SPSite(siteUrl)) { using (SPWeb web = site.OpenWeb()) { PublishingSite publishingSite = new PublishingSite(site); PageLayoutCollection pageCollection = publishingSite.PageLayouts; foreach (PageLayout layout in pageCollection) { SPFile currentFile = web.GetFile(layout.ServerRelativeUrl); Console.WriteLine({0} -- {1}, layout.Name, currentFile.CustomizedPageStatus); } foreach (PageLayout layout in pageCollection) { SPFile currentFile = web.GetFile(layout.ServerRelativeUrl); if (currentFile.CustomizedPageStatus == SPCustomizedPageStatus.Customized) { currentFile.RevertContentStream(); currentFile.Update(); } } } } Console.ReadLine(); } , but it doesn't seem to be willing to un customize. Debug step through shows it does execute the code as intended, but the result remains the same. ( I've also tried with and without the .update() method.) Using the UI à revert to site definition à I get an error message
RE: Ghost - unghost - re-ghost
Here is a quicker way of doing the dirty work. I've tested it on my dev environment and it worked as expected. It picks up the changes as well. 1. Deactivate the feature 2. Browse to master page folder in SPD 3. Create a dummy folder dummy 4. Move all the trouble page layouts into dummy folder (all pages associated with the layout will now point to the new location of the file) 5. Delete dummy folder (all pages associated with the layout will get a file not found error) 6. Reactivate the feature 7. Recreate the dummy folder under master page 8. Move the provisioned page layouts (the ones got moved in step 4) to the dummy folder (this fixed the file not found error) 9. Move the files back to master page PS. Test this in dev/testing environment first. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wampers, Wilson [Talent International] Sent: Friday, 6 November 2009 1:03 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Yeah, had something similar in mind ... won't happen until somewhere next week though .. will keep you updated on the outcome, cheers, Wilson From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Friday, 6 November 2009 09:05 To: ozMOSS Subject: RE: Ghost - unghost - re-ghost This is painful. How many pages using the trouble page layout? Possible workaround is associate the pages to a dummy layout, delete the trouble layout file, reprovision the file via feature, associate the pages back to the layout. Err...pain. Anyone? From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wampers, Wilson [Talent International] Sent: Friday, 6 November 2009 11:12 AM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Hi Jeffery, Can't use SPD delete since these pages are in use. Cheers, Wilson From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Friday, 6 November 2009 05:54 To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Deactivate the feature and confirm all provisioned files got removed via SPD then reactivate the feature again. Sometimes you will need to manually remove the provisioned file if not removed by feature deactivation. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wilson Wampers Sent: Friday, 6 November 2009 12:48 AM To: 'ozMOSS' Subject: RE: Ghost - unghost - re-ghost Yes, tried all that .. no joy though. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Joshua Haebets Sent: Thursday, November 05, 2009 2:15 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Have you tried, deactivating and reactivating the solution Might also be worth deploying it Cheers Josh From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 5:01 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost C:\Documents and Settings\Administratorstsadm -o gl-reghostfile -url http://litwareportal/_catalogs/masterpage/somePage.aspx Progress: Re-ghosting (uncustomizing) 'http://litwareportal/_catalogs/masterpage/ somePage.aspx' ERROR: Unable to re-ghost (uncustomize) file /_catalogs/masterpage/ somePage.aspx Operation completed successfully. ?...@#$%^*?, so I guess I've more than one problem here L From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul Noone Sent: Thursday, 5 November 2009 09:51 To: ozMOSS Subject: RE: Ghost - unghost - re-ghost I've seen stranger things. J Curious to know the outcome in any case. Sounds like a problem anyone could run into. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 12:46 PM To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Hi, I will try Josh's suggestion with the Gary Lapoint stsadm extensions and let you know the outcome. Only one page behaves badly out of a dozen files (I've noticed a syntax error in the page though, this might have caused the dislocated behaviour) Kind Regards, Wilson Wampers From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Thursday, 5 November 2009 09:22 To: ozMOSS Subject: RE: Ghost - unghost - re-ghost Quick question: how many page layouts are deployed via the feature? And how many are having the problem? From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Wampers, Wilson [Talent International] Sent: Thursday, 5 November 2009 12:10 PM To: ozmoss@ozmoss.com Subject: Ghost - unghost - re-ghost Hi All, I'm a bit puzzled, I have page layouts added to a publishing site collection using a feature. No custom site definition, just
RE: SharePoint Custom List with column parent-child relationships
Paul, please define NICE J From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul Turner Sent: Friday, 30 October 2009 1:36 PM To: ozMOSS Subject: RE: SharePoint Custom List with column parent-child relationships I have done this with a custom field (if you're really nice to me I might give it to you). J Nothing OOTB can do it in 2007 L Regards, Paul Turner Senior Solutions Specialist M: 0412 748 168 P: 08 8238 0912 F: 08 8234 5966 A: 66 Henley Beach Road, Mile End SA 5031 E: paul.tur...@dws.com.au mailto:paul.tur...@dws.com.au W: www.dws.com.au ADVANCED BUSINESS SOLUTIONS LTD This email and any files transmitted with it are confidential and are only for the use of the person to whom they are addressed. If you are not the intended recipient you have received this email in error and are requested to delete it immediately. Any opinion expressed in this e-mail may not necessarily be that of DWS Pty Ltd. Please consider the environment before printing this email. From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of CARR, Matthew Sent: Friday, 30 October 2009 12:53 PM To: ozMOSS Subject: SharePoint Custom List with column parent-child relationships All, Is it possible using SharePoint out-of-the-box to define parent child relationships within two columns in a Custom List when using the default Create/Edit web parts? The clients design premise is to minimise application development and maximise the native functionality that exists within SharePoint. By way of an example to further explain this request I have defined the following reference lists Category list with column/values IDTitle 1 Packaging 2 Ingredients 3 Finished Goods SubCategory list with column/values IDTitle ForeignTitle 1 carton Packaging 2 pallettePackaging 3 paint Ingredients 4 plastic Ingredients 5 invoice Finished Goods For Data entry the client would like to raise Issues that have an associated category and subcategory defined. Hence I have defined a custom list called Issue with x number of columns including a Category ( this is of type lookup to the Category list) and a SubCategory column which would contain filtered values based on the Category value. Looking thru the Create Column definition component I can't see how one can set this to the subcategory lookup list and apply conditional/dynamic filtering based on the selected category value. Is this functionality available within SharePoint. Is there a trick, I can't see how parameters can be passed, how a calculated column or site columns can be used to facilitate this or concatenated columns can be defined Can this be done ? Cheers Matt # Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. # image001.jpg___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Teamsite owners
You should be able to modify it under Site Settings à Advanced permissions à Settings à Access Requests From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Hertz Sent: Thursday, 29 October 2009 1:51 PM To: ozMOSS Subject: Teamsite owners Hey all This is probably the easiest question to answer, but for the life of me I can't figure it out. How do you change the owner of a team site (ie the person who receives the access requests)? I've changed the owner of certain sites to the correct person in the sites directory list, however the creator of the site still receives all the access requests, instead of the owner. I'm sure I'm missing the most basic setting somewhere, but... Nigel Kind regards Nigel Hertz Software Developer | Information Technology Stockland Level 25 | 133 Castlereagh Street | Sydney NSW 2000 T: 02 9035 2617 | F: 02 8988 2617 Stockland Notice: If this communication has been sent to you by mistake, please delete and notify us. If it has been sent to you by mistake, legal privilege is not waived or lost and you are not entitled to use it in any way. Stockland and its subsidiaries reserve the right to monitor e-mail communication through its networks. # Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. # ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Get rid off the hor. scroll bar
Is this a custom master page or OOTB master pages? You can always set the page body width via css or set the width for the outer div container in custom master page or change outer table width for OOTB master pages. This can be an easy or hard task depending on how you want to deal with it. Cheers Jeffery Tsui Datacom Software Solutions | Level 7, 120 Sussex Street, Sydney, NSW 2000 Australia Email: jeffery.t...@datacom.com.au mailto:nishan.jebana...@datacom.com.au | Ph: +61-2-8114-3100 | Fx: +61-2-8114-3101 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Marko Salonen Sent: Wednesday, 23 September 2009 2:22 PM To: ozmoss@ozmoss.com Subject: Get rid off the hor. scroll bar Hi All I am trying to fit everything in a 1280 wide window so that the horizontal scroll bar doesn't show up. I have looked into the .master we use, but that doesn't seem to define a width anywhere. I have also tried looking elsewhere but I have no idea how to this. It's a noob question, but I am a noob afterall! J Don't even know what to google for. Kind Regards, Marko Salonen Client Manager / Business Analyst Vale - Information Technology Communication Level 10, 100 Creek St, Brisbane QLD Australia 4000 P. +61 7 3136 0783 M. +61 (0) 4473 52934 This email and any files transmitted with it are intended solely for the use of the individual or entity to whom this email is addressed. This email's contents are confidential and may contain copyright and/or legally privileged information. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason. If this e-mail was sent to you in error, please notify the sender by return email, and delete this email without making a copy. Any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. Thank you. P Please consider the environment before printing this email # Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. # ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Get rid off the hor. scroll bar
Paul, I think Marko wants to fit all content in 1280 and not showing the horizontal scroll bar, this can be done by setting the outer div width to 1280 and overflow to hidden? Of course he needs to make sure all content can fit into 1280 and not got cut out. Jeffery Tsui Datacom Software Solutions | Level 7, 120 Sussex Street, Sydney, NSW 2000 Australia Email: jeffery.t...@datacom.com.au mailto:nishan.jebana...@datacom.com.au | Ph: +61-2-8114-3100 | Fx: +61-2-8114-3101 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul Noone Sent: Wednesday, 23 September 2009 3:02 PM To: ozmoss@ozmoss.com Subject: RE: Get rid off the hor. scroll bar Setting the outer div is unlikely to fix your current problem. For horizontal scroll bars to be displaying there must be something wide enough to exceed your screen width. Either that or you've set container:auto-scroll on one of your divs. 1280px is more than wide enough for any site. Can you give us a URL? Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Marko Salonen Sent: Wednesday, 23 September 2009 2:59 PM To: ozmoss@ozmoss.com Subject: RE: Get rid off the hor. scroll bar Hi It's a custom master page. I am guessing the easy way is to set a width to the outer div? Whats the other option? Thanks! Regards, Marko From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Wednesday, 23 September 2009 2:46 PM To: ozmoss@ozmoss.com Subject: RE: Get rid off the hor. scroll bar Is this a custom master page or OOTB master pages? You can always set the page body width via css or set the width for the outer div container in custom master page or change outer table width for OOTB master pages. This can be an easy or hard task depending on how you want to deal with it. Cheers Jeffery Tsui Datacom Software Solutions | Level 7, 120 Sussex Street, Sydney, NSW 2000 Australia Email: jeffery.t...@datacom.com.au mailto:nishan.jebana...@datacom.com.au | Ph: +61-2-8114-3100 | Fx: +61-2-8114-3101 From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Marko Salonen Sent: Wednesday, 23 September 2009 2:22 PM To: ozmoss@ozmoss.com Subject: Get rid off the hor. scroll bar Hi All I am trying to fit everything in a 1280 wide window so that the horizontal scroll bar doesn't show up. I have looked into the .master we use, but that doesn't seem to define a width anywhere. I have also tried looking elsewhere but I have no idea how to this. It's a noob question, but I am a noob afterall! J Don't even know what to google for. Kind Regards, Marko Salonen Client Manager / Business Analyst Vale - Information Technology Communication Level 10, 100 Creek St, Brisbane QLD Australia 4000 P. +61 7 3136 0783 M. +61 (0) 4473 52934 This email and any files transmitted with it are intended solely for the use of the individual or entity to whom this email is addressed. This email's contents are confidential and may contain copyright and/or legally privileged information. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason. If this e-mail was sent to you in error, please notify the sender by return email, and delete this email without making a copy. Any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. Thank you. P Please consider the environment before printing this email Confidentiality and Privilege Notice This document is intended solely for the named addressee. The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you. This email and any files transmitted with it are intended solely for the use of the individual or entity to whom this email is addressed. This email's contents are confidential and may contain copyright and/or legally privileged information. If you are not the intended recipient, you must not read, print, store, copy, forward or use this email for any reason. If this e-mail was sent to you in error, please notify the sender by return email, and delete this email without making a copy. Any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. Thank you. P Please consider the environment before printing this email
Re: Testing, testing, 1, 2, 3
I've set it to filter message contains ozmoss.com and it worked. On Wed, Sep 16, 2009 at 9:16 AM, Chris Milne chris.mi...@dataaspects.com.au wrote: Agree. Any word on what condition I might use to tag these in mail rules? Message header 'to:ozmoss' maybe? -Original Message- From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Bill Williamson Sent: Wednesday, 16 September 2009 9:11 AM To: Nigel Hertz Cc: ozmoss@ozmoss.com Subject: Re: Testing, testing, 1, 2, 3 Reply-to on this new list is set to the original poster. 15 years ago I'd have said that was a good thing, but most people nowadays click reply, not reply all, so perhaps it should be changed to reply-to the list? On Wed, Sep 16, 2009 at 9:08 AM, Nigel Hertz nigel.he...@stockland.com.au wrote: Are we live? J Kind regards Nigel Hertz Software Developer | Information Technology Stockland Level 25 | 133 Castlereagh Street | Sydney NSW 2000 T: 02 9035 2617 | F: 02 8988 2617 Stockland Notice: If this communication has been sent to you by mistake, please delete and notify us. If it has been sent to you by mistake, legal privilege is not waived or lost and you are not entitled to use it in any way. Stockland and its subsidiaries reserve the right to monitor e-mail communication through its networks. ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
RE: Search not working for anonymous users
Found this by googling http://prequest01.wordpress.com/2008/10/02/search-does-not-work-with-anonymo us-access/ From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Monday, 7 September 2009 9:30 PM To: ozmoss@ozmoss.com Subject: RE: Search not working for anonymous users Is anonymous access enabled in both Central Admin and site settings? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Ajay Sent: Monday, 7 September 2009 6:18 PM To: ozmoss@ozmoss.com Subject: Search not working for anonymous users Hi Guys, At one client set up.. SharePoint search does not return any results for anonymous users. When I am logged in. it does seem to work fine. Please advise what to look for troubleshooting Cheers A _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: Blogs - Anonymous
Hi Trent, Have you tried to turn off the content approval for the Posts list? I remember someone mentioned that enabling content approval breaks the anonymous access to blog site. Cheers Jeffery From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Trent Allday Sent: Monday, 31 August 2009 1:47 PM To: ozmoss@ozmoss.com Subject: Blogs - Anonymous Hi Guys, Bit of weird one. I am trying to setup a public Blog site using out of the box sharepoint site template. I have got it working 100% on my development environment (very easily) but the issue is happening on the live environment. The issue is that anonymous access doesn't seem to be working correctly. I currently have the entire site working in anonymous access mode and all is working correctly until I go to look at some blog items. I can hit the blog home page i.e. /blogs/default.aspx (without login prompt) however I soon as I click on a heading or category I am prompted for user login. I have setup the site to inherit permissions and have also tried explicitly setting the permissions on all lists within /blogs site for anonymous access yet it still doesn't work. The blog is within the standard masterpage so there isn't anything on the site that could be causing login prompt. Has anybody heard of this issue before or is there a MS patch? Thanks, Trent _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: Content type feature - FieldRef question
You will only need to include custom columns. Try SPSource, it did a great job with reverse engineering. Let me know if you need more details. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Wednesday, 26 August 2009 10:45 AM To: ozmoss@ozmoss.com Subject: Content type feature - FieldRef question Hi guys, Before I deploy my content type feature I just wanted to confirm something about the included FieldRefs. My custom document CT inherits from Document which already includes Name and title Columns. Any other columns (whether custom or pre-existing) need to be defined in the order I want to see them and will be appended, correct? Elements xmlns=http://schemas.microsoft.com/sharepoint/; ContentType ID=0x010100DC863B72929F8148A8A84BF932C53567 Name=CEO Document Description=Generic document type for use with all non-Office documents. Group=CEO Content Types FieldRefs FieldRef ID={f6da830a-c5b3-44df-9d9f-86f63edb130c} Name=Document_x0020_Type Required=TRUE Hidden=FALSE ReadOnly=FALSE / FieldRef ID={d4070fe7-0b06-479c-9867-ac4c99f2f63a} Name=Document_x0020_Category Required=TRUE Hidden=FALSE ReadOnly=FALSE / FieldRef ID={246d0907-637c-46b7-9aa0-0bb914daa832} Name=Author Required=FALSE Hidden=FALSE ReadOnly=FALSE / FieldRef ID={b66e9b50-a28e-469b-b1a0-af0e45486874} Name=Keywords Required=FALSE Hidden=FALSE ReadOnly=FALSE / FieldRef ID={9da97a8a-1da5-4a77-98d3-4bc10456e700} Name=Comments Required=FALSE Hidden=FALSE ReadOnly=FALSE / FieldRef ID={409db641-4185-41bc-872f-fdfd34af1d1e} Name=Group_x0020_Permissions Required=TRUE Hidden=FALSE ReadOnly=FALSE / /FieldRefs /ContentType /Elements Regards, Paul Online Developer, ICT CEO Sydney _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: Sort SPGridView
Hi Paul, You will have to sort with DataView. DataView dv = tblSiteColumns.DefaultView; dv.Sort = columnName sortOrder; grdSiteColumns.DataSource = dv; grdSiteColumns.DataBind(); Cheers Jeffery From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Tuesday, 25 August 2009 9:19 AM To: ozmoss@ozmoss.com Subject: Sort SPGridView Hi all, Ive got a simple system page which uses an SPGridView to display all site columns and their IDs. Can anyone provide some advice on how to define the sort order? As an added bonus Id also like to add the AllowPaging and AllowSorting functions. J Any help appreciated. Regards, Paul 8ß-- protected override void OnLoad(EventArgs e) { SPWeb web = SPContext.Current.Web; // Get role reference SPRoleDefinitionBindingCollection usersRoles = web.AllRolesForCurrentUser; SPRoleDefinitionCollection siteRoleCollection = web.RoleDefinitions; SPRoleDefinition roleDefinition = siteRoleCollection[Full Control]; if ((usersRoles.Contains(roleDefinition)) || web.CurrentUser.IsSiteAdmin) { //*** //Check if post back if (IsPostBack != true) { initPage(); } } else { Response.Redirect(/_layouts/accessdenied.aspx); } } public void initPage() { // Create a DataTable to hold our Site Column Data DataTable tblSiteColumns = new DataTable(); tblSiteColumns.Columns.Add(ColumnName); tblSiteColumns.Columns.Add(ColumnID); tblSiteColumns.Columns.Add(ColumnDescription); // SPGridView // Create SPBoundField for each column SPBoundField fldNameField = new SPBoundField(); fldNameField.DataField = ColumnName; fldNameField.HeaderText = Column Name; fldNameField.ItemStyle.Wrap = false; SPBoundField fldIDField = new SPBoundField(); fldIDField.DataField = ColumnID; fldIDField.HeaderText = Column ID; fldIDField.ItemStyle.Wrap = false; SPBoundField fldDescriptionField = new SPBoundField(); fldDescriptionField.DataField = ColumnDescription; fldDescriptionField.HeaderText = Column Description; // Add the columns to the grid grdSiteColumns.Columns.Add(fldNameField); grdSiteColumns.Columns.Add(fldIDField); grdSiteColumns.Columns.Add(fldDescriptionField); //Populate the DataTable foreach (SPField field in SPContext.Current.Web.Fields) { string[] rowValue = new string[3]; rowValue[0] = field.Title; rowValue[1] = field.Id.ToString(); rowValue[2] = field.Description; tblSiteColumns.Rows.Add(rowValue); } tblSiteColumns.AcceptChanges(); //Bind the DataTable to the Grid grdSiteColumns.DataSource = tblSiteColumns; grdSiteColumns.DataBind(); //*** } _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: Sort SPGridView
My bad J The site column gallery is using [Group] property of the site columns, not sure if the internal name will be different. In order to achieve the same grouping look and feel, I think you will have to use nested gridview or repeater combined with gridview. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Tuesday, 25 August 2009 10:02 AM To: ozmoss@ozmoss.com Subject: RE: Sort SPGridView Thanks Jeffery! Once I worked out that sortOrder needed to be replaced with asc or desc I was on a roll. Easy when you know how. J Now at the risk of pushing my luck any idea what the name of the Column Group is and how to group by that to achieve the same look as _layouts/mngfield.aspx? Regards, Paul From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Tuesday, 25 August 2009 9:36 AM To: ozmoss@ozmoss.com Subject: RE: Sort SPGridView Hi Paul, You will have to sort with DataView. DataView dv = tblSiteColumns.DefaultView; dv.Sort = columnName sortOrder; grdSiteColumns.DataSource = dv; grdSiteColumns.DataBind(); Cheers Jeffery From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Tuesday, 25 August 2009 9:19 AM To: ozmoss@ozmoss.com Subject: Sort SPGridView Hi all, Ive got a simple system page which uses an SPGridView to display all site columns and their IDs. Can anyone provide some advice on how to define the sort order? As an added bonus Id also like to add the AllowPaging and AllowSorting functions. J Any help appreciated. Regards, Paul 8ß-- protected override void OnLoad(EventArgs e) { SPWeb web = SPContext.Current.Web; // Get role reference SPRoleDefinitionBindingCollection usersRoles = web.AllRolesForCurrentUser; SPRoleDefinitionCollection siteRoleCollection = web.RoleDefinitions; SPRoleDefinition roleDefinition = siteRoleCollection[Full Control]; if ((usersRoles.Contains(roleDefinition)) || web.CurrentUser.IsSiteAdmin) { //*** //Check if post back if (IsPostBack != true) { initPage(); } } else { Response.Redirect(/_layouts/accessdenied.aspx); } } public void initPage() { // Create a DataTable to hold our Site Column Data DataTable tblSiteColumns = new DataTable(); tblSiteColumns.Columns.Add(ColumnName); tblSiteColumns.Columns.Add(ColumnID); tblSiteColumns.Columns.Add(ColumnDescription); // SPGridView // Create SPBoundField for each column SPBoundField fldNameField = new SPBoundField(); fldNameField.DataField = ColumnName; fldNameField.HeaderText = Column Name; fldNameField.ItemStyle.Wrap = false; SPBoundField fldIDField = new SPBoundField(); fldIDField.DataField = ColumnID; fldIDField.HeaderText = Column ID; fldIDField.ItemStyle.Wrap = false; SPBoundField fldDescriptionField = new SPBoundField(); fldDescriptionField.DataField = ColumnDescription; fldDescriptionField.HeaderText = Column Description; // Add the columns to the grid grdSiteColumns.Columns.Add(fldNameField); grdSiteColumns.Columns.Add(fldIDField); grdSiteColumns.Columns.Add(fldDescriptionField); //Populate the DataTable foreach (SPField field in SPContext.Current.Web.Fields) { string[] rowValue = new string[3]; rowValue[0] = field.Title; rowValue[1] = field.Id.ToString(); rowValue[2] = field.Description; tblSiteColumns.Rows.Add(rowValue); } tblSiteColumns.AcceptChanges(); //Bind the DataTable to the Grid grdSiteColumns.DataSource = tblSiteColumns; grdSiteColumns.DataBind(); //*** } _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join
RE: Create Site Collection error
That's weird, I remember I had similar issue when trying to use a subsite only definition to create root site but can't remember the details. I might try to dig up something when got more time (currently working at client site without Internet access L and not much time left after work) From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Monday, 20 July 2009 8:52 AM To: ozmoss@ozmoss.com Subject: RE: Create Site Collection error Hi Jeffery, Yes, reverting the change seemed to fix things. Still don't know why because I'd activated any dependencies via other features. I believe the problem lies in the fact that these dependencies need to be activated at site creation. The custom defs are based on basic publishing and team site templates. They're not copies, the use the OOTB site defs through provisioning. Both these templates can be used to create root sites. I'm going to look at activating the other dependent features during site creation and see if that does the trick. Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Friday, 17 July 2009 10:13 PM To: ozmoss@ozmoss.com Subject: RE: Create Site Collection error Hi Paul, Any luck with reverting the changes? Did you used any OOTB site def to create the custom site def? eg. Making copy of OOTB site def to make changes then saved as custom site def. Some OOTB site def can only be used as sub site due to feature dependency thingy (correct me if I'm wrong). Posting the custom site def/template might help to pinpoint the possible cause. Cheers Jeffery From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Friday, 17 July 2009 11:07 AM To: ozmoss@ozmoss.com Subject: RE: Create Site Collection error I just reverted changed subWebOnly back to true and recycled the app pool. It's the only change I'd made so I'm hoping this was the cause. Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Michael Nemtsev Sent: Friday, 17 July 2009 10:46 AM To: ozmoss@ozmoss.com Subject: RE: Create Site Collection error Restart app pools and configuration wizard in attempt to fix?! Michael Nemtsev http://www.readify.net/ Readify | Microsoft MVP B: http://msmvps.com/blogs/laflour/ http://msmvps.com/blogs/laflour/ T: +61 424 184 978 From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Friday, 17 July 2009 9:26 AM To: ozmoss@ozmoss.com Subject: RE: Create Site Collection error Nope. Something's totally screwed up. I can't even create the pages library. The site is not valid. The 'Pages' document library is missing. Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Friday, 17 July 2009 9:14 AM To: ozmoss@ozmoss.com Subject: Create Site Collection error Hi guys, This is a new one for me and I can't find anything useful online. Just created a new SC via CA and received the following error: Cannot change permissions of root web: http://... I used my custom site def provisioner. The stapled features weren't enabled and the groups didn't get created. Looks like there may have been a reason these site defs were set to use SubWebOnly? Regards, Paul Online Developer, ICT CEO Sydney _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List
RE: Create Site Collection error
Hi Paul, Any luck with reverting the changes? Did you used any OOTB site def to create the custom site def? eg. Making copy of OOTB site def to make changes then saved as custom site def. Some OOTB site def can only be used as sub site due to feature dependency thingy (correct me if I'm wrong). Posting the custom site def/template might help to pinpoint the possible cause. Cheers Jeffery From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Friday, 17 July 2009 11:07 AM To: ozmoss@ozmoss.com Subject: RE: Create Site Collection error I just reverted changed subWebOnly back to true and recycled the app pool. It's the only change I'd made so I'm hoping this was the cause. Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Michael Nemtsev Sent: Friday, 17 July 2009 10:46 AM To: ozmoss@ozmoss.com Subject: RE: Create Site Collection error Restart app pools and configuration wizard in attempt to fix?! Michael Nemtsev http://www.readify.net/ Readify | Microsoft MVP B: http://msmvps.com/blogs/laflour/ http://msmvps.com/blogs/laflour/ T: +61 424 184 978 From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Friday, 17 July 2009 9:26 AM To: ozmoss@ozmoss.com Subject: RE: Create Site Collection error Nope. Something's totally screwed up. I can't even create the pages library. The site is not valid. The 'Pages' document library is missing. Regards, Paul Online Developer, ICT CEO Sydney From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Friday, 17 July 2009 9:14 AM To: ozmoss@ozmoss.com Subject: Create Site Collection error Hi guys, This is a new one for me and I can't find anything useful online. Just created a new SC via CA and received the following error: Cannot change permissions of root web: http://... I used my custom site def provisioner. The stapled features weren't enabled and the groups didn't get created. Looks like there may have been a reason these site defs were set to use SubWebOnly? Regards, Paul Online Developer, ICT CEO Sydney _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: Add custom sites to createsite.aspx
Hi Paul, Please check your custom site definition xml to make sure SubWebOnly has been set to false. Cheers Jeffery From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Noone Sent: Thursday, 16 July 2009 10:31 AM To: ozmoss@ozmoss.com Subject: Add custom sites to createsite.aspx Hi all, Here's a dev question for a change so I expect a BIG response. J I've got a site provisioning feature that works just great. My custom site defs appear as expected within the Template Selection section of _layouts/newsbweb.aspx. But how the heck do I get them into _admin/createsite.aspx so I can use them as root sites for site collections?? Regards, Paul Online Developer, ICT CEO Sydney _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: MOSS SP2..license bug
Yes, my dev environment has been changed to Office SharePoint Server Trial with Enterprise Client Access License. Luckily it's dev environment J From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Tommy Segoro Sent: Thursday, 21 May 2009 3:51 PM To: ozmoss@ozmoss.com Subject: MOSS SP2..license bug Interesting thing... I found that my license is going back to Trial after installation of SP2. Did you guys experience the same thing? Tommy Segoro Microsoft Business Management Solutions Specialist (MBMSS) Microsoft Certified Technology Specialist (MCTS) Microsoft Certified Professional (MCP) Technical Lead, Advisory cid:image001.png@01C94897.FE60D430 L7 Solutions Pty Ltd www.L7.com.au http://www.l7.com.au/ Technical Support 1300 136 722 M: +61 404 457 754 F: +61 8 9221 7744 Ground Floor 256 Adelaide Terrace Perth WA 6000 PO Box 3044 Adelaide Terrace WA 6832 _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists image001.png
RE: createtaskwithcontenttype
I also prefer to use feature to deploy custom content type, especially custom workflow task which allows you to easily manage custom columns and form association. The default workflow task content type has ContentType ID=0x010801 , you will need to add 00 before appending GUID without -. Eg. 0x01080100113E21589FD845e281EFD2F7E3D88D5B Remember to use CreateTaskWithContentType action and point the ContentTypeId to the custom content type id. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill Sent: Tuesday, 19 May 2009 11:18 AM To: ozmoss@ozmoss.com Subject: RE: createtaskwithcontenttype Create a content type that inherits from the workflow task one - we did that via a feature. So something like this in your elements file should so it: ContentType ID=0x01080100[GUID GOES HERE] Name=My Custom Approval Workflow Task Group=My Custom Workflow Content Types Description=A task used in my custom approval workflow Version=0 Hidden=FALSE This creates a CT that inherits from the workflow task one, and from here in that XML I can add fields to it like any other content type deployed via a feature to store my own data. I hope that helps. Brian Farnhill Consultant Technical Consulting Mobile: 0408 289 303 Email: mailto:brian.farnh...@uniqueworld.net brian.farnh...@uniqueworld.net Web: http://www.uniqueworld.net www.uniqueworld.net Blog: http://blog.brianfarnhill.com/ blog.brianfarnhill.com _ From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Chris Milne [chris.mi...@dataaspects.com.au] Sent: Tuesday, 19 May 2009 10:57 AM To: ozmoss@ozmoss.com Subject: createtaskwithcontenttype Morning all, I'm creating a SharePoint workflow in VS and am having trouble implementing createtaskwithcontenttype. Here's what I'm getting when I run the workflow: Workflow1. Information: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.ArgumentException: The content type of a workflow task must be derived from the Workflow Task content type. And here's what I'm doing: In the portal.. - Created a content type on my site, let's call it 'abc', derived from List / Task - Enabled content types on my task list - Added abc as a content type to my task list - Can manually create a task of this CT in this list - In VS... - Plopped down a 'createtaskwithcontenttype' (createTask1) and 'completetask' activity. Left 'ContentTypeId' property of the createtaskwithcontenttype' blank in the properties window - Populated the correlation tokens, task properties and task id's (works fine if i use a 'createtask' instead) - Grabbing the SPContentTypeId of abc in a code activity before the createtaskwithcontenttype - Setting: createTask1.ContentTypeId = abcContentTypeId.ToString() at the start of createTask1_MethodInvoking() Okay, so I've just realised that my CT is derived from List / Task, but it's expecting it to be derived from Workflow Task. I know this is the CT it uses if you instead use a 'createtask' activity, but how can you create a user-defined CT that derives from Workflow Task? Kind regards, Chris _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: createtaskwithcontenttype
I would suggest you to create a separate feature for the custom content type. Robert Shelton had a series of how to videos about custom workflow development which is very helpful (to me). http://sheltonblog.com/archive/2007/11/21/how-to-video-building-a-basic-appr oval-workflow-with-sharepoint.aspx From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Chris Milne Sent: Tuesday, 19 May 2009 1:24 PM To: ozmoss@ozmoss.com Subject: RE: createtaskwithcontenttype Many thanks Brian Jeffery. I was a little unclear on the use of the term 'feature', now it's all coming clear.. so my workflow project is already being pushed out as a feature, I can just add my content type to an existing or new element manifest, referenced from feature.xml. Sounds great.. thanks. Kind regards, Chris From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill Sent: Tuesday, 19 May 2009 1:12 PM To: ozmoss@ozmoss.com Subject: RE: createtaskwithcontenttype That's in a feature, so generally in a feature you have your feature.xml file, and one or more elements XML files (if you just have one it is generally called elements.xml) Check out SPDevWiki for info on features and how to make them - http://sharepointdevwiki.com/display/public/Features Brian Farnhill Consultant Technical Consulting Mobile: 0408 289 303 Email: mailto:brian.farnh...@uniqueworld.net brian.farnh...@uniqueworld.net Web: http://www.uniqueworld.net www.uniqueworld.net Blog: http://blog.brianfarnhill.com/ blog.brianfarnhill.com _ From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Chris Milne [chris.mi...@dataaspects.com.au] Sent: Tuesday, 19 May 2009 1:01 PM To: ozmoss@ozmoss.com Subject: RE: createtaskwithcontenttype Thanks Brian. Elements file.. is that in a site definition? Do you need to create one to implement that? So far I've just created the workflow project. Kind regards, Chris From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Brian Farnhill Sent: Tuesday, 19 May 2009 11:18 AM To: ozmoss@ozmoss.com Subject: RE: createtaskwithcontenttype Create a content type that inherits from the workflow task one - we did that via a feature. So something like this in your elements file should so it: ContentType ID=0x01080100[GUID GOES HERE] Name=My Custom Approval Workflow Task Group=My Custom Workflow Content Types Description=A task used in my custom approval workflow Version=0 Hidden=FALSE This creates a CT that inherits from the workflow task one, and from here in that XML I can add fields to it like any other content type deployed via a feature to store my own data. I hope that helps. Brian Farnhill Consultant Technical Consulting Mobile: 0408 289 303 Email: mailto:brian.farnh...@uniqueworld.net brian.farnh...@uniqueworld.net Web: http://www.uniqueworld.net www.uniqueworld.net Blog: http://blog.brianfarnhill.com/ blog.brianfarnhill.com _ From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Chris Milne [chris.mi...@dataaspects.com.au] Sent: Tuesday, 19 May 2009 10:57 AM To: ozmoss@ozmoss.com Subject: createtaskwithcontenttype Morning all, I'm creating a SharePoint workflow in VS and am having trouble implementing createtaskwithcontenttype. Here's what I'm getting when I run the workflow: Workflow1. Information: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --- System.ArgumentException: The content type of a workflow task must be derived from the Workflow Task content type. And here's what I'm doing: In the portal.. - Created a content type on my site, let's call it 'abc', derived from List / Task - Enabled content types on my task list - Added abc as a content type to my task list - Can manually create a task of this CT in this list - In VS... - Plopped down a 'createtaskwithcontenttype' (createTask1) and 'completetask' activity. Left 'ContentTypeId' property of the createtaskwithcontenttype' blank in the properties window - Populated the correlation tokens, task properties and task id's (works fine if i use a 'createtask' instead) - Grabbing the SPContentTypeId of abc in a code activity before the createtaskwithcontenttype - Setting: createTask1.ContentTypeId = abcContentTypeId.ToString() at the start of createTask1_MethodInvoking() Okay, so I've just realised that my CT is derived from List / Task, but it's expecting it to be derived from Workflow Task. I know this is the CT it uses if you instead use a 'createtask' activity, but how can you create a user-defined CT that derives from Workflow Task? Kind regards, Chris _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe:
RE: Attack Workflow to document library?
Copying SPD WF will lead to the issue with duplicated BaseID which disabled the old WF and treated the copied WF as a newer version. Never tried to copy it across site collections though, but I guess it shouldn't have the same issue as Tuan did. Will give it a try tomorrow and report back. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeremy Thake Sent: Tuesday, 5 May 2009 6:51 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? I was under the impression there were issues with copying SPD WF's. Can you do this across Site Collections? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Tuesday, 5 May 2009 4:46 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? I don't understand your question. Maybe it isn't clear enough. I use copy/paste in SPD to clone WF. And I prefer clone WF instead of create a new one because I can re-use many steps in the old WF. Regards, Tuan. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeremy Thake Sent: Tuesday, May 05, 2009 3:09 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? Out of interest, what information were you using to clone an SPD Workflow? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Tuesday, 5 May 2009 1:50 AM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? Hi Jeffery, You are right. The problem is duplicate BaseID; I've solved the problem now. J Thank you. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Monday, May 04, 2009 7:58 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? Hi Tuan, When you make a copy of existing SPD workflow, it's using the same BaseID as specified in the xoml.wfconfig.xml and treated as a newer version of the old workflow rather than a new workflow. A simple fix is to modify the BaseID and republish the workflow. Hope this helps. Cheers Jeffery From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Monday, 4 May 2009 5:43 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? Firstly, I created a WF to do 3 checking tasks; After that, I think that I may want 3 separate WF to do these tasks. In order to do that, I clone the first WF to two copies and modifies to match the requirements. But only the first WF working; these others don't work, don't appear when I select WF in Item in the Document library. I attached 2 pictures for more information. Regards, Tuan. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Monday, May 04, 2009 2:32 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? Can you provide more details on the usage of the workflow and why you wanted to make a copy of it? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Monday, 4 May 2009 5:05 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? These WFs created, cloned by SP designer. Regards, Tuan. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Monday, May 04, 2009 2:00 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? Is this OOTB workflow or custom workflow with SPD or custom workflow with workflow foundation? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Monday, 4 May 2009 4:57 PM To: ozmoss@ozmoss.com Subject: Attack Workflow to document library? I created a workflow and check Automatic start this workflow when an item is changed; this flow working normally. After that I copied this Workflow and pasted to two others WF; but these two WF DID NOT run. These are also didn't appear on Library workflows where usually display running and completed workflows. I want to re-attack these WFs to document library and want them to run automatically whenever Item is changed. How can I resolve that prob? Tuan. _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address
RE: Multiple workflows per VS project
I previous created a custom workflow with custom content type and aspx form page. I've packaged the workflow and content type into one wsp and the form in separate wsp. Can't remember the reason behind this, though. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner Sent: Wednesday, 6 May 2009 2:49 PM To: ozmoss@ozmoss.com Subject: RE: Multiple workflows per VS project You also can't package other files i.e. content types or approval aspx pages etc... so you end up with 2 packages as a minimum. Again... this is due to be 'fixed' in 2010. Regards Paul Turner Senior Solution Specialist M: 0412 748 168 P: 08 8238 0912 F: 08 8234 5966 A: 66 Henley Beach Road, Mile End SA 5031 E: paul.tur...@sdm.com.au W: www.dws.com.au http://www.dws.com.au/ _ From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Jeremy Thake [jeremy.th...@readify.net] Sent: Wednesday, 6 May 2009 2:14 PM To: ozmoss@ozmoss.com Subject: RE: Multiple workflows per VS project If that is the case have you looked at WSPBuilder or STSDev as an alternative? Didn't realise that was an issue, have added it to the list http://www.sharepointdevwiki.com/display/public/Solution+package+development +tool+comparisons From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Paul Turner Sent: Wednesday, 6 May 2009 12:40 PM To: ozmoss@ozmoss.com Subject: RE: Multiple workflows per VS project WSP view will be blank. The extensions won't/can't package workflows into WSP's. I normally run a post build step and include a solution.xml and ddf file. It is meant to be fixed in VS2010 (I logged in on Connect a while ago). Regards Paul Turner Senior Solution Specialist M: 0412 748 168 P: 08 8238 0912 F: 08 8234 5966 A: 66 Henley Beach Road, Mile End SA 5031 E: paul.tur...@sdm.com.au W: www.dws.com.au http://www.dws.com.au/ _ From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Chris Milne [chris.mi...@dataaspects.com.au] Sent: Wednesday, 6 May 2009 12:27 PM To: ozmoss@ozmoss.com Subject: RE: Multiple workflows per VS project Thanks M, When I mentioned that workflow.xml has no delete/rename, I was talking about Solution View. Actually, my WSP view is completely empty. I thought it was some kind of fault but then I wasn't sure if workflows were packaged that way; so they definitely are? I have no files listed in the WSP view.. I read somewhere you need to do a release build to build the WSP first, which I've done, but no dice, nada. Sorry, not sure what you mean you say pkg folder - this is in the Solution Explorer? Thanks for your help. C From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Matthew Cosier Sent: Wednesday, 6 May 2009 12:46 PM To: ozmoss@ozmoss.com Subject: Re: Multiple workflows per VS project Sounds like you're trying to edit it within the WSP view. Click the 'Show hidden files' button in VS, then include the pkg folder into your project (this is the one it generates). You should be able to add to/manipulate this, then go into your WSP view and hit the refresh button - play around with it. M On Wed, May 6, 2009 at 12:23 PM, Chris Milne chris.mi...@dataaspects.com.au wrote: Hey guys, I'm creating a workflow solution using VSeWSS 1.3. I have 3 sequential workflows to create which I was expecting to add to the same project, deploy as a single assembly in a feature and away I go. However, the VSeWSS Sequential Workflow template comes with a feature.xml and workflow.xml, and the workflow.xml relates to the existing workflow. If I add new workflows to the project, it doesn't create a workflow.xml for each one, so I can create new ones manually, each named the same as the workflows(.xml), but VS doesn't let you rename the original workflow.xml (right-click, no rename/delete). My additional element manifests don't seem to be included in the deploy either, resulting in a file not found error. This kind of suggests that you're supposed to leave it as is, even though you can change the element manifest filename reference in feature.xml. Would I have to create one project per workflow? Then I'd have 3 different features to activate in the portal, when really they're all part of the same solution. Thoughts/Ideas? Kind regards, Chris _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to
RE: Attack Workflow to document library?
Is this OOTB workflow or custom workflow with SPD or custom workflow with workflow foundation? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Monday, 4 May 2009 4:57 PM To: ozmoss@ozmoss.com Subject: Attack Workflow to document library? I created a workflow and check Automatic start this workflow when an item is changed; this flow working normally. After that I copied this Workflow and pasted to two others WF; but these two WF DID NOT run. These are also didn't appear on Library workflows where usually display running and completed workflows. I want to re-attack these WFs to document library and want them to run automatically whenever Item is changed. How can I resolve that prob? Tuan. _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: Attack Workflow to document library?
If you copy and pasted a SPD workflow, it will still be pointing to the original list. Is this the problem? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Monday, 4 May 2009 5:05 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? These WFs created, cloned by SP designer. Regards, Tuan. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Monday, May 04, 2009 2:00 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? Is this OOTB workflow or custom workflow with SPD or custom workflow with workflow foundation? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Monday, 4 May 2009 4:57 PM To: ozmoss@ozmoss.com Subject: Attack Workflow to document library? I created a workflow and check Automatic start this workflow when an item is changed; this flow working normally. After that I copied this Workflow and pasted to two others WF; but these two WF DID NOT run. These are also didn't appear on Library workflows where usually display running and completed workflows. I want to re-attack these WFs to document library and want them to run automatically whenever Item is changed. How can I resolve that prob? Tuan. _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: Attack Workflow to document library?
Can you provide more details on the usage of the workflow and why you wanted to make a copy of it? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Monday, 4 May 2009 5:05 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? These WFs created, cloned by SP designer. Regards, Tuan. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Monday, May 04, 2009 2:00 PM To: ozmoss@ozmoss.com Subject: RE: Attack Workflow to document library? Is this OOTB workflow or custom workflow with SPD or custom workflow with workflow foundation? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Mai Anh Tuan Sent: Monday, 4 May 2009 4:57 PM To: ozmoss@ozmoss.com Subject: Attack Workflow to document library? I created a workflow and check Automatic start this workflow when an item is changed; this flow working normally. After that I copied this Workflow and pasted to two others WF; but these two WF DID NOT run. These are also didn't appear on Library workflows where usually display running and completed workflows. I want to re-attack these WFs to document library and want them to run automatically whenever Item is changed. How can I resolve that prob? Tuan. _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
RE: Error with SP2 [SEC=UNCLASSIFIED]
LOL if (IsFree) DoNothing(); else MoveToSupportWaitingList(); From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Michael Nemtsev Sent: Thursday, 30 April 2009 3:55 PM To: ozmoss@ozmoss.com Subject: RE: Error with SP2 [SEC=UNCLASSIFIED] Free template doesn't mean that it's mainstream functionality. Why should they test it?! It's free and no support guarantee :) Michael Nemtsev Readify | Microsoft MVP http://msmvps.org/blogs/laflour T: 0424 184 978 | E: mailto:michael.nemt...@readify.net michael.nemt...@readify.net _ From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Noja, Fadi [fadi.n...@fahcsia.gov.au] Sent: Thursday, 30 April 2009 3:33 PM To: ozmoss@ozmoss.com Subject: RE: Error with SP2 [SEC=UNCLASSIFIED] That's what's causing it. Im surprised Microsoft haven't tested it since Groupboard is a free template by them. Thanks for that. _ From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Michael Nemtsev Sent: Thursday, 30 April 2009 3:14 PM To: ozmoss@ozmoss.com Subject: RE: Error with SP2 [SEC=UNCLASSIFIED] Do you have GroupBoard installed?! They say it can cause this error. Check that technet article http://translate.google.com/translate?hl=ensl=deu=http://technetmicrosof t.com/de-de/library/cc288269.aspxei=6zD5SZqxOqjhtgfl9o2uDwsa=Xoi=translat eresnum=6ct=resultprev=/search%3Fq%3Dsharepoint%2Bhotfix%2BSPDatabaseGbwS equence%2Bschema%2Bversion%26hl%3Den%26rlz%3D1C1_enUS323US323 http://translate.google.com/translate?hl=ensl=deu=http://technet.microsoft com/de-de/library/cc288269.aspxei=6zD5SZqxOqjhtgfl9o2uDwsa=Xoi=translate resnum=6ct=resultprev=/search%3Fq%3Dsharepoint%2Bhotfix%2BSPDatabaseGbwSe quence%2Bschema%2Bversion%26hl%3Den%26rlz%3D1C1_enUS323US323 Michael Nemtsev Readify | Microsoft MVP http://msmvps.org/blogs/laflour T: 0424 184 978 | E: mailto:michael.nemt...@readify.net michael.nemt...@readify.net _ From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Noja, Fadi [fadi.n...@fahcsia.gov.au] Sent: Thursday, 30 April 2009 2:09 PM To: ozmoss@ozmoss.com Subject: RE: Error with SP2 [SEC=UNCLASSIFIED] I did. They were all at the same stage. SP2 upgrades the schema to version 2.0.0.0 and some hotfix had upgraded it to 3.0.1.0 _ From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of ken zheng Sent: Thursday, 30 April 2009 12:29 PM To: ozmoss@ozmoss.com Subject: RE: Error with SP2 [SEC=UNCLASSIFIED] I saw this error before, you have to make sure every web front has run the upgrade before the configuration Ken From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Noja, Fadi Sent: Thursday, 30 April 2009 12:11 PM To: ozmoss@ozmoss.com Subject: RE: Error with SP2 [SEC=UNCLASSIFIED] I don't have that error message in the logs. When I try the force upgrade, it spits out an error saying htat the instance is not empty and does not match current database schema. It also wasn't an upgrade from 2003. It was a farm that was built from scratch with 2007 on it. I looked into it, the current schema is saying it's version 3.0.1.0 and it's trying to upgrade it to v 2.0.0.0. So I think we've installed a hotfix at one point that has upgraded the schema and in SP2 they've put the old schema in it. _ From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Michael Nemtsev Sent: Thursday, 30 April 2009 12:04 PM To: ozmoss@ozmoss.com Subject: RE: Error with SP2 [SEC=UNCLASSIFIED] The actual installation is doing few things. Wizard apply majority of changes. Referring to your SQL version is look like that you have right version, not outdated. Your current issue is not caused by SP2 specifically. It's common issue, which are about leaving sites in inconsistet state (did you migrate this site previously from SharePoint 2003?). I had rhis issue with SP1 :) Do you have any records in event log? something like this one The schema version of the database WSS_Content on SHAREPOINT1\OfficeServers is not consistent with the expected database schema version on SHAREPOINT1. Connections to this database from this server have been blocked to avoid data loss. Upgrade the web front end or the content database to ensure that these versions match. To fix this use STSADM.EXE -o upgrade -inplace -forceupgrade -url http://site; for each web application you have. and then run wizard psconfig -cmd upgrade -inplace b2b -wait -force Michael Nemtsev Readify | Microsoft MVP http://msmvps.org/blogs/laflour T: 0424 184 978 | E: mailto:michael.nemt...@readify.net michael.nemt...@readify.net _ From: ozmoss@ozmoss.com [ozm...@ozmoss.com] On Behalf Of Noja, Fadi [fadi.n...@fahcsia.gov.au] Sent: Thursday, 30 April 2009 11:52 AM To: ozmoss@ozmoss.com Subject: RE: Error with SP2 [SEC=UNCLASSIFIED] SP2 installation ran fine, only the Wizard spat that error out. _ From:
RE: Error Run ASP .NET web application in x64 server
A quick note on how to check if a dll is x64 or x86. Look for Processor Architecture in the GAC. Ken, you may want to check if Microsoft.Office.Server.Search.dll in GAC is x64 or x86. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Jeffery Tsui Sent: Thursday, 29 January 2009 10:16 AM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server I suspect it has x86 sharepoint on x64 server. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Daniel Brown Sent: Thursday, 29 January 2009 10:07 AM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server Hi Ken, What version of ASP.NET and SharePoint are you running (x86 or x64)? Cheers, Daniel From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of ken zheng Sent: Thursday, 29 January 2009 9:01 AM To: ozmoss@ozmoss.com Subject: Error Run ASP .NET web application in x64 server Hi: I wonder if anyone developed ASP .NET applcation referenceing Sharepoint dlls in x64 windows 2003. I created a simple web project in visual studio and reference Microsoft.SharePoint.Publishing. But when I run the applicaiton I got System.BadImageFormatException: Could not load file or assembly 'Microsoft.Office.Server.Search, Version=12.0.0.0. I tried all different setting of the Platform Target but still gets error. The IIS is version 6, and works fine in console application. Anyone has same problem? Cheers Ken _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists _ Support procedure: https://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists http://www.codify.com/lists Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
How to exclude OU from LDAP query
Hi all, Wondering if anyone has had experience in importing AD profile with LDAP query to exclude (or include) specific OUs? OU structure as follow: n OU_lv1 § OU_lv2_1 · OU_lv3_1 · OU_lv3_2 · OU_lv3_3 § OU_lv2_2 § OU_lv2_3 Requirement: include all profiles but exclude OU_lv3_1. Ive tried following with no luck: ((objectCategory=Person)(objectClass=User)(!(memberof:1.2.840.1135561.4.19 41:=(CN=Authenticated Users,OU=OU_lv3_1,OU=OU_lv2_1,OU=OU_lv1,DC=domain,DC=local ((objectCategory=Person)(objectClass=User)(memberof:1.2.840.113556.14.1941 :=(CN=Authenticated Users, OU=OU_lv1,DC=domain,DC=local))) Thanks Jeffery Support procedure: http://www.codify.com/lists/support List address: ozmoss@ozmoss.com Subscribe: ozmoss-subscr...@ozmoss.com Unsubscribe: ozmoss-unsubscr...@ozmoss.com List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists