Related List Edit Many-to-Many

jcharbonnet
Kilo Contributor

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?

4 REPLIES 4

shloke04
Kilo Patron

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


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

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).


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.


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.