For example, I create a page called MyPage. Then on this page I write:
I expect to get text MyPage
. Instead, I get text WebHome
:
I checked the API for the Document class. And looked through every function that has word name
in the name of the function or description and none of the functions do what I need. For example, the getFullName()
function returns MyPage.WebHome
for this page. I just need MyPage
without the .WebHome
.