结贴。
1、开发webpart . 没有权限,即使开发出来了,也无法发布到服务器;
2、content query web part 过滤条件里面,没有approve status 的选项; --- 这个弄清楚了,其实没有必要这个approve status过滤条件,它本来就是文档库的视图;没有approved的文档,对普通用户本身就是不可见的,所以无需再加这个;之前我一直是在自己的账户下配置,所以能看到没有approved的文档;其实其他用户是看不到的;
Just realize u r trying to query document library. It is hidden in 2010. Here is a way to do it as following link
http://sharepointburger.wordpress.com/2010/10/01/content-query-webpart-missing-content-type-and-approval-status/
This is how it done in sharepoint designer if u like.
Just tested it. The approved status actually shows for me if I filter pages library on publishing site with approve workflow enabled. Which content type u are trying to filter? Publishing pages? U got to make sure the list has approve status. Is it a custom field? provide more detail may help finding ur problem
It is not displayed by default. U need to modify the common view field property to display approve status field. Be careful with the internal name. Also u need update the item xlst to show the field.