SP 2010 CQWP, Kev qiv ntaub ntawv thiab cov neeg siv cov Anonymous

Tseem ceeb hloov tshiab: Waldek Mastykarz tau muab lo ib workaround ntawm no: http://blog.mastykarz.nl/inconvenient-sharepoint-2010-content-query-web-part-anonymous-access/.
</kawg hloov tshiab>

Lub lim tiam no, cov lus no kuv thiab kuv nyob upgrading tus neeg pej xeem hauv internet ntawm ntawm NTXHUAB rau SP 2010. NTXHUAB kawm ntawv siv cov CQWP nyob rau ntau qhov chaw.

Peb mus txog ib txoj kev kom ntxaws heev kom raug, zoo thiab cov khoom zoo tas li. Dua li ntawd, peb khiav mus rau ib qho teeb meem nyob rau hauv cov xuab moos 11th uas peb tsis xav kom los yaws mus txog lig heev. Yeej, peb CQWP tsis kav rau cov neeg siv anonymous. Nws mus xyuas rau tus sau phau ntawv (in thiaj li uas tau tso rau hauv), tab sis nws tsis qhia cov ntsiab lus rau cov neeg siv cov anonymous.

Peb tsis heev ntawm kev tshawb fawb thiab cov no yog cov tsis thiab tej yam uas peb tau muab cais tawm tus cwj pwm:

  • CQWP yuav kav zoo thaum nws rub tau cov ntsiab lus los ntawm ib daim ntawv teev kev cai.
  • CQWP yuav kav cov ntsiab lus los ntawm cov tsev qiv ntawv /Pages.
  • Nws yuav tsis kav cov ntsiab lus los ntawm /SiteCollectionImages
  • Peb yuav tsim ib lub tsev qiv ntawv daim ntawv tshiab thiab uploaded docs ob peb los rau nws. Peb yeej tsis ntxiv tej yam kawm ntawd lub tsev qiv ntawv – qhov no yog ib tug leb tawm ntawm lub thawv doc lib uas tsis muaj customization. Uas twb muaj lawm CQWP yuav tsis nyeem ntawm nws.
  • Peb yuav tsim ib nplooj ntawv tshiab thiab ntxiv ib lub CQWP rau nws siv tag nrho vim qhov tseem ceeb. nws yuav tsis kav rau anonymous.
  • Peb (nrawm nroos dog dig) teeb ib tus tshiab SP 2010 ib puag ncig, ncaj nraim mus rau ntawm lub box dua thiab replicated no coj cwj pwm.

Ntxaib, nws zoo nkaus li tias CQWP nyob SP2010 tsis kav cov ntsiab lus rau cov neeg siv anonymous thaum cov ntaub ntawv los yog ib daim ntawv qiv. Qhov no yuav muaj tseeb?

Qhov no yog qhov yuam kev uas peb pom nyob rau hauv qhov cav:

Web site qhov title: Chav lus nug Web Part 653d91fb-2f83-4e6a-83af-1f39e8939f0a
07/30/2010 12:03:56.90 w3wp.exe (0x0F30) 0x 1540 qhov chaw hauv Web SharePoint Foundation 89a1 siab yuam kev thaum executing qhov Web site: System.NullReferenceException: Kwv siv tsis tau teem rau kev lom los ntawm ib tug kwv. tom Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb Web site, DataRow leej, Txoj hlua strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, Txoj hlua fileRefColumnRef, Txoj hlua progIdColumnRef, Txoj hlua fsobjTypeColumnRef, Txoj hlua permMaskColumnRef) tom Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute() tom Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData() tom Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(Txoj hlua viewPath) tom Microsoft.SharePoint.WebPartPages.DataFormWebPart…. 653d91fb-2f83-4e6a-83af-1f39e8939f0a

No xwb mas, tsi tsis yooj yim sua kom CQWP tsis ua hauj lwm rau cov neeg siv anonymous. Yog koj paub muaj qhov no, thov logged.

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

7 xav txog"SP 2010 CQWP, Kev qiv ntaub ntawv thiab cov neeg siv cov Anonymous

  1. Pingback: Tweets pav SP 2010 CQWP, Ntaub ntawv teev tseg qiv thiab cov neeg siv Anonymous «Paul Galvin SharePoint chaw -- Topsy.com

  2. Pingback: Phim SharePoint 2010 Cov qhov Web site cov lus nug thiab Anonymous Access - Waldek Mastykarz

  3. Dennis

    Vim kuv tsis pom muaj postet no los txog li no tsis tau, ob peb 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/

    Ob peb workarounds, tiam sis thaj tsis txhim kho rau cov teeb meem no. Lub CQWP xwb tsis ua hauj lwm anonymously kuv suppose…

    Teb
  4. Etienne

    Ua koj puas xav paub ntxiv txog qhov no?

    Kuv tabtom qhov teeb meem qub. Qhov chaw mus nyob ntev thiab kuv twb sab tias CQWP tsis txhob qhia chav ntawv kawm hauv cov tsev qiv ntawv hauv phab thaum tsis in thiaj li tso rau hauv. Kuv muaj triple soj ntsuam tau tias cov nplooj ntawv soj ntsuam-nyob rau hauv thiab luam tawm.

    Teb
  5. GavinB

    Kuv cia li khiav mus rau qhov teeb meem no, however I also have a case of it working when querying for videos 😐

    Yog tias kuv xav paub ntxiv kuv mam li qhia rov qab

    Teb

sau ntawv cia

Koj email chaw nyob yuav tsis muab luam tawm. Search cim *