- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 01:53 AM
Hi Experts,
Can you please suggest how can i add three column on table form, i explored on community regarding my use case and i found few of the answer on this topic given in past where expert suggest to use UI Macro but I am not aware about jelly script. Can anyone help me to write the script of creating three column using UI Macro
https://community.servicenow.com/community?id=community_question&sys_id=4f30dbe5dbdcdbc01dcaf3231f9619ca
Regards,
Surabhi
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 02:10 AM
Hi Surbhi,
unfortunately you did not ask in which UI (Classic, Service Portal, Workspaces) you want to have more than 2 columns.
But apart from that, you should ask whether it is really worth the efforts?
Going that way you will break the OOTB behavior and there is the risk that you forms will not render correctly anymore with the next upgrade.
So you would better go with the standard and consider that are reasons why it is done that way.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 04:17 AM
Thanks for your response.
This is required for Classic UI say on an Incident form in native view.
I am checking on the points mentioned by you and Ankur above internally within my team.
But say if it is a classic view, would that be possible to implement say using a UI macro and then adding that Macro to the Form layout as a component ? Any thoughts?
Or even if it is possible is it better to decline this requirement only due to issue which might occur in future?
Regards,
Surabhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2022 04:34 AM
Hi Surbhi
I would ALWAYS reject such a requirement. ServiceNow will not help you if your approach will break and you cannot estimate the consequences when rebuilding the form via a Formatter (aka UI Macro).
And therefore I will not talk about a possible solution.
Kind regards
Maik