Hot answers tagged

19

Glyn Clough has a nice solution for exporting xsltlistviewwebpart Update 2014-09-19 I have found another way to easily export any web part from a SharePoint page, without needing to update web part properties: Export any web part from a SharePoint page Here is the most important text from the blog post: In SharePoint there is a hidden application page ...


13

I'm glad you included an image of the operation in progress, because it makes it easier to clear up some confusion and answer your question. I think previous respondents missed the fact that you're actually working in SharePoint Designer 2007 -- not Central Administration or the command line. First, let me clear up some confusion: the operation you're ...


11

According to @ToniFrankola https://serverfault.com/questions/73677/disable-export-to-spreadsheet-in-sharepoint-custom-list you need to have permission: [x] Use Client Integration Features In OOTB premission levels this permission is not set only for Restricted Read level. So correct answer to your question is: Minimum OOTB permission level for users to ...


11

I found a way to do it finally via "The Internet". Here is what worked for me. Sub ImportSharePointList() Dim objMyList As ListObject Dim objWksheet As Worksheet Dim strSPServer As String Const SERVER As String = "mysite:8003/sites/the-sharepoint-thing/" Const LISTNAME As String = "{D1F1C2ED-81BA-41CC-A698-XXXXXXXXXXXX}" Const ...


11

You can use the below code, Add-PSSnapin microsoft.sharepoint.powershell $web = Get-SPWeb -Identity "<URL of Site>" $list = $web.Lists["List Name"] $AllDuplicates = $list.Items.GetDataTable() | Group-Object title | where {$_.count -gt 1} $count = 1 $max = $AllDuplicates.Count foreach($duplicate in $AllDuplicates) ...


10

First, you should specify what's the type of risk that you expect when you try to export and import a library from one farm to another with different build number Will the cmdlet be worked and executed properly? Yes, the cmdlet will be worked and executed properly. regardless the source farm build number is identical or greater or lower than the ...


9

Go to "Site Settings -> Users and Permissions -> People and groups" Click on the "Settings" menu and "List Settings" Scroll to the bottom of the page and click on the view that you want to export. Copy the url and in particular the List and View IDs http://sitename/_layouts/ViewEdit.aspx?List=%7B64DAB4AC%2DD043%2D4DA4%2D85C7%2D9D4521C3F4CC%7D&View=%...


9

Below worked for me: Steps: 1) Open Excel File. 2) Go to ribbon, select DATA and select From Other Sources, and click on From OData Data Feed. 3) In ‘Data Connection Wizard’ form, provide appropriate REST link and click on Next. REST Link format to get Sp Group users: https:// Your SP2013 Site /_api/Web/SiteGroups/GetById(9)/Users 4) In Next form, ...


8

stsadm -o export -includeusersecurity seems to work actually. Export site: stsadm -o export -url http://sp2010/sites/sc/subsite/ -filename subsite.cmp -includeusersecurity Export list: stsadm -o export -url http://sp2010/sites/sc/subsite/Lists/mylist/AllItems.aspx -filename mylist.cmp -includeusersecurity


8

You can create a Site Template to create the copy. Go to the list settings of the list (ListA) Click save list template on the right list of links Save the template as something Click save list content if you want the same content in the new list Go to the All Site Content page and create a new list based on the saved template (ListB) This will create an ...


8

Exporting and importing as html will not work in SharePoint as it refers lots of controls and files internally Thee best suggested option would be to open the page in designer and copy the content to target page** but make sure all the those web parts are already in the web part gallery and fully functional. To check all webparts are in the gallery, ...


6

Instead of exporting as a template, rather use the Sharepoint Backup Tools. Browse to http://YOURCENTRALADMINURL:portnr/backups.aspx Click "Export a site or list" Select the List you want to backup. Import into correct location using : Import-SPWeb http://site -Path export.cmp


6

You're almost there, the next step is to create a new list choose the template you saved after list created delete the template from the library. Full tutorial (this is talking about between SharePoint servers, but its the same process between siets) [Broken link replaced with archive] Other ways include If it a simple list you can perhaps use the ...


6

You can map a drive to the List: http://community.office365.com/en-us/forums/154/t/5216.aspx The attachments will be under the Attachments folder.


