开发者

RenderPattern headache with WSS 3.0 Document Library

开发者 https://www.devze.com 2022-12-30 17:08 出处:网络
I\'m trying to define the DisplayPattern of a custom field to do as follow. It\'s a simple text field used in document libraries, but i want the text entered to be displayed as a link to the document

I'm trying to define the DisplayPattern of a custom field to do as follow. It's a simple text field used in document libraries, but i want the text entered to be displayed as a link to the document in the list view.

<URL Cmd="Display"> gives me the display form, but I want the link to actually download/open the document.开发者_如何学Python..

I can't for the life of me figure this one out...

Thanks for your help!


The answer lied in <LookupColumn Name="FileLeafRef" /> used along with <ListUrlDir />...

0

精彩评论

暂无评论...
验证码 换一张
取 消