The Vancouver release is no longer supported. As such, the product documentation and release notes are provided for informational purposes only, and will not be updated.
Add columns in the logged time card list on the Time Sheet Portal to show additional
information that you might require to log your time cards.
Before you begin
Role required: admin or sp_admin
About this task
Procedure
Navigate to All > Service Portal > Widget Instances.
Click the preview time card header icon
() to open the Time Card Portal Main Container widget instance.
On the Instance form, update the code by providing values for the following
column configurations in the Additional options, JSON
format field.
Table 1. Instance form
Column configuration
Description
name
Name of the column in a table.
label
Column name to display in the logged time card list on
the Time Sheet Portal.
The configuration is mandatory if you are adding a column
of a table other than the Time Card [time_card]
table.
width_in_percent
Column width in percentage in the logged time card
list.
Note: To add more than one column, separate each column configuration with a
comma. The columns are added in the same order as you add them in the
code.
Click Update.
Example
The following sample code adds the category column of the
Time Card [time_card] table with the column name Category and
width of 10% in the logged time card list on the Time Sheet
Portal.
We use cookies on this site to improve your browsing experience, analyze individualized usage and website traffic, tailor content to your preferences, and make your interactions with our website more meaningful. To learn more about the cookies we use and how you can change your preferences, please read our Cookie Policy and visit our Cookie Preference Manager. By clicking “Accept and Proceed,” closing this banner or continuing to browse this site, you consent to the use of cookies.