How to add options in "other" tab of time sheet portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 08:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 08:39 AM
Hi,
As per this thread -
It is very difficult to add a new field/column to the Time Sheet Portal so that it is Editable. If you would want to attempt such a thing, I would recommend going into the 'tc-grid' ID Widget (sp_widget) and then closely following the implementation of the resource_plan field. That uses a Scripted REST API to get the table data.
Updating More Actions might be more feasible. This can be updated in the 'tcMoreActions' sp_ng_template. Just define a new ng-click and add the behavior to the Client Controller of the 'tc-grid' and mimick the implementation.
If you are doing any further customizations in Time Card Management, take a look here for lots of detailed information on how fields are populated or calculated along with heavily detailed commented OOB code for Script Includes, Business Rules, Service Portal Widget Server Scripts, and the Time Sheet Portal's layout. Great for Admins and Developers:
ServiceNow - Time Card Management - Field/Scripting Guide
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-02-2024 08:41 AM
It is added as a choice on time_card.category.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-03-2024 04:46 AM
Adding options to the "Other" tab of a time sheet portal depends on how the system you're using is set up, but generally speaking, it should be a straightforward process once you get the hang of it. Most time sheet portals allow customization through the admin settings or a configuration section.
To start, you'll likely need admin access, since adding options typically requires permission to modify the system settings. Once you’re logged in with the right permissions, you’ll want to head over to the configuration or settings area of the time sheet portal. Look for something like "Fields" or "Categories" under the timesheet settings, or possibly under a broader "Customizations" section, depending on the portal's design.
In the "Other" tab, there might already be some pre-defined options, and usually, there’s a button or link that says something like "Add New Option" or "Customize." You click that, and then you can add whatever options you need—whether that's new project codes, task types, or reasons for time spent. You’ll probably need to give the new option a name, maybe assign it a category, and possibly adjust visibility settings (like who can see it or use it). Once you save your changes, the new options should show up in the "Other" tab the next time you or your team goes to fill out a time sheet.