페이지 레이아웃에서 페이지 제목 가져 오기
-
10-12-2019 - |
문제
다음 코드를 사용하여 페이지 레이아웃에서 현재 페이지의 페이지 제목을 가져 오지만 작동하지 않습니다.
<asp:Literal runat="server" text="<%$SPContext.Current.Item['Title']%>"></asp:Literal>
.
페이지 제목을 페이지 레이아웃에서 가져 오는 방법
해결책
HTML 페이지의 제목이 원래 작성 되었는가?
<html>
...
The title of the document is:
<script type="text/javascript">
document.write(document.title);
</script>
...
</html>
.
다른 팁
우리에게 SharePointWebControl:TextField
또는 SharePointWebControl:FieldProperty
컨트롤이 필요합니다.
Waldek은 여기에 블로그를 작성했습니다. "Nofollow"> http : //blog.mastykarz.nl/shownames-site-columns-page-layout/#
제휴하지 않습니다 sharepoint.stackexchange