Adding project name field on project status report

wendyo
Kilo Contributor

I am fairly new to ServiceNow development. I want to add the project name to the Status report under Related Link on Projects page. See attachment for location of status report and for steps for location of adding field in list.

Page - project_status_report    ->   Widget - Project Information

<div>
  <div class="overview">
      <div class="panel panel-{{::c.options.color}} b">
       <div class="panel-heading">
          <div class="panel-title">{{ADD PROJECT NAME HERE}}${Overview}</div>
        </div>  
        <div class="panel-body">
        <table class="info-table">
          <tbody class="tbody-class">
           <tr>
             <td>
               <div class="label-column">
                 <h5>${Portfolio}</h5>
               </div>
               <div class="value-column bold">
                 {{data.portfolio_value}}
               </div>
             </td>

1 ACCEPTED SOLUTION

Raju Koyagura
Tera Guru

Add below code in "Project Information" widgets HTML portion at line number #19

 

<td>
<div class="label-column">
<h5>${Project}</h5>
</div>
<div class="value-column bold">
{{data.short_description}}
</div>
</td>

 

Code:

 

find_real_file.png

 

Result:

find_real_file.png

 

View solution in original post

6 REPLIES 6

Raju Koyagura
Tera Guru

Add below code in "Project Information" widgets HTML portion at line number #19

 

<td>
<div class="label-column">
<h5>${Project}</h5>
</div>
<div class="value-column bold">
{{data.short_description}}
</div>
</td>

 

Code:

 

find_real_file.png

 

Result:

find_real_file.png

 

Hi, FYI- Plan is to provide Project Name in project status report starting New York release.

In addition two other new fields that will be available on project status report are:

Phase

Actual end date

 

Thanks,

Namita Mishra

wendyo
Kilo Contributor

Thank you very much!

Community Alums
Not applicable

I added a custom field in the Projects table. But the value of Executive Sponsor is not showing up in the report. Project record has the value in Executive Sponsor. Did I miss anything?

<td>
   <div class="label-column">
	 <h5>${Executive Sponsor}</h5>
   </div>
   <div class="value-column bold">
	 {{data.u_executive_sponsor}}
   </div>
 </td>