ספּ 2010 קקוופּ, דאָקומענט ליבראַריעס און אַנאָנימאָוס וסערס

וויכטיק דערהייַנטיקן: Waldek Mastykarz has posted a workaround here: http://blog.mastykarz.nl/inconvenient-sharepoint-2010-content-query-web-part-anonymous-access/.
</סוף דערהייַנטיקן>

דעם וואָך, my team and I were upgrading a customer’s public internet site from MOSS to SP 2010. The MOSS site uses the CQWP in several places.

מיר זענען דורך אַ זייער דיטיילד פּראָצעדור צו ענשור אַקיעראַסי, quality and all that good stuff. Despite that, we ran into a problem in the 11th hour that we didn’t expect or uncover until very late. ספּעסיפיקאַללי, our CQWP wouldn’t render for anonymous users. It rendered find for the authors (ווער זענען לאָגד אין), אָבער עס וואָלט ניט ווייַזן די צופרידן פֿאַר אַנאַנאַמאַס ניצערס.

מיר האבן אַ פּלאַץ פון פאָרשונג און די זענען די פּאַראַמעטערס און אַקשאַנז מיר גענומען צו יזאָלירן די אָפּפירונג:

  • קקוופּ וואָלט ופפירן פייַן ווען עס איז געווען פּולינג צופרידן פון אַ מנהג רשימה.
  • קקוופּ וואָלט ופפירן צופרידן פון דער / בלעטער ביבליאָטעק.
  • עס וואָלט ניט ופפירן צופרידן פון / סיטעקאָללעקטיאָנימאַגעס
  • We created a new document library and uploaded a few docs to it. We did not add any content types to the library – this was a simple out of the box doc lib with no customization. Existing CQWP could not read from it.
  • We created a new page and added a CQWP to it using all default values. it would not render for anonymous.
  • מיר (עפּעס כייסטאַלי) שטעלן אַרויף אַ נייַ ספּ 2010 סוויווע, גלייַך אויס פון די קעסטל ווידער און רעפּליקייטיד דעם אָפּפירונג.

דנאָ שורה, it appears that CQWP in SP2010 can’t render content for anonymous users when the data source is a document library. Can this be true?

דעם איז דער טעות אַז מיר געזען אין דער לאָגס:

וועב חלק טיטל: אינהאַלט קווערי וועב חלק 653ד91פב-2פ83-4ע6אַ-83אַף-1פ39ע8939פ0אַ
07/30/2010 12:03:56.90 w3wp.exe (0קס0פ30) 0x1540 SharePoint Foundation Web Parts 89a1 High Error while executing web part: סיסטעמ.נוללרעפערענסעעקססעפּטיאָן: כייפעץ דערמאָנען נישט שטעלן צו אַ בייַשפּיל פון אַ כייפעץ. at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(ספּוועב וועב, דאַטאַראָוו רודערן, שטריקל סטרדעפאַולטיטעמאָפּען, באָאָלעאַן פסעטדאָסיקאָן, באָאָלעאַן פסעטאָנקליקק, שטריקל פילערעפקאָלומנרעף, שטריקל פּראָגידקאָלומנרעף, שטריקל פסאָבדזשטיפּעקאָלומנרעף, שטריקל פּערממאַסקקאָלומנרעף) at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(שטריקל וויעוופּאַטה) at Microsoft.SharePoint.WebPartPages.DataFormWebPart…. 653ד91פב-2פ83-4ע6אַ-83אַף-1פ39ע8939פ0אַ

It just seems kind of impossible that CQWP wouldn’t work for anonymous users. If you know any more about this, ביטע פּאָסטן אַ באַמערקונג.

</עק>

אַבאָנירן צו מיין בלאָג.

גיי מיר אויף טוויטטער בייַ http://www.twitter.com/pagalvin

7 געדאנקען אויף "ספּ 2010 קקוופּ, דאָקומענט ליבראַריעס און אַנאָנימאָוס וסערס

  1. Pingback: Tweets that mention SP 2010 קקוופּ, Document Libraries and Anonymous Users « Paul Galvin's SharePoint Space -- Topsy.com

  2. Pingback: Inconvenient SharePoint 2010 Content Query Web Part and Anonymous Access - Waldek Mastykarz

  3. Dennis

    Just because I didnt see any links postet here yet, a few pointers:

    http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/892c9b5e-9ef3-4471-8825-6d632d046118
    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/thread/90223bf3-278f-4168-b124-3413489b936a
    http://www.sharepointoverflow.com/questions/3979/content-query-web-part-cqwp-fails-to-show-picture-items-from-a-document-picture/4008#4008
    http://blog.mastykarz.nl/inconvenient-sharepoint-2010-content-query-web-part-anonymous-access/

    A few workarounds, but there apparently is no FIX for this problem. The CQWP just doesnt work anonymously i suppose…

  4. Etienne

    Did you ever find out more about this issue?

    I am having the same problem. Site going live soon and I’ve discovered that CQWP don’t show content from the Pages library when not logged in. I have triple checked that all pages are checked-in and published.

לאָזן אַ ענטפער צו Kerron Braham באָטל מאַכן ענטפער

אייער בליצפּאָסט אַדרעס וועט ניט זיין ארויס. Required fields are marked *