We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Workspace list panel viewport

pallavigaik
Kilo Guru

Hi All,

 

I have configured a custom workspace. In that workspace I have added a list component. Have added one button as well to add new record. My requirements are as below:

  1. When user clicks pencil icon in list then, a modal should be opened to edit the record.
    Tried to add subpage for list viewport panel. But nothing is happening. Not sure when that subpage will be visible

  2. When user clicks the button a modal should be opened to create new record. Have added open modal event handler on that button click. But it opens the modal in full window. I want modal to be open in centre with less width and height than main screen.

 

I'm trying to use list viewport modal but not getting fruitful result. Please help me to achieve the functionality.

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@pallavigaik 

share screenshots please

so you created list and in that created a button? where?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Tera Patron

Hi @pallavigaik 

 

refer: 

Configure a page variant as a modal in UIB 

UIB: UI Action to initiate Modal Dialog created in UI Builder 

https://www.youtube.com/watch?v=lTDa8nFRvmU&t=69s

UI Builder Enhancement: Create New Button List with Popup

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
In this video I create a declarative action on a list component that opens a modal in UI Builder. This video should show you how to add a button to a list component that connects to an event in UI Builder. Want more details or to ask questions? Open the community post here: ...