문제

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?

도움이 되었습니까?

해결책 2

found out why

I did not remove the / from this line

다른 팁

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top