Related List Edit Many-to-Many
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2017 12:22 PM
I have a requirement to allow kb_knowledge articles to relate to each other in a many-to-many fashion.
I created a related list, but I cannot add an "Edit" button to it. I looked at Configure -> List Controls and the "Omit edit button" was not checked. I also tried the "Enable Edit" UI Action, but that didn't work either.
I created a new edit button off the global one form many-to-many and got it to show, but on clicking it, it didn't list any records.
I also tried a new "List" field on the form and it listed the KBs, but display on the table is set to "Name" and that is null. I cannot change the display value to show the number.
We are using the Istanbul release and I've seen others complain about similar problems in later releases. Does anyone have a solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2017 02:55 AM
Hi,
This is because the new M2M table which you created for Related List won't be accessible to itil users by default. You need to configure the required ACL in order to have the Buttons on the Related List. Same Query has been addressed in the below thread.
Many-to-Many Relationships Related Lists
Hope this helps.Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2017 03:51 PM
Thank's Shloke, but I originally ran across that thread. Unfortunately ServiceNow doesn't allow a m2m between the same table. I need to be able to relate one knowledge article to other knowledge articles (kb_knowledge -> m2m -> kb_knowledge).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2017 03:58 PM
On a similar note, the existing related list "Knowledge -> Related Knowledge" does not show an edit button. The "Omit edit button" is unchecked and I have also tried the "enable edit" UI Action. Not even admin can get an edit button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2017 05:15 PM
Another note, creating a "List" field to reference kb_knowledge and then adding the field as a related list seems to get me 90% of the way there. There is also not an edit button though nor an option to "Enable" one.
I assume I need a list_edit ACL rule for this? I currently couldn't test this due to permissions.
Thank you for your patience reading these 3 posts.