How to configure a formatter on the idea form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi, I want to configure a formatter on the Idea form, which shows comment related to that Idea dynamically. These comments are not OOB ones, and these are stored in a separate cf_comment table. I tried to build a UI macro, but the issue is it is not dynamic and the not retrieving dynamic sysid of the Idea to add comments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hello @Siris ,
The reason may be your UI Macro feels static is because it doesn't automatically know the current record context. By using g_form.getUniqueValue() (on forms) or passing the Idea sys_id explicitly (in portal), you ensure the comments are tied to the correct Idea dynamically.
refer this may it help :
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
19m ago
instead why not show those Comments in related list of that Idea record?
If the "cf_comment" table has field referring to Idea table then you can simply configure Related list and add
if not then you can create a defined relationship and then add that on form
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader

