1

I configured a CQWP, but export option not found

Can export CQWP using power shell

Appreciate your help thanks

3
  • Have you checked as per the #Supermode?
    – Ram
    Dec 5, 2016 at 5:18
  • What is super mode? Dec 5, 2016 at 8:56
  • Hey It's an User who given answer!
    – Ram
    Dec 5, 2016 at 9:07

3 Answers 3

1

Solution 1:

Edit webpart. Under Export Mode under Advanced Section, ensure Export all data selected. Refer to the image attached.enter image description here

Solution 2

Use exportwp page

e.q:

https://intranet.contoso.com/_vti_bin/exportwp.aspx?pageurl=https://intranet.contoso.com/Pages/default.aspx&guidstring=0c3adfe9-8f5d-4432-918a-42410e4e324d

Using example above, Replace your site address, page file url and Guidstring which is your webpart id. https://chuvash.eu/2014/09/19/export-any-web-part-from-a-sharepoint-page/

2
  • Thanks for your answer, I will check this solution and inform you the result, in the same time I need powershell script if it possible, please help me! I appreciate your help Dec 5, 2016 at 9:00
  • Hi what's guid string! Dec 5, 2016 at 10:08
1

If your goal to export the web part, instead of Power Shell , there is another method that you can use to export your web part via /_vti_bin/exportwp.aspx as the following :

  • Open your page that contains your web part.
  • Click F12 > select your content Query web part > pick up the web part ID.

enter image description here

  • Replace the following with your values http://yoursite/_vti_bin/exportwp.aspx?pageurl=your page&guidstring=webpartid

Eg:

http://qassassite/_vti_bin/exportwp.aspx?pageurl=http://qassassite/Pages/default.aspx&guidstring=35f6485d-ab7e-46d4-99ad-833acf91b299
  • Put it in your browser , this will export the web part to yourwebpart.webpart
0
0

To export CQWP through browser enter image description here

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.