Global Description on HR template

hamza8
Tera Contributor

Hi everyone,

 

I have an issue about global description on hr template. Global description is not visible at task from the portal under the details tab.

The issue is, for admin the global description in admin's portal page is visible but for basic role user GD(global description) is not visible. 

I have added the admin role to the user which had the basic role at first but nothing changes. 

Checked the ACL's and seems on fields and row level, the necessary permission(s) has given. 

 

The related (oob) check is happening on hr_PortalUtil script include with the lines below:

 

_shouldGetGlobalDescriptions: function(gr) {
if (gs.nil(gr)) throw new Error(this.GLIDE_RECORD_ERROR_MESSAGE);
gs.info('gs.nil: ' + gs.nil(gr));
try {
if (gr.template && gr.template.show_translated_fields)
return true;
gs.info('Description: ' + gr.template.description_for_employee);
return false;
} catch (exception) {
gs.error(exception.message);
throw new Error(exception.message);
}
},

 

I couldn't be able to see the role check or other checks why the issue is happening.

If anyone can show me some lights on it would be very much appreciated.

 

Kind regards,

Hamza

3 REPLIES 3

Susan Britt
Mega Sage
Mega Sage

Hi Hazma,

 

You are wanting the task's "Description" to show on the HR Task in portal/employee center.  Is that correct?  If so, be sure the To-dos Configuration has the Description added to the list of fields to appear. The type of to-do (hr task type) will also impact whether a description appears.  What type of task is it (e.g., E-Signature, Mark when complete)?

Hi Susan,

 

Thanks for your response.

 

I want to add the "GLOBAL DESCRIPTION" field from the hr template to hr task's Detail Tab on the portal.

 

The type of the task is "upload document". 

Raju320
Tera Contributor

Hi @hamza8 

I have same requirement, Please provide the solution if you find any.