December 2008 - Posts
I’ve seen several cases, when people use CQWP and surprises when it doesn’t return all items in standard mode and returns all necessary items in “edit” mode. I find this topic is not being documented enough anywhere.
So, CQWP ignores following items from your queried data:
- Items are checked-out
- Items are not published and not-approved
Those scenarios are “behaviour by design”, and I found such behaviour logical. User’s are working on their items, and work in progress – you shouldn’t show such items
Workaround: set “UseCache” property to “false”.
Cite from SharePoint team:
“You are only seeing your items in edit mode because the caching infrastructure of the CQWP does not cache checked-out items of individual users and we disable cache in edit mode. You can disable caching on your Web Part by setting the "UseCache" property to false”
So, my recommendation is to revise your approach to return published and checked-in stuff only.
Mirror: Why Content Query Web Part (CQWP) doesn’t return all results.
In these days I was working on the search issue in SharePoint 2007, which led me to the interesting behaviour of BDC Permissions.
We had the following errors in MOSS crawl log
bdc2://<guid>
The parameter is incorrect. (Could not create a security identifier for the identity '<domain>\<user.name>. This identity may have been deleted.)
What it means, is that search can’t crawl BDC content, because owner of the BDC application was removed.
Diagnosing this issue we found that user who imported BDC application doesn’t work at us anymore, and he was removed from Active Directory. So, that’s why BDC not accessible.
You can find the full descriptions of this behaviour there http://k2distillery.blogspot.com/2008/06/bdc-crawl-missing-security-identifier.html
So, the workaround promised be simple – just “Manage Permissions” for this BDC application, removing user from list of BDC Entry owners and from BDC Catalog Permissions. That’s what described in that article. But reality is far from it :)
The actual behaviour is whenever you navigate to “Manage Permissions” you got “Error: Access Denied" screen. The surprising part of this is that my user is
- Farm Administrator
- SSP Site Owner and SSP administrator
- have all rights in SSP Personalization Permissions
- have all rights in BDC Catalog Permissions
Well, I have all permissions, but I still can’t access user’s BDC application.
I didn’t know one thing – BDC Catalog permissions are INHERITED permissions. It means that you need explicitly copy all BDC permissions to your user :) Really bizarre.
Solution: Navigate to BDC Catalog Permissions page, select your admin user and click “Copy all permissions to descendants”. Detailed instruction is there: http://blogs.msdn.com/mutaz/archive/2008/12/14/ssp-admin-cannot-manage-existing-bdc-applications.aspx
Hail to Mutaz, helping to nail down this issue
Update: http://msmvps.com/blogs/shane/archive/2008/12/17/windows-server-2008-wfe-will-not-allow-large-file-uploads.aspx
Mirror: SharePoint BDC Permission Inheritance
Day 2 of “Life Services Jump Start” was all about Live Framework – deep dive, how to prepare your environment, how to develop and deploy Live Meshed apps inside Azure. Day was full of technical stuff.
Couple of notes for those, like me, who are thinking to develop and deploy your Life Mesh Apps tomorrow.
- Live Framework is still conceptual, no commitments that it will be the same in the release.
- It still doesn’t have GoLIVE licence and won’t have till Q2 2009. So, take this into account, because a lot things could be changed
- It’s still have a lot of limitations in terms of performance
- Live Framework is Tech Preview in these days
- Don’t mess Live Framework with www.mesh.com you are probably might be using now, it’s slightly different
- Live Framework client is not compatible with Live Mesh client at this moment. It means that you need either uninstall Live Mesh client, or don’t use “local” capability of Live Framework and test your apps via online desktop. More details in this discussion I started
- Limitation in corporate usage
But, regardless all those limitations I still will be working in these area, because it gives fantastic opportunities as a platform
If you never used Live Framework before – go to http://dev.live.com and https://lx.azure.microsoft.com/ to start developing right now.
Mirror: Live Services Jump Start [Day 2]
In these days I’m on Live Services Jump Start Event. It’s one of the best events I’ve been since TechEd – Neil and James did fantastic presentations.
Overview of Live Services, Day1
1. WL Delegation, WL Authentication, WL Contacts
You can grant permissions to your contact’s info and consume user’s info via Contacts API and Contacts Schema http://msdn.microsoft.com/en-us/library/bb463989.aspx
2. WL Messenger Library – really powerful library to integrate Messenger into your site. http://msdn.microsoft.com/en-us/library/cc298458.aspx a lot of advantages from standard WL IM Control
3. Live Earth and PhotoSynth are the same team. Awaiting the next release of VE SDK with Photosyth support
PS: One of the MVP colleagues, Craig just posted his description of the day1 there http://www.craigbailey.net/live/post/2008/12/07/Live-Services-Jumpstart.aspx (You can see my back with laptop on the secord row, righ side) ;)
PPS: Wanna get realtime news tomorrow?! Follow #lsjs hashtag in twitter. Several guys twitting each 5 mins about news
Mirror: Live Services Jump Start [Day 1]