Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

We need to have the same field name in SOW view as per U116/Native view

sharsha
Giga Contributor

It is 'Additional comments(Customer Visible)' in UI16/Native view but it is just 'Additional comments' in SOW.

We need to have the same field name in SOW view as per U116/Native view

We're not able to find the common dictionary record which contains the same name.
also we're not able to see the dictionary field record (related to UI16 view), that have the name 'Additional comments(Customer Visible)' .

PFB attached screenshots of both view. Please advise.

sharsha_0-1787652437673.png

sharsha_1-1787652500958.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@sharsha 

another fix is create your own onload client script on INC which runs on new record and checks if it's SOW

It worked for me on new record in SOW

AnkurBawiskar_1-1787656735011.png

 

function onLoad() {
    // Check if it's a new record
    if (g_form.isNewRecord() && top.location.href.indexOf('/now/sow/record/incident/-1') > -1) {
        g_form.setLabelOf('comments', 'Additional comments (Customer visible)');
    }
}

output

AnkurBawiskar_0-1787656717333.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

8 REPLIES 8

@Ankur Bawiskar I need to have that same label when I'm creating a new Incident record in SOW view and also after the Incident record is created in SOW view as well. Please let me know, Thanks!

@sharsha 

the script I shared worked for new record, there you can enhance so that it shows for new and existing record both

function onLoad() {
    // Check if it's a new record
    if (top.location.href.indexOf('/now/sow/record/incident/') > -1) {
        g_form.setLabelOf('comments', 'Additional comments (Customer visible)');
    }
}

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

SohamTipnis
Mega Sage

Hi @sharsha,

 

Check for the UI builder; that is the way you can achieve it.

 

Let me check this as well!!

 

 

If you find my answer useful, please mark it as helpful and correct. ‌‌😊


Regards,
Soham Tipnis
ServiceNow Developer || Technical Consultant
LinkedIn: www.linkedin.com/in/sohamtipnis10