Hi @Sravan_Kumar_Si I would suggest if you already have a support script(Sling Model or Use API), better write logic in the script itself like below. This will make you view simple ans clean.Support Script:model.title = title.contains("{0}") ? title.replace("{0}", currentPage.parent.title) : title; ...