6

With the script below you can easy export all column in a list a comma seperates file Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue -WarningAction SilentlyContinue | Out-Null $url = "<site url>" $listName = "<list name>" $path ="c:\Columns.csv" $web = Get-SPWeb $url $list = $web.Lists.TryGetList($listName) $list....


5

I needed to do this for one of my projects. Here are the steps I took. Generate an export for the data you want to share via the out of the box process (ie via the Action Menu). When prompted, name and save this file locally. This is the Excel Query File and it has information about the site, list and view that generates this data. Place the file in the ...


5

I think you mean Export-SPWeb: http://technet.microsoft.com/en-us/library/ff607895.aspx. It does not have a switch for excluding subsites. The other options for export are the SPExport class in the Microsoft.SharePoint.Deployment, but unfortunately the SPExportSettings object doesn't have a way to exclude subsites...not sure why it doesn't when the Sites ...


5

After migration lookup columns lost relations because list GUIDs they are using are different. This cannot be avoided and this is main disadvantage of using export/import based migration. Here you can find known issues when using import/export: Migration Ugliness - SharePoint 2010 Content Migration Limitations


5

Why don't you make another personal view with all columns?


5

Using Export and Import, you can migrate list from SP 2010 to SP 2013 but you have to make some manual changes. Export the list from SharePoint 2010 using either the Central Administration or PowerShell (Export-SPWeb). In the Central Administration, go to Backup and Restore > Export a site or list. Choose your list, and click Start Export Copy the exported ...


5

There is just a subtle difference: Workflows are included when you use the Backup-SPSite cmdlet. If you backup a root web of a site collection the site collection recycle bin will obviously not be included.


5

Backup-SPSite is generally used when you want to replicate the entire site collection (including all subsites) to an existing web application. Export-SPWeb is generally used when you want to replicate just a single subsite to an existing site collection. Also below links are worth to read for other major differences: http://blogs.msdn.com/b/yvan_duhamel/...


5

You can even increase the maximum size of list templates up to 500 MB (I don't know if it is large enough for you) either via stsadm: stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 524288000 or via PowerShell as well: $webservice = [Microsoft.SharePoint.Administration.SPWebService]::ContentService $webservice....


4

Since you removed DocAve already, the solutions bits were probably removed but it appears they were not un-registered with SharePoint. You need to ensure all the DocAve solution features are unregistered and removed from the farm. You can use CA, Powershell, or a tool like feature admin from codeplex to assist: http://featureadmin.codeplex.com/ Then re-...


4

Open the SharePoint 2010 Central Administration, Go to Application Management => Manage Web Applications and then select your web application. In the Ribbon, select the General Settings => Resource Throttling, There you can see the threshold limit 5000, edit the value as you need and save it.


4

SPExportObject/SPImportObject can be used to migrate the list item, but only issue that you need to take care is if you export an item from a database (e.g. a list) without exporting it's parent, then the exported item will become orphaned in the package. A package can contain multiple different orphaned objects (e.g. if you export multiple different lists ...


4

Here is a trick I've tried in your situation: Change your view in SharePoint to only display like Maximum 1000 rows. (use the Limit in the bottom of the view definition screen) Attempt again to export to Excel - this should work without issues (if it doesn't the problem lies elsewhere in your SharePoint and then you should have a look in ULS) Change back ...


4

You mentioned, you were able to export the groups in Excel what method you use for it? Here is method I used. Navigate to the People and Groups tab under Site Settings [Site Settings > People and Groups] Copy the URL of the People and Groups page. Open up your Excel workbook, and click on the Data tab. Click "From Web" and paste the URL from the People and ...


4

You can pipe the output from your command to an .csv file: FileToExecute.ps1 | Out-File C:\output.csv Make sure you in your script file uses Write-Outputand not Write-Host when printing your output.


4

If you get an error adding SharePoint DLL which states Could not load file or assembly 'microsoft.sharepoint, Version=12.0.0.0 you can try using this script instead [Void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") and you can continue exporting the WSP from your 2007 environment $farm = [microsoft.sharepoint.administration....


Only top voted, non community-wiki answers of a minimum length are eligible