Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   is it possible to have unique attribute ?, posted by toumbi on Wed Jul 11 11:52:24 2007 
    icon2.gif   Re: is it possible to have unique attribute ?, posted by Stefan Ritt on Thu Jul 12 18:36:05 2007 
Message ID: 2289     Entry time: Thu Jul 12 18:36:05 2007     In reply to: 2288
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS:   ELOG Version: 2.6.5-1872 
Subject: Re: is it possible to have unique attribute ? 

toumbi wrote:
I have an attribute that have to be unique (but i need also to write it myself) , so i would like to be able to create it the first time, and if i try to create it again, i want not be able.
Is there a way to do that ?


That kind of functionality is unfortunately not implemented. All you can do is to use an automatically generated unique attribute with the syntax:
Preset <attribute> = XYZ-####

or similar. Please consult the documentation for details.
ELOG V3.1.5-fe60aaf