SP- 2010 CQWP, ডকুমেন্ট লাইব্রেরী এবং বেনামী ব্যবহারকারীদের

গুরুত্বপূর্ণ হালনাগাদ: 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 (যারা লগ ইন করা হয়), কিন্তু এটি অজ্ঞাত ব্যবহারকারীর জন্য বিষয়বস্তু প্রদর্শন করা হবে.

আমরা গবেষণা অনেকটা করেনি এবং এই আমরা আচরণ বিছিন্ন গ্রহণ পরামিতি এবং কর্ম হয়:

  • এটি একটি কাস্টম তালিকা থেকে বিষয়বস্তু pulling যখন CQWP জরিমানা রেন্ডার করবে.
  • CQWP / পেজ লাইব্রেরি থেকে বিষয়বস্তু রেন্ডার করবে.
  • এটা / 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.
  • আমরা (কিছুটা ঝটিতি) একটি নতুন এস পি সেট আপ 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?

আমরা লগের মধ্যে দেখেছি যে ত্রুটি:

ওয়েব পার্ট শিরোনাম: বিষয়বস্তু প্রশ্নের ওয়েব পার্ট 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: অবজেক্ট রেফারেন্স একটি বস্তুর উদাহরণ সেট না. at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb ওয়েব, DataRow সারি, স্ট্রিং strDefaultItemOpen, বুলিয়ান fSetDocIcon, বুলিয়ান fSetOnClick, স্ট্রিং fileRefColumnRef, স্ট্রিং progIdColumnRef, স্ট্রিং fsobjTypeColumnRef, স্ট্রিং permMaskColumnRef) at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData() at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(স্ট্রিং 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, একটি মন্তব্য পোস্ট করুন দয়া করে.

</শেষ>

আমার ব্লগ এর জন্য সাবস্ক্রাইব করুন.

টুইটারে আমার অনুসরণ http://www.twitter.com/pagalvin

7 চিন্তা "SP- 2010 CQWP, ডকুমেন্ট লাইব্রেরী এবং বেনামী ব্যবহারকারীদের

  1. পোস্টটি পড়ুন: Tweets that mention SP 2010 CQWP, Document Libraries and Anonymous Users « Paul Galvin's SharePoint Space -- Topsy.com

  2. পোস্টটি পড়ুন: 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…

একটি উত্তর ত্যাগ Kerron Braham উত্তর বাতিল করুন

আপনার ইমেইল ঠিকানা প্রচার করা হবে না. প্রয়োজনীয় ক্ষেত্রগুলি চিহ্নিত করা আছে *