Need to add column

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 08:20 AM
Hi all,
We got one requirement we need to add one field in list view which is not part of that table is it possible?
if yes can anyone provide me the solution?
In above scenario the table in screenshot is sysapproval_approver table & we need add the field author which is not in sysapproval_approver table currently it is in kb_knowledge table is it possible to add that field in sysapproval_approver table.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 08:54 AM
you want to add the "author" field from the "kb_knowledge" table to the "sysapproval_approver" table. Here are the high-level steps you can follow to achieve this:
Create a new reference field on the "sysapproval_approver" table that references the "kb_knowledge" table. This can be done by navigating to "sys_dictionary" table and creating a new field of type "Reference" with the "kb_knowledge" table as the "Reference" table.
Create a new field on the "sysapproval_approver" table that displays the value of the "author" field from the "kb_knowledge" table. This can be done by creating a new field of type "Formula" with the following formula:
current.kb_knowledge.author
This formula assumes that the reference field created in step 1 has the name "kb_knowledge".
Add the new field to the list view by modifying the list view configuration. This can be done by navigating to the list view for the "sysapproval_approver" table, clicking on the gear icon in the top right corner, and selecting "Configure > List Layout". From there, you can add the new field to the list view by dragging it from the "Available" column to the "Selected" column.
Once these steps are complete, the "author" field from the "kb_knowledge" table should be displayed in the list view for the "sysapproval_approver" table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 05:04 AM
Hi @Sankar N ,
I have tried the solution it is not working can you give some screenshot how to create "formula" for the filed created
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2023 05:51 AM
Can you please below steps to add the "Author" field from the "kb_knowledge" table to the "sysapproval_approver" table list view,
- Open the "sysapproval_approver" list view that you want to modify.
- Click on the gear icon in the top right corner and select "Configure".
- In the "Configure List Layout" form, scroll down to the "Related Lists" section.
- Click on "New" to create a new related list.
- In the "New Related List" form, fill out the following fields:
- Related List: "kb_knowledge" (the table containing the "Author" field)
- List Title: "Knowledge Article"
- List Field: "Author" (the field you want to add to the list view)
- Click on "Submit" to save the related list.
- In the "Configure List Layout" form, drag and drop the new related list to the desired location on the list view.
- Click on "Save" to save the changes to the list view.
After completing these steps, the "Author" field from the "kb_knowledge" table should be displayed as a related list on the "sysapproval_approver" table list view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 10:34 AM - edited 03-08-2023 10:41 AM
Hello Pavithra813,
I believe this is a scenario where you could use reference fields and perform dot-walking for this field in list view to display what you are looking for.
Please try the steps below and let me know if it helps.
- Create a new reference field in the sysapproval_approver table. (Use 'type' as 'Reference').
- Name it KB Author or something meaningful.
- Use table 'kb_knowledge' in the 'Reference' option in 'Reference specification' tab while creating this new field. So new field referencing the Knowledge table. Save it.
- Now go to 'Layout list' in your sysapproval_approver table.
- Select the correct list View name in which you want to display this column.
- Now click the newly created reference field. There should be a [+] next to it. Click the 'expand selected reference field' button.
- Now select 'Author' from the displayed list and add it to the right side 'Selected' columns list. Make sure to place it where you want to display it. Then click Save.
Now if you go to the table list view and use the view name that we just edited, it should display the column as KB Author.author. Im unsure how you will be using it in your organization but this would work in this case.
Please mark it as the solution if it works out for you!