Project workspace status report dropdown default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello All,
On project workspace, For status reports we have the 'create new' button with dropdown option as 'copy' like in the below screenshot.
I want to make 'Copy' as default button instead of 'Create new' and put 'create new' in the dropdown option. I am not sure how I can modify that.
Any help is appreciated.
Thanks,
Rocky.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14 hours ago
Hi @Rocky5,
Here is the UI Macro that controls the Status header:
https://<instance name>.service-now.com/sys_ui_macro.do?sys_id=f783e8a687d003008b9b3a0548cb0b93
Replace the div with class right-container pull-right with below:
<div class="right-container pull-right">
<div id="dropdownMenubtnGrp" class="btn-group" role="group">
<button type="button" class="btn btn-default navbar-btn" id="copy_status_report">${gs.getMessage('Copy')}</button>
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="dropdownMenu">
<span id="dropdownMenu1" class="caret" />
<span id="dropdownMenu2" class="sr-only">${gs.getMessage('Toggle dropdown')}</span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu" style="min-width:106px;">
<li class="dropdown-item" id="new_status_report_list">
<a href="javascript:void(0);" id="new_status_report">
<span>${gs.getMessage('Create new')}</span>
</a>
</li>
</ul>
</div>
</div>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
14 hours ago
I will recommend not to alter the OOTB behavior as that means you are doing customization and adding technical debt.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
