I have been doing this since some months ago.

Export the CQWP and adding some fields in the property name="CommonViewFields"

When importing I get:

The file you imported is not valid. Verify that the file is a Web Part description file (*.webpart or *.dwp) and that it contains well-formed XML.

Has something changed?


What fields did you add in the property CommonViewFields. Per my test, it works on my end.

Here is what I did:

  1. Export the Content Query Web Part.
  2. Change the property CommonViewFields to this: enter image description here
  3. Go to Web Part Gallery /wp/Forms/AllItems.aspx , upload the .webpart file. enter image description here
| improve this answer | |

found out why

I did not remove the / from this line

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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