HI Service Portal (HI Help and Feedback) Floating buttons

Michael160
Kilo Expert

Does anyone know how HI support is doing this on their Service Portal?  These buttons that follow me on their Portal.  I can click on feedback and complete a survey.  I would like to do this on our service portal.

find_real_file.png

1 ACCEPTED SOLUTION

Michael,


Sorry for a late reply.



You can define it almost anywhere. On a widget level, page, etc



There are two parts that have to have a matching ID. First is on the <button> element and second on a modal (check red highlight)


You chose ID name, but they have to match. If you have more them one modal, you have to have more unique IDs



<!-- Buttons trigger modal -->


<div class="sticky-btn">


      <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#Feedback">Feedback</button>


      <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#Help">Help</button>


</div>



<!-- Feedback Modal -->


<div class="modal fade" id="Feedback" tabindex="-1" role="dialog" aria-labelledby="Feedback">


  <div class="modal-dialog" role="document">


      <div class="modal-content">


          <div class="modal-header">


              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>


              <h4 class="modal-title" id="myModalLabel">Feedback</h4>


          </div>


          <div class="modal-body">


              ...


          </div>


          <div class="modal-footer">


              <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>


              <button type="button" class="btn btn-primary">Submit</button>


          </div>


      </div>


  </div>


</div>



Hope this helps


View solution in original post

36 REPLIES 36

Thanks for the quick fix. I will let you know if I find anything else once the update is available.


Hi Dean,



An updated version is now available at the store. This should fix the issue when embedding the widget in your footer.



https://store.servicenow.com/sn_appstore_store.do#!/store/application/b1b464e20fb00300c1098b9ae1050e...



Kind regards


Lasse


Hi.


Have you considered including some ability to "Create an Incident" from the information received in a Feedback response . Users some times do not know the difference between Help and Feedback and use the Feedback button to ask questions that should really go to the helpdesk as an incident. It would be nice to just have a button to do this instead of doing it manually with cut-n-paste. A "UI Action" that was allowed to cross-script to the incident table was what I was thinking about.


Hi Dean,



Sounds like a great idea. I will look into this 🙂



Kind regards


Lasse


I have just notice that the Feedback does not log information in the feedback table for users that do not have the ROLE: x_autps_a_spf.service_portal_feedback_user



A FEEDBACK entry appears but there is no data for User/Url/Comments , If I then go back and assign the same user the (x_autps_a_spf.service_portal_feedback_user) role everything works fine.


Is this working as designed or a bug?