ServiceNow: Service Portal - changing breadcrumbs

 https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0719179


format:

// Breadcrumbs var bc = [{label: 'My Stuff', url: '?id=myStuff'}]; // This would be the pagename, myStuff is an example if ($scope.data.tableLabel) bc[bc.length] = {label: $scope.data.tableLabel, url: '#'}; bc[bc.length] = {label: $scope.data.number, url: '#'}; $rootScope.$broadcast('sp.update.breadcrumbs', bc); }

Comments

Popular posts from this blog

GlideRecord setValue

variable advanced reference qualifier example

URL link in addInfoMessage