Hey All! I want to ask that in SCA extension, when...
# suitecommerce
s
Hey All! I want to ask that in SCA extension, when we add a new Page Type using the PageType.registerPageType() API. Do we have the option to add our own page title (
<title>
) in the
<head>
section? Or is there any other way to change the
<title>
of a Page which was added via the registerPageType() API? Your help is greatly appreciated. Thanks
s
You either set up the page type view to use a title attribute, which is set in the SMTs when it is created, or you put
this.title = "your title here"
in the
beforeShowContent()
of the page type base view that you’re extending.
👍 1