Search.../

pageName

Sets or gets the page name.

Type:

stringRead & Write

Was this helpful?

Get the name of the sitemap entry

Copy Code
1export function myRouter_SiteMap(sitemapRequest) {
2
3 let pageName = entry.pageName; // "Page Name"
4
5}
Set the name of the sitemap entry

Copy Code
1export function myRouter_SiteMap(sitemapRequest) {
2
3 entry.pageName = "Page Name";
4
5}