Employee Center - Include OOTB header widget in custom header widget

Vegard S
Mega Sage

I'm working on a project where graphic designers wants to make some changes to Employee Center Header widget. 
Specifically they want to replace the My Requests and My Tasks with a combined dropdown that displays a mini widget we typically find on the front page. 

I know I can clone the widget, but I find it creates unecessary technical debt cloning the whole thing. When all I need to do is replace these menu items with a custom one. 

 

Is the only way to clone the whole thing or is it possible to embed the ootb widget and do some overrides in my own widget?

1 ACCEPTED SOLUTION

Mark Manders
Tera Patron

Just replace it with your own.

View solution in original post

2 REPLIES 2

Mark Manders
Tera Patron

Just replace it with your own.


Either that, or push back on the requirement. 
There seems to be a slightly less tech debt heavy approach by only cloning the Header Menu and not the entire widget.

Then I can set these to false:

	"enable_requests":{
		"displayValue":"false",
		"value":false
	},
	"enable_tasks":{
		"displayValue":"false",
		"value":false
	}

And put my variant in the Header Menu and reposition it with CSS. 
I might just do that unless the designers yield 😄