Notifications

20 views

Symptoms

The breadcrumb widget on a service portal page doesn't display the correct breadcrumb, because it always ends with "My Survey" even when the page title is something else.

Release

All supported versions.

Cause

Certain widgets override the breadcrumb of the page that they are on.

This issue is caused by the "My Survey [surveys]" widget itself, more specifically by the following piece of code in the Client Controller of the widget:

var bc = [{ label: c.data.widgetTitle, url: '#' }];
$timeout(function () {
	$rootScope.$broadcast('sp.update.breadcrumbs', bc);
});

Resolution

The solution here is to either remove the widget from the page or clone the OOB widget and remove or comment the above lines of code from the client controller of the cloned widget and use the clone widget on the page.

Article Information

Last Updated:2019-06-20 05:50:24
Published:2019-06-20