SPS里的文档的详细信息该如何定制显示?急,高手帮忙!
我知道DocumentMetaData.xsl是查询要显示属性的文件,但他把所有属性都查询来了,我只想显示几个属性。我知道要在xsl查询里加限制条件,但是一些常量名该怎么确定呢?
用select语句!
如:
strQuery = "SELECT \"DAV:href\", " +
" \"urn:schemas-microsoft-com:publishing:ShortcutTarget\", " +
" \"DAV:displayname\", \"urn:schemas-microsoft-com:office:office#Title\", " +
" \"DAV:getcontentlength\", \"DAV:getlastmodified\", \"DAV:contentclass\"," +
" \"urn:schemas-microsoft-com:office:office#Author\", " +
" \"urn:schemas.microsoft.com:fulltextqueryinfo:description\", " +
" \"urn:schemas-microsoft-com:publishing:isdoclibrarycontent\", " +
" \"DAV:iscollection\", \"urn:schemas-microsoft-com:publishing:DiscussionTarget\", " +
" \"urn:schemas-microsoft-com:publishing:BestBetKeywords\" " +
" FROM SCOPE('DEEP TRAVERSAL OF \"" + strWkspName + "\"') " ;