Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Is it possible to generate an ID with a particular format ?, posted by Franck C on Tue Jan 27 15:55:38 2009 
    icon2.gif   Re: Is it possible to generate an ID with a particular format ?, posted by Stefan Ritt on Tue Jan 27 16:01:09 2009 
Message ID: 66181     Entry time: Tue Jan 27 16:01:09 2009     In reply to: 66180
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Windows  ELOG Version: last one 
Subject: Re: Is it possible to generate an ID with a particular format ? 

 

Franck C wrote:

Hi,

I want to know if it is possible to display an ID with this format: YYYY-XXXX where YYYY is the current year and XXXX a sequential number from 0001 to 9999 ?

ID Display = 2009$message id

could be fine but the year is hard coded and there are no 0 before the number.

Can you help me ?

Thanks a lot 

 

You cannot make this with the ID, but you can create an additional attribute which will show exactly this behavior. Have a look under

subst <attribute> = %Y-####

in the documentation. 

ELOG V3.1.5-fe60aaf