Stsadm command - enumerate subsites/list/libraries under 1 site collection into a csv file
Hi all
Do we have any examples of stsadm commands that I can write to enumerate the subsites/lists/libraries under the sharepoint 2007 site.
You can still use PowerShell how to do it, even when its SharePoint 2007 (you won't be able to use the SharePoint cmdlets though), but it will make it easier to generate the csv file. Look at this link to get the code for the enumerations:
http://blogs.msdn.com/b/vijay/archive/2009/10/01/how-to-list-all-the-sub-sites-and-the-site-collections-within-a-sharepoint-web-application-using-windows-powershell.aspx
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com
Similar Messages
-
Hi there,
I will appreciate if someone can please give me a PowerShell script to get ALL sites/subsites/lists/libraries where "Domain\User123" has access (any access).
Thanks.This script gave me what I was after http://www.sharepointdiary.com/2013/01/permission-report-for-specific-user.html
Thanks all. -
How can I export multiple selections in a list box into a .csv file?
Hi all, I've created a form in Acrobat X with a list box enabled for multiple selections. When I try to export the filled out form into a .csv file, only the first selection shows up. Can anyone help me figure out how to get all selections to export? Thanks!
Thank you for your quick response!
Once a recipient fills out the form (which has two questions with list boxes and multiple selection enabled) they send the completed form back to me. When I open the completed form, I am given the option add the completed form to a reponse file which was set up when I distributed the form. When I open the reponse file, it lists all of the responses in rows, and the values that were chosen in the form are arranged in columns. In this file, the list boxe columns have multiple values, separated by commas (which is what I'm looking for). At this point there is an option to export into a .csv file or an .xml file. If I choose the .csv file and open in excel, only the first selection shows in the list box column rather than all selections that were initially made by the responder. -
Hi,
When creating a Site collection using Central admin, i am getting the error "One or more types failed to load. Please refer to the upgrade log for more details." . Microsoft.ApplicationServer.Caching.Core dll version on my machine is 1.0.4632 (App
Fabric 1.1).
Stack Trace
SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
find the file specified. dd64ad9c-0f90-e07d-aaaa-13533e0e9e4f
Thanks,
ThomasHi Thomas,
According to your description, my understanding is that you got an error when you created a site collection in SharePoint 2013.
I found a similar thread with yours, maybe it also was created by you. Anyway ,in the thread, the workaround is Changing the virtual directory web config of CA (Option 1 and 2 mentioned at
http://technet.microsoft.com/en-us/library/dn473937.aspx ) and it worked.
More information, please take a look at:
http://sharepoint.stackexchange.com/questions/111439/error-creating-site-collection-could-not-load-file-or-assembly-microsoft-appl
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Populate Lookup Lists from Different Site Collection
Hi,
we are using O365 environment
We have 2 Site Collections: Site Collection 1 has Sub sites and has lookup Columns in Lists..
This Subsite is created as a Site Collection 2 in O365 ..In Site Coll Lists we have Lists which has Lookup columns referring to Site Coll 1
How do I bring the content over to Site coll 2 with Lookup columns without having the Lists moved from Site Coll1
ThanksThis can't be done out of the box. It would require a custom solution or a 3rd party plugin (not sure if one exists or not).
Brandon Atkinson
Blog: http://sharepointbrandon.com -
Aggregate lists from multiple site collections
Hi,
I'm currently working on an application that stores its data in sharePoint lists. Some lists are created at the WebApp level while others are available at the SiteCollection level. All lists, at the same level, fit to the same structure.
I need to create SSRS reports based on consolidated values from all site collections. I'm interested in a solution using only SharePoint and SSRS, without writting code. It is important to note that SiteCollections are generated dynamically, meaning
that I don't have a fixed number of SiteCollections. Is that possible to make a cross SiteCollections query from SSRS or something similar that would not require code?
Thanks in advance,
Jerome.Hi Jerome,
i tried to look for the solution that is not with coding, but seems i can't find something that is similar with your needs, although i found this article.
http://camldotnet.codeplex.com/
Sharepoint have this class: SPSiteDataQuery.
this class should be able to query different site collection, but it is a must under the same web application.
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx
http://www.codeproject.com/Tips/401818/SharePoint-2010-SPSiteDataQuery-with-Example
http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-query-across-multiple-lists-in-multiple-web-sites-in-in-sharepoint/
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
SP2013: Can a subsite owner block the site collection owner?
I read some discussion telling me Sharepoint allow subsite owner can block parent site owner. But in my test, the Site Collection owner ALWAYS have FULL PERMISSION on subsite. Is it true?
I have tested in my farm. I login as one Site collection owner (A), create a subsite, then break the subsite permission inheritance. Assign someone (B) as subsite owner. Then I login as the subsite owner (B). Remove everyone but me (B) in the subsite
permission lists.
However, the SC owner (A) can still change the permission for this subsite. I use "check permission" to check against A. A have every permission although he is not belong to any permission group or permission level. Is it default behaviour?It is true, you can't block or reduce the permissions assigned to the site collection owner.
-
Best Way to Sync Lists Across Multiple Site Collections?
A quick query I'm hoping someone might be able to help me with...
Within our university intranet I am assigning each department a team site within its own Site Collection. So that departments can associate Document Library files with a set list of academic courses, I created a custom dropdown field and deployed it as a Feature. While this worked within SharePoint, when you attempted to set the document properties within the Microsoft Word environment the custom fields were rendered as empty text boxes (meaning that staff are no longer restricted in when information they can enter).
To get around this I'm considering going back-to-basics and creating a Custom List, populating it with the titles of our academic courses, and then assigning it to a Document Library via a Lookup Field. I know that Microsoft Word will then correctly display the metadata dropdown.
As I am using multiple Site Collections, I'm unsure of the "best" way to proceed.
I've already written a Console Application which can create a Custom List within a targetted site and populate it with the contents of an XML file - but I would need to run this every time I created a new Site Collection and what would I do when I wanted to update the contents of all the lists?
Other than modifying my Console Application to loop through all instances of the Custom List within Site Collections and sync it to the contents of the XML file, is there another (better) option that I am over-looking?
Its such a shame I can't create cross-collection Lookup Fields within all of the Site Collections that point to a single top-level list.
Many thanks.My instinctive questions drifts towards why you have different site collections. If all the sites were sub sites within the same site collection, a global field would solve the issue quite nicely.
If you have legitimate reasons for keeping the sites seperated into separate site collections, I would look at using an Event Handler to trigger updates to reference values in each site collection, be they global fields or lists. Then if you wish to update the values, you only need to update the trigger list to propagate the updates across your site sollections to all your sites in question.
I trust that answers your question...
Thanks
C
http://www.cjvandyk.com/blog -
Granting access to SharePoint Designer on a SubSite but not the Site Collection
Is it safe in SharePoint 2010 to give a user the ability to use SharePoint Designer on a SubSite of a Site Collection and not give them permission, other than Visitor access, to the root Site Collection (Parent Site collection)?
Most importantly, I want to make sure the only damage a user can do is to their own subsite, and not do anything that will impact the Site Collection.
I created a test user and granted it FULL access on a test subsite and only view on the parent site collection and was able to use designer logged in as the test user. I was able to modify the subsite pages and create workflow. I was not expecting
this to work based on the following statement in KB article
http://support.microsoft.com/kb/2592376
Overall, an user needs to be a member of one of the following groups at the site collection
level to be able to use SharePoint Designer and modify SharePoint content:
- Site Collection Administrators
- Designers
- Owners
Does anyone have any advice on this?
Thanks!I think I just found out why in SharePoint 2010 I'm able to give a user "Designer" permissions on a subsite and "Read" only permission on the parent Site Collection root site and they can still use SharePoint Designer with
no permission issues in the subsite.
http://suehernandez.wordpress.com/2013/02/15/sharepoint-designer-2010-you-do-not-have-permission-to-do-this-operation/
From the Article: "Turns out the reason for these varying behaviors is this: In 2007, new sites would automatically inherit their
master pages from their parents. If you made no changes to that, it inherited right up to the top. So it’s looking at the master page from the top, in those circumstances. And as we’ve seen here, if you don’t have Design permissions to it,
it doesn’t work.
In the case of a new 2010 site (just a regular Team Site), the new 2010 behavior is to use the Master Page in the gallery it has in its own site. And since the user is an Administrator (Full Control) of that
site, then no problem getting to the Master Page!"
Does anyone have any experience with this? -
Fastest way to get data from Multiple lists across multiple site collections
HI
I need to get data from multiple lists which spread across 20 site collections and need to show it as list view.
I have searched on internet about this and got some info like options would be to use search core APIs or BCS . I can't use search because I want real time data. Not sure of any other ways.
if anybody can provide ideas it would be help.Might LINQ be an option for you? Using
LINQPad and the
SharePoint Connector, you should be able to write a query that'll retrieve this data, from which you can tabulate it. I'm not sure how you'd be able to automate this any further so that it's then imported in as list.
For something more specific, I used a third party tool called the
Lightning Tools Lightning Conductor, which is essence a powerful content roll-up tool. In one of my solutions, I created a calculated column that gave an order / ranking on each item, so that when lists were combined, they'd still have some form of
order. The web part is also fairly customisable and has always proven a useful tool.
Hope that helps.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Only crawling one list not whole site collection in FAST Search 2010 for SP
Hi, I have one site collection and created different Lists inside it. Now I'd like to add some lists to the Content Source for FAST crawling. Everything fine but the search result includes other Lists that not added to the content source.
I know that we can add exclude rule to FAST Search, but it's difficult to add them all and we will create more lists in near future. We only need few lists to be crawled, so is there a solution for this issue?
Thank you.Hi JOSHUA,
According to your description, my understanding is that you want to make Fast Search only show results from the specified lists.
I recommend to create search scopes for SharePoint Fast Search and then you can filter the results by using the search scopes.
More information about creating search scopes in SharePoint Fast Search for you to take a look:
http://blogs.msdn.com/b/jorgeni/archive/2010/02/26/search-scopes-in-fast-search-for-sharepoint-part-1.aspx
http://soujanyatechtalk.wordpress.com/2011/10/30/search-scopes-in-sharepoint-2010-and-fast-search/
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Sharepoint 2010 Reporting Feature not showing up under "Site Collection Feaure"
Hi
I want to enable "Audit Log" to do this I need "Reporting" feature to be enabled first, which can be located as below located as in below picture.
But I am not able to see "Reporting" feature itself .Can anyone please explain how to add Reporting feature
Thanks,
MeenakshiHi
Can you please confirm if you are using SharePoint Foundation or SharePoint Server Enterprise version ?
As with SharePoint Foundation Audit Log is not available, you can check below links -
https://auditlogsp.codeplex.com/ - This post says -
"In Sharepoint 2010 we have a feature called Site Collection Audit and Audit log. But this feature only
on Sharepoint Enterprise, but on the Foundation we dont have that feature. With this application, we can enable audit feature on SP Foundation, see all the log. "
Also check same discussion here -
http://sharepoint.stackexchange.com/questions/13399/how-do-we-activate-auditing-in-sharepoint-foundation-2010
Hope it helps.
Thanks,
Danny
Please remember to mark as answer if it helps. -
Import List Items with Managed Metadata Field from CSV File
Hello,
I try to import list items from a CSV File. Most of the fields are populating correctly except the Managed Metadata Field. I found multiple examples on how to set Managed Metadata Fields with Powersehll, but unfortunately I couldnt get it running.
The CSV File holds values for the Metadata Column, this value should be checked against the Metadata in the Termstore. If this Term is existent, then it should set the fields value, if it is not existant then it should add the term from the CSV File to the
Term Set in the Term Store. Can anybody give me a tip on how to do this? This is what I have, where Line 4 holds the Metadata:
$Siteurl = "http://siteUrl"
$Rootweb = New-Object Microsoft.Sharepoint.Spsite($Siteurl);
$Webapp = $Rootweb.Webapplication
$listName = "Catalogue"
$listWeb = Get-SPWeb $Siteurl
$list = $listWeb.Lists[$listName]
$pfad1 = "c:\temp\Servers.csv"
$content = import-csv -Delimiter ";" -Path $pfad1
foreach ($line in $content) {
$newItem = $list.Items.Add()
$newItem["Field 1"] = $line.1
$newItem["Field 2"] = $line.2
$newItem["Field 3"] = $line.3
$newItem["Field 4"] = $line.4
$newItem.Update()
write-host $line.Title imported
Thanks!!Hi Jimmie,
From your description, when importing list from csv to SharePoint site, you would like to compare if Managed Metadata column exists in term store, and return yes value, if not, add it to term store.
That might need script to achieve. You need to import list at first, then get value from term store, and compare with the list. Change the list field per comparison result, then add new value to term store.
However, there might some workaround to meet your requirement. Not surly understand, so I find some references for you:
If you would like to export Term Set to CSV from SharePoint 2013, then you could compare it:
http://gallery.technet.microsoft.com/office/PowerShell-for-SharePoint-a838b5d0#content
If you would like to query SharePoint 2013 Managed metadata term store using JavaScript:
http://sharepoint.stackexchange.com/questions/60045/query-sp2013-managed-metadata-term-store
http://stackoverflow.com/questions/13858962/getting-all-the-term-stores-in-sharepoint-2010-web-services-or-client-side-obje
If you would like to synchronize, import or copy term store & managed metadata in SharePoint between environments:
http://www.matthewjbailey.com/synchronize-import-or-copy-term-stores-managed-metadata-in-sharepoint/
Regards,
Rebecca Tu
TechNet Community Support -
Renaming files using a list of names in a txt or csv file
Hello everyone,
I'm trying to use AppleScript (although I'm a total noob to it) to rename the files in a folder (if possible using something like this - set folder to choose folder) to coincide to a list of names (in a txt or csv - can be any extension needed).
To paint the picture clearer I'll have something like this
Files_as_they_are
Files_renamed
01.mkv
Valar Dohaeris.mkv
02.mkv
Mhysa.mkv
Here is what I've tryed so far : (some point through the night I've tryed to repeat part of the process thus the "fcount" but the result was even worse)
set theFolder to choose folder
set ep to {"Valar Dohaeris", "Dark Wings, Dark Words"}
set fcount to 1
tell application "Finder"
set name of file fcount of theFolder to item fcount of ep
end tell
set fcount to fcount + 1
Tnx in advance...This will work with a comma separated text file,
i.e.:
Files as the are, Files Renamed
01.mkv, Valar Dohaeris.mkv
02.mkv, Mhysa.mkv
Note that if the file to be renamed exists, it will be overwritten (A test can be added to skip if exists if needed)
set theFoler to POSIX path of (choose folder with prompt "Choose folder with Files" default location path to desktop)
set theFile to POSIX path of (choose file with prompt "Choose TXT file" default location path to desktop)
do shell script "
cd " & quoted form of theFoler & "
while read line
do
OldImageName=${line%,*}
NewImageName=${line#*,}
if [ -e \"$OldImageName\" ] ; then
mv \"$OldImageName\" \"$NewImageName\"
else
echo \"$OldImageName\" >> ~/Desktop/Errors.txt
fi
done < " & quoted form of theFile & " -
Splitting up the site collection into individual sites in share point
Hi All,
I am trying to split site collection with four sub-sites into four site collection with these sub-sites as the site collection.
need help.
Thanks,
Suraj KumarThe permissions needed to run the tool will be covered in the AvePoint literature.
The Metalogix tool is my personal one and has an Express Edition up to 25GB.
https://www.metalogix.com/Promotions/Content-Matrix-Migration-Express-Download.aspx
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem.
Maybe you are looking for
-
Blank PDFs in Linux with [acroread] defunct Adobe Reader 9.4
I am having an issue on a SuSE 11 sp1 box where opening a pdf after closing one gives me a blank screen. a ps -ef | grep acro* shows [acroread]<defunct> for the acroread process that was running. I noticed that I can open & close as many as 20 pdfs f
-
Problems with VO's query, clause: QRSLT
Hi Gurus, I got a problem here with a vo's query, the query its fine running in sqldeveloper and toad, but when I ran it on VO's the query doesn't show me any result, what can I do to fix this problem? Please, I hope you can help me with this one, I'
-
Just started getting this when I try and open Fireworks. It suggests you go to adobe.com/support but that seems to allow access to DW support only. Therefore does anyone here know how to help with the problem please.
-
The right side of my menu bar flashes on and off every few seconds. It's there for a second or two then disappears for a second or two. Is there a way I can get this to stop? It did this when I first got my MBP a few weeks ago and simply opening an a
-
Hello! Someone it can inform me as he can agree to the DB since a JavaBean. He is necessary that the JavaBean he be connected to the DB if the Form already he is connected? Thanks by his aid. (Hola! Alguien me puede informar como puedo acceder a la B