Multi Row Variable Set - hide 'Remove All' and 'Delete' functionality on service portal

Dashing
Tera Contributor

Hello,

i saw multiple question regarding multi row disable Remove all button and as well as delete button but i am not getting any solution regarding in this issue.

could not make it as a ready only variable because we want the edit button only in multi row variable.

i can see the widget is read only so we cannot hide it through css.

Is there any solution so that simply just remove Remove all,delete button from multi variable set because we need to utilize only edit button.

any solution would be welcome as there is no simple solution available(please notice i am not looking to clone widget)

Thanks in advance

 

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Oke if I understand it correctly, you do want to keep the edit button, nothing more? Because this is Service Portal... you could try to hide the elements through CSS. For example page specific CSS or widget instance options css.

For example see below. Where I've hidden the delete icon:

find_real_file.png

Did this by adding to the Page specific CSS:

.wrapper-xs.fa.fa-close {
  display:none;
}

To understand a bit more how I did this, this article which I wrote a while ago might be helpful. Same principle. Inspect which elements you are after, and add page specific CSS:
Removing Service Portal Catalog Item Help tag icons

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

7 REPLIES 7

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Did this solve your question? Or do we need to follow-up on this?

Please mark this answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Did this solve your question? Or do we need to follow-up on this?

Please mark this answer as correct if it solves your question. This will help others who are looking for a similar solution. Also marking this answer as correct takes the post of the unsolved list.
Thanks.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Abhishek Kr47
Tera Contributor

Hey, did you find any other solution except editing it through css ?