Can I use this list property somehow? I get a <!-RENDER FAILED --> using it as is. <ListProperty Select="ParentWebUrl" /> From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Paul Noone Sent: Wednesday, 31 August 2011 3:19 PM To: ozMOSS (ozmoss@ozmoss.com) Subject: WebURL variable for list schema
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 ozmoss@ozmoss.com http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss