문제
웹파트페이지를 만들었고 어떤 이유로 페이지 제목이 페이지의 파일 이름으로 설정되었습니다. Title
열.
이 동작을 보고 해결 방법을 아는 사람이 있습니까?
해결책
왜 이런 일이 발생하는지에 대한 답변이 없어서 해결 방법을 구현하게 되었습니다.몇 가지 제한 사항:
- SharePoint 2013 온라인(예:SPD 없음)
- 배포된 코드 없음
내 해결 방법은 jQuery를 사용합니다.
function SetTitle (newTitle){
var $title = $('#pageTitle > span > span');
if ($title){
$title.text(newTitle); // attempt to set the SharePoint page title
document.title = newTitle; // change the Window/Tab title
}
}
제휴하지 않습니다 sharepoint.stackexchange