We currently have a custom drop down for our locations (different buildings).  Currently on the Android App the location drop down is not visible.  So I would like to out put the selection from the custom list/drop down to the top of the ticket.  This will allow us to see the location on our mobile devices.  Does anyone know how this can be done.  I would imagine the data would have to be pulled from the SQL database and output at the top of each original ticket entry.  Please Help!!

Please help us to help you by reading and following the posting guidelines located in this thread: Please read before requesting assistance.  The more information you give us the better we will be able to assist you. Thank you.There is no Android App.  So there is no way that anyone here can help you with that.Why not just Add a custom field/list.  Populate it.  When you log in and view the ticket via the web ui you will be able to see the populated response.

Server InformationosTicket Versionv1.9.14 (8b927a0)  Upgrade— v1.9.15 is availableWeb Server SoftwareApache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24MySQL Version10.1.16PHP Version5.6.24Attached is a picture of the App I found on Google Play.  blankThe next attachment is the location of the custom menu when creating a new ticket.  blankThe last attachment is the output of the drop down and where I would like the custom menu to output text in to the top of the thread/ticket.blank

osticket.PNG

osticket2.PNG

osticket3.PNG

As you can see on the image from the play store that you posted, it's not officially developed by osticket, it's developed by red4sis.So if something is not working in the app, you'll have to ask them about the problem since it doesn't seem to be a problem with osTicket itself.

Regardless of the App, I would like to Put the location drop down text at the top of the initial ticket thread.  Anyone know  how to do something like that?

If you edit the ticket form you should be able to add it there and drag it to the top, the only drawback is that you'll always have it on all tickets.Other way is if you were to switch place with the ticket form and dynamic data but then all custom fields will appear over the ticket data.

6 days later

Micke1101, can you elaborate on the following statement.  Like where I should start to do this?  Thanks!"Other way is if you were to switch place with the ticket form and dynamic data but then all custom fields will appear over the ticket data."

Simplest way is to do thishttps://github.com/osTicket/osTicket/blob/develop/include/client/open.inc.php#L92<?php foreach (array_reverse($forms) as $form) {https://github.com/osTicket/osTicket/blob/develop/include/ajax.forms.php#L27foreach (array_reverse($topic->getForms()) as $form) {

Thanks Micke1101!!  Took a look at the code and cant make sense of it....  (New to PHP coding)  Below is a picture of my custom field.  I just want to call my location variable to input at the top of the of the ticket thread.  also pictured below.  Any ideas how i might do so?  Thanks!blankblankSo basically in this ticket thread, right above "Good Morning-"  The output from the location dropdown would be printed. 

location.PNG

thread.PNG

Write a Reply...