Customize Breadcrumbs link

nicolancl
Tera Contributor

Hi all,

I want to change the link of an item in a breadcrumb.

When I click on it, I am redirected to the page sc_category&sys_id=...

I wish, instead, to be redirect to a page that is a clone of that but the name is customer_name_sc_category&sys_id=.

What can I do?

Thank you in advance

7 REPLIES 7

Alikutty A
Tera Sage

Hi,

Breadcrumb links are populated by the widgets and you will need to locate the widget which injects the link on the breadcrumb widget. This should be ideally populated the widget that displays your items on the right side of page. Please check the server side or client side script of the widget for the following line "sc_category" and then replace with your require page link in it.

 

Thanks!

Thank you for your answer Alikutty, 

but I am unable to find on the widget something like 'sc_category'. 

 

The client script is the following:

function($scope, $rootScope) {
	var c = this;
	var deregister = $rootScope.$on("sp.update.breadcrumbs", function(e, list) {
		c.breadcrumbs = list;
	});
	
	$scope.$on('$destroy', function(){ 
		deregister();
	});
}

and the server script is:

(function() {  /* populate the 'data' object */  /* e.g., data.table = $sp.getValue('table'); */})();

What do I have to modify?

 

Thank you,

Nicola

Not the breadcrumbs widget, It will be the widget which displays items on your page. Can you paste a screenshot of your customer_name_sc_category page?

Hi Alikutty,

I have resolved my issue by modifying the widget (not the widget breadcrumb) of the page, thanks for you rsuggestions.

Thank you for you help.