- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2018 01:49 PM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2018 02:34 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 11:06 PM
No its not working Sir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2023 02:49 AM
Have you found the answer can you help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2023 02:50 AM
Have you find the solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 11:57 AM
The solution would be to go to the survey that you are wanting to modify.. hold ctrl on keyboard and right click the survey header... then click on 'open in page editor'...
now, scroll down to the CSS section, and input this
here is the code
button.btn-default.hidden-xs.asmt-margin-r-md.ng-binding.ng-scope {
visibility: hidden;
}
remember to save at the botton of the page... next, try the survey... it the save button is still there,
make sure you are modifying the correct one.. This link should get you there
you will have to change 'yourinstance' to your actual instance in the link...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2018 05:58 AM
Thanks simon, this would work. I did this at the Page-level so as not to affect the widget so if I do need it in the future I can still utilize it.
I added this to 'Page Specific CSS':
button.btn-default{
visibility: hidden;
}