- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 05:28 AM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 05:39 AM
Just replace it with your own.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 05:39 AM
Just replace it with your own.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2024 06:21 AM
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 😄