3-1 SharePoint 深入开发自定义列表
新建列表


新建列 栏

默认列表配置:及位置 temple page下面

添加form的映射文件夹

复制默认列表form并修改名字

修改form 添加导航


修改xml schame 默认form



</ContentTemplate> </SharePoint:UIVersionedContent> <table class="ms-core-tableNoSpace" id="onetIDListForm"> <tr> <td class="customnav">面包屑导航<a onclick="Go()">Go Baidu</a> <script type="text/javascript"> function Go() { alert("Go Baidu"); } </script> <style type="text/css"> .customnav { background-color:blueviolet; } </style> </td> <td> <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main" /> </td> </tr> </table>
</ParameterBindings> </View></Views> <Forms> <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\cform.aspx" WebPartZoneID="Main" /> <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\cform.aspx" WebPartZoneID="Main" /> <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\cform.aspx" WebPartZoneID="Main" /> </Forms> </MetaData> </List>

浙公网安备 33010602011771号