[rt-users] How to add a new form page

Albert Shih Albert.Shih at obspm.fr
Mon Sep 15 16:21:56 EDT 2014


 Le 15/09/2014 à 22:13:39+0200, Luca Mazzaferro a écrit
Hi, 

> thanks for the answer.

Well....in fact I'm not sure I fully understand what you want to achieve
so...maybe what I say is stupid.

> So what I want to do is this: 
> show in the login page some information for the users written by the admin of
> the site (me).
> For this purpose I already integrated a jQuery and a perl script which retrieve
> information from a external sqlite database and shows them in the login page.
> This part works.

Ok 

> Now I need to populate the sqlite database and it should be simple with perl
> but something is not working properly: I'm not able to pass the variables
> values from the form to the perl script. It seems the RT overwrites them with
> null values.
> Can I do it in another way?

Here I don't understand...what sqlite database ? I can understand you want
to retrieve data from a sqlite database to show some information but why
you want to populate the sqlite database ? 

> CustomField could be useful also for this task?

I'm not sure my answer is any help for you. The CustomField allow you to
create some...custom field use by ticket. For example if you allow you user
to create ticket through the SeflService you maybe want then to tell you if
the ticket is urgent or not. For that kind of information you can use
Custom Field. 

Don't forget RT have a REST API so you can use that to do some interaction
between you script and RT.

Regards.

JAS

-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: jas at obspm.fr
Heure local/Local time:
lun 15 sep 2014 22:15:41 CEST



More information about the rt-users mailing list