About me
I live in Lund and work, well, at probably the best company in the world
Tag Cloud
Active Directory
AD
ajax
Android
api
app
Apps
ASP.NET
azure
C#
CAML
Chuvash
Client Object Model
codeplex
console
csom
csr
css
css3
database
devtools
extension
git
github
google chrome
html
html5
javascript
jQuery
jQuery tmpl
js
jslink
jsom
json
keyboard
keyboard layout
LINQ
linux
localization
log
masterpage
ModalDialog
monitoring
office365
onet.xml
Performance
Powershel
PowerShell
raspberrypi
REST
rättigheter
script
Serverinstallation
Sharepoint
SharePoint 2010
sharepoint 2013
sharepoint2013
sharepoint apps
sharepoint online
SP.js
spapp
SPField
SPList
SPListItem
spo
SPWeb
subversion
tips
ubuntu
VHD
Visual Studio
webpart
webparts
windows
xml
Top posts
Certiffications


Blog Stats
- 597,583 hits
Recent Comments
Blogs I Follow
- Daniel Chronlund Cloud Tech Blog
- Вула Чăвашла
- Discovering SharePoint
- Bram de Jager - Architect, Speaker, Author
- SharePoint Dev Lab
- GUID(E) To SharePoint
- SharePoint Dragons
- Mai Omar Desouki
- Cameron Dwyer
- paul.tavares
- Share SharePoint Points !
- Simple Stuffs
- Jimmy Janlén "Den Scrummande Konsulten"
- Aryan Nava
- SPJoel
- SharePointRyan
- SharePoint 2020
- Aharoni in Unicode
- ... And All That JS
- blksthl
Awesome, trick!! It helped a lot to me! Thanks!!!
Hi,
Thanks for this – having a problem adding the list view part to a page on the root of the site – the list is located within a subsite – getting the following error message:
“List does not exist
The page you selected contains a list that does not exist”
However, can add the imported webpart OK to a page on the subsite that contains the list – will this only work if adding the webpart to a page on the same site/subsite as the list?
Thanks in advance
Works like a charm, Thanks! We’re about to migrate to 2013, so I’m looking foward to testing this in 2013, given the changes to SPD.
Thanks for the feedback! Are you going to migrate webparts to the new environment using this method?
Hi, I am trying to export a webpart from my site – but it’s not working. I get “error something went wrong”. Could you maybe take a look at my url and see if it’s correct? I am using SP Online.
https://wwdemo11.sharepoint.com/teams/HR-hejaheja2//_vti_bin/exportwp.aspx?pageurl= https://wwdemo11.sharepoint.com/teams/HR-hejaheja2/_layouts/15/start.aspx&guidstring= ebf04c7a-600b-4a16-bf28-a104372bef56
Where https://wwdemo11.sharepoint.com/teams/HR-hejaheja2/_layouts/15/start.aspx#/ is where my webparts is. I’m not sure if I miss some part of the url or not?
Thanks,
Amanda – SharePoint rookie
Hi Amanda, the “pageurl” parameter is wrong. It points to the start.aspx which is an application page that is used for MDS. You should the real page url. You can see after the “#”. if it is too confusing, you could temporarily deactivate the MDS (Minimal Download Strategy) feature on the current web.
Thank you!
This is brilliant! Thanks for sharing this!
If you have a modern browser with developer tools IE, Chrome etc, you can just edit the html in place in the webpart and change allowexport to true [allowexport=”true”] while in editmode and it will then be able to be exported as usual from the webpart dropdown menu.
Cool, thank your for your tip. That’s actually nice.I’ll update my post with this tip.
Pingback: Export Any Web Part using a Bookmarklet - Bool Tech
Pingback: Export Any SharePoint WebPart In a Click With This Bookmarklet or JavaScript : MIKE MORAWSKI | Programming & Tech Blog
Hello. Thanks for article. How I can create HttpRequest to _vti_bin/exportwp.aspx from provider hosted app or how I can get credentials from client context of provider hosted app?
Hello
Dude, this is just the thing I was looking for, great post!
Cool you liked.
Nice! Any way to export the audience targeting info as well?
Hi, The Target Audience is not a part of an “exportable” webpart definition. The Target Audience is saved on a particular webpart instance on a particular page.
Hi, when i add to other site under same site collection, it is not working (List does not exists! error). How to fix this
Hi, when i added to another site (same site collection) – this is not working (list does not exists! error) – is there a fix for that?
Me, too! Help:)! List does not exist! Any ideas? Getting the same thing when use SPD and Export to Site Gallery, even when telling it to retain absolute not relative path to list/site.
Make sure your site url and page url are of the same site, not site collection so if its a subsite that you want to export from, make the first part of the url the same. ex. instead of https://intranet.contoso.com/_vti_bin/exportwp.aspx?pageurl=https://intranet.contoso.com/sites/Architect/150505.00-101w79-Gilbert/Sit
it should be:
https://intranet.contoso.com/sites/Architect/150505.00-101w79-Gilbert/_vti_bin/exportwp.aspx?pageurl=https://intranet.contoso.com/sites/Architect/150505.00-101w79-Gilbert/SitePages/Home.aspx&guidstring=4d1690b3-5235-4d05-88e9-36c70167geh
I encounter the same error like binu: List doesn’t exist.
I’ve downloaded the file with your bookmarklet. But maybe I used the bookmarklet on the wrong site, to get the webpart?
Thanks in advance!
You need to edit the .webpart with notepad and edit the WebId parameter, you will see is set as “00000000-0000-0000-0000-000000000000”
To get the Id, use powershell
Get-SPSite http://| Get-SPWeb -Limit All | Select Title, ID > C:\ListId.txt
The id of the site where the list has been created ^^
Pingback: Copy an XsltListViewWebPart from another SharePoint Site via PowerShell – The client-side solution | Second Life of a Hungarian SharePoint Geek
Awesome, great!