Hi guys,
I have video library with a custom field (control) that opens the video in a
new window using a page in /_layouts. Problem is that the link URL breaks when
accessing the files via a list view web part.
The reason is because I was using a relative path to the layout page - i.e.
/../../_layouts/mypage.aspx - in the fieldtypes schema.
I would like to use a variable for the "web URL". I have tried ServerURL,
FileRef, FileLeafRef and PermMask but they also tend to include the listname
and filename among other things.
Current render pattern is:
<HTML><![CDATA[<a target="_blank" href="#"
onclick="javascript:NewWindow(']]></HTML>
<Field Name="" URLEncodeAsURL="TRUE" /> //Need a webUrl var here
<HTML><![CDATA[/_layouts/CEOVideoPlayer.aspx?video=]]></HTML>
Does anyone know of another field or variable I could build to manage this?
Regards,
Paul
_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss