Question

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?

Était-ce utile?

La solution 2

found out why

I did not remove the / from this line

Autres conseils

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
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top