Arkivji ta 'Kull Xahar: Lulju 2010

SP 2010 CQWP, Dokument Libreriji u l-Utenti anonimi

Importanti aġġornament: Waldek Mastykarz has posted a workaround here: http://blog.mastykarz.nl/inconvenient-sharepoint-2010-content-query-web-part-anonymous-access/.
</jispiċċaw aġġornament>

Din il-ġimgħa, 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.

Morna permezz ta 'proċedura dettaljata ħafna sabiex jiżguraw il-preċiżjoni, 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. Speċifikament, our CQWP wouldn’t render for anonymous users. It rendered find for the authors (li kienu illoggjat), iżda ma juru l-kontenut għall-utenti anonimi.

Aħna ma ħafna riċerka u dawn huma l-parametri u l-azzjonijiet ħadna biex jiżolaw l-imġieba:

  • CQWP jirrendi multa meta kien ġbid kontenut minn lista tad-dwana.
  • CQWP jirrendi l-kontenut mill-bibljoteka Paġni /.
  • Hija ma tagħmilx l-kontenut mill SiteCollectionImages /
  • 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.
  • Aħna (kemmxejn bil-għaġla) twaqqaf SP ġdid 2010 ambjent, straight out tal-kaxxa mill-ġdid u replikat din l-imġiba.

Bottom line, 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?

Dan huwa l-iżball li rajna fil-zkuk:

Titolu Parti Web: Mistoqsija kontenut Web Parti 653d91fb-2f83-4e6a-83af-1f39e8939f0a
07/30/2010 12:03:56.90 w3wp.exe (0x0F30) 0x1540 SharePoint Foundation Web Parts 89a1 High Error while executing web part: System.NullReferenceException: Referenza Għan mhux stabbiliti għal istanza ta 'oġġett. at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb web, Ringiela DataRow, String strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, String fileRefColumnRef, String progIdColumnRef, String fsobjTypeColumnRef, String permMaskColumnRef) at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String viewPath) at Microsoft.SharePoint.WebPartPages.DataFormWebPart…. 653d91fb-2f83-4e6a-83af-1f39e8939f0a

It just seems kind of impossible that CQWP wouldn’t work for anonymous users. If you know any more about this, jekk jogħġbok post kumment.

</aħħar>

Abbona għall-blog tiegħi.

Follow lili Twitter fi http://www.twitter.com/pagalvin

Ħu Kontroll tal OK tiegħek u Ikkanċella Buttuni

I kiteb dan l-artikolu lura waqt li, imma qisu jien ma link għaliha mill-blog tiegħi fil-ħin, hekk hawn tmur:

image

Dan l-artikolu tiddeskrivi kif seħħ newform.aspx biex idawwru għal paġna waħda meta l-utent klikks OK u paġna differenti meta hi klikks tikkanċella.

</aħħar>

Abbona għall-blog tiegħi.

Follow lili Twitter fi http://www.twitter.com/pagalvin

Oħloq, Aġġornament u Ħassar Disinji ma SPD Workflow

I reċentement kitbet artiklu għall-poplu tajba fil ShaerPointBriefing.com fuq mudell ġenerali għall implimentati Crud fil Designer SharePoint.  Hawn teaser:

image

Artikolu sħiħ hawn:  http://sharepointbriefing.com/features/article.php/3889486/Create-Update-Delete-Patterns-with-SharePoint-Designer-Workflow.htm

Iċċekkjaha!

</aħħar>

Abbona għall-blog tiegħi.

Follow lili Twitter fi http://www.twitter.com/pagalvin