2014-09-22 144 views
0

我正在更新SP 2007中的發佈頁面以包含兩個超鏈接字段。在發佈頁面上不顯示新窗體字段 - SharePoint 2007

我已經添加網站欄和網站內容類型,並與更新的頁面佈局:

<SharePointWebControls:CurrencyField FieldName="ExistingField1" runat="server" /> 
 
<br /> 
 
<SharePointWebControls:UrlField FieldName="NewField1" runat="server" /> 
 
<br /> 
 
<SharePointWebControls:CurrencyField FieldName="ExistingField2" runat="server" /> 
 
<br /> 
 
<SharePointWebControls:UrlField FieldName="NewField2" runat="server" />

當我在編輯模式下打開網頁,無論是兩個新增領域都在那裏。頁面源只顯示舊字段,其中新字段應該是新增的

<div align="left" class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer" nowrap="nowrap"><span class="ms-formfieldlabel" nowrap="nowrap">Existing Field 1</span></div><div class="ms-formfieldvaluecontainer"><span dir="none"> 
 
<input name="ctl00$PlaceHolderMain$EditModePanelB$ctl49$ctl00$TextField" type="text" id="ctl00_PlaceHolderMain_EditModePanelB_ctl49_ctl00_TextField" title="Existing Field 1" class="ms-input" Size="11" style="ime-mode:inactive;" /><br> 
 
</span></div></div> 
 
<br /> 
 
<br /> 
 
<div align="left" class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer" nowrap="nowrap"><span class="ms-formfieldlabel" nowrap="nowrap">Existing Field 2</span></div><div class="ms-formfieldvaluecontainer"><span dir="none"> 
 
<input name="ctl00$PlaceHolderMain$EditModePanelB$ctl51$ctl00$TextField" type="text" id="ctl00_PlaceHolderMain_EditModePanelB_ctl51_ctl00_TextField" title="Existing Field 2" class="ms-input" Size="11" style="ime-mode:inactive;" /><br> 
 
</span></div></div> 
 
<br />
我已經檢查了十幾次,以確保我的字段名輸入正確,並檢查佈局,然後出,並批准佈局多次。

任何想法?

+0

我想通了哪裏出了問題。除了站點列和內容類型之外,還必須將新列添加到頁面列表中。 – godfathr 2014-10-01 23:21:36

回答

0

我想通了哪裏出了問題。除了站點列和內容類型之外,還必須將新列添加到頁面列表中。我應該看到一英里外的人。 (額頭滿桌)= P

相關問題