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

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, ...


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

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) Site Contents Add App ...


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

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

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

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....


5

Edit the page in the browser Inspect the DOM to find the div containing your web part Change the allowexport property to true <div ... webpartid="my-web-part-id" allowexport="false"> becomes <div ... webpartid="my-web-part-id" allowexport="true"> This should enable the 'Export...' option in the context menu for the web part.


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....


4

I found another way to export a web part. There is a hidden page in SharePoint that takes a couple of query strings for the web part Id and the page URL and generates a file with the exported web part. You can get the web part Id from the HTML source of the page. http://yourwebsite.com/_vti_bin/exportwp.aspx?pageurl=http://yourwebsite.com/Pages/...


4

Indeed, as Sergey B. Hizof pointed out in the comment above, the Export-SPWeb and Import-SPWeb PowerShell commands work great to copy sites or lists/libraries to another location. Here's a good explanation (https://technet.microsoft.com/en-us/library/ee428301.aspx ) and here's a good video about it: https://www.youtube.com/watch?v=8WgPeYMd4Ss. There are a ...


4

Suggestion for your second question, Better to use web-hooks instead of remote event receivers. Web hooks support only asynchronous -ed events (like updated, deleted, etc). Assess the requirements in your current farm, if none of the event receivers are fired before the database transaction happens, more precisely synchronous -ing events are not required (...


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