Hide Cancel and Save buttons on Service Portal customer survey

richard38
Tera Guru

Hello, I'm new to Service Portal development and I am looking to remove the Cancel and Save buttons from the survey. I've modified assessment_take2 to hide these and it works from the standard interface side. When the survey is opened from the Service Portal side the buttons remain.

 

thank you

1 ACCEPTED SOLUTION

Simon Rudd
Tera Contributor

Hi richcab,

I had the same issue and have a solution:

The name of the widget you need is called 'take survey'. Inside the widget, there is a related list called 'Angular Providers'. Within here, there is 'spSurveyForm' which is where you will find the buttons. (the save button is around line 70) You just need to comment out the line.

Let me know if this works for you.

 

View solution in original post

17 REPLIES 17

Mathias Vandend
Mega Sage

Hi

 

Thanks for the tip. If I inspect and add the property then the buttons are hidden. So I will have to figure out why it doesn't apply the page specific css.

Mathias Vandend
Mega Sage

OK

 

Found the issue. it was my browser caching 🙂

Doh! Of course...! Glad it worked out.