Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to render placeholders on fields for Service Operation Workspace

June3
Tera Contributor

The mehtods of g_form.getElement("field_name"); and field.setAttribute('placeholder', "hint for the field"); in onLoad client script  work well for Core UI, but why this doesn't work for Service Operations Workspace? What are the correct methods to be used if SOW need to be retendered the hints as placeholders for fields? 

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@June3 

that's not supported for workspaces.

You can't dynamically set it using g_form methods.

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader