Hli Archives: Lub Xya Hli ntuj 2010

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

Yuav tau tswj koj lawv xav tshuaj thiab rho nyees khawm

Kuv thiaj sau cov tshooj no ib while rov qab, tab sis looks li kuv tsis txuas rau nws los ntawm kuv cov blog lub sij hawm, yog li nov mus:

image

Cov tshooj no piav li cas sib zog newform.aspx mus rau ib sab redirect thaum cov neeg siv cov clicks lawv xav tshuaj thiab ib nplooj ntawv txawv thaum nws clicks cancel.

</kawg>

Subscribe rau kuv blog.

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

Tsim, Hloov thiab rho tawm cov qauv uas SPD Workflow

Sau kuv nyuam qhuav tau ib tsab xov xwm no rau cov neeg zoo ntawm ShaerPointBriefing.com rau ntawm ib qho kev txawv mus raws CRUD nyob SharePoint Designer.  Ntawm no yog ib teaser:

image

Tag nrho hauv tshooj no:  http://sharepointbriefing.com/features/article.php/3889486/Create-Update-Delete-Patterns-with-SharePoint-Designer-Workflow.htm

Xyuas!

</kawg>

Subscribe rau kuv blog.

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