Pergunta

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?

Foi útil?

Solução 2

found out why

I did not remove the / from this line

Outras dicas

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
Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top