#set($asset = $mediaarchive.getAssetBySourcePath("profiles/${data.id}/profilepic")) #if(!$asset) #if($data.profilepicture) #set($asset = $mediaarchive.getAsset($data.profilepicture)) #end #end #if($asset) $owner #else $owner #end

$context.putPageValue("data", $data) $context.putPageValue("view", "user/publicprofile") $pages.include("/$applicationid/components/xml/detaileditor.html?detailsreadonly=true&alwaysshow=false", $context)