Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Custom Button For Workspace Related List

DEEPAK KUMAR SI
Tera Contributor

Hi Workspace Champions.

 

I need help to achieve one requirement.

Requirement 1 : Create a M2M relationship between (Policies - "sn_compliance_policy") & (Entities - "sn_grc_profile").

** This is solved, as I create a entry in "sys_m2m" table.

Application Scope : GRC : Policy and Compliance Management

DEEPAKKUMARSI_0-1730803540806.png

Added "Entities" as related List on Policy form and "Policies" as related list on Entity form.

Requirement 2 : Now when I see the the related list in Workspace there in only "New" Button is appearing , instead of adding multiple records.

DEEPAKKUMARSI_1-1730803932253.png

- I need a custom Edit Button, so that I can add multiple records.

- I have seen multiple community post/videos but I am bit confused with Related List Declarative Action.

DEEPAKKUMARSI_2-1730804114191.png

DEEPAKKUMARSI_3-1730804150335.png

DEEPAKKUMARSI_4-1730804192182.png

DEEPAKKUMARSI_5-1730804253724.png

- Still It is not working.

- Anyone having any idea, please guide.

** Just to clear I have selected "GRC: Policy and Compliance Management" as application Scope for all the records create, be it Action Assignment, UX Add-on Event Mapping, Action Payload Definition.

1 REPLY 1

veronikalac
Tera Contributor

Hello Deepak

 

did you manage to find solution to creating m2m ADD or EDIT button ? 

 

Greetings

Veronika