- 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-2018 07:25 AM
Hi,
I've tried this solution but I've got an issue. On my dev environment it works as intended, but when i've moved the solution to our Production instance, it didn't work. The Cancel and Save button were still there.
got any idea what could be the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 08:00 AM
hmmmm, not sure. Were there any errors when the update was moved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 08:05 AM
No I didn't see any errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2018 08:39 AM
I would take a look at it on the client side in your production instance. Using chrome, right-click on the button and select 'Inspect'. Add the property (visibility: hidden; see attached image) and see if it hides. If not, there may be something upstream that's defaulting the property to visible. What's different in the two environments? Theme maybe? You can always resort to asking HI for support if you cannot track it down.
If not, you can always edit the survey UI Page (assessment_take2) html code to remove the button. This will work, but it will be more permanent than page specific code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 05:44 AM
In what way did you move the solution to your PROD Instance?