The Now Platform® Washington DC release is live. Watch now!

Help
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Service Portal Ticket Conversation Widget configuration

erikbartholdy
Mega Guru

Does anyone know how to change/config the Ticket Conversation on the Service Portal - SP ????

For a customer, we would like to be able to ad more lines in the message field - If you press enter, it sends the message immediately - it should not send the message before you press the Send Button.

Preferably, the field should have HTML functions so you could fill in pictures etc., but this is complicated since it "lands" in the External Note field in the activity stream in the back end, and the activity stream on the back end is also difficult (impossible) to change.

find_real_file.png

1 ACCEPTED SOLUTION

Actually I just figured out the block myself.



I edited as follows following part of the Client Controller:

$scope.keyPress = function(event) {


  if (!event.keyCode && !event.shiftKey) {


  event.preventDefault();


  if ($scope.data.journalEntry)


  $scope.postEntry($scope.data.journalEntry);



Now an Enter acts as a Shift Enter.


View solution in original post

20 REPLIES 20

erikbartholdy
Mega Guru

If you press SHIFT ENTER the field can contain more lines, but it still sends the note when you press enter


Gwen Vanderhaeg
Kilo Expert

Hi Erik,



Did you ever get anywhere with this?


For IT people it's common knowledge to use Shift+Enter, but end-users...



I would like the same functionality as you have on LinkedIn:


find_real_file.png



Gwen


hi Gwen, not yet, but getting closer, I will answer this when we have a solution


Actually I just figured out the block myself.



I edited as follows following part of the Client Controller:

$scope.keyPress = function(event) {


  if (!event.keyCode && !event.shiftKey) {


  event.preventDefault();


  if ($scope.data.journalEntry)


  $scope.postEntry($scope.data.journalEntry);



Now an Enter acts as a Shift Enter.