Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Query to get values for Attributes, posted by Florian Feldbauer on Mon Sep 21 09:17:52 2020 
    icon3.gif   Re: Query to get values for Attributes, posted by Andreas Luedeke on Mon Sep 21 20:03:49 2020 
       icon2.gif   Re: Query to get values for Attributes, posted by Florian Feldbauer on Tue Sep 22 09:27:45 2020 
Message ID: 69222     Entry time: Mon Sep 21 20:03:49 2020     In reply to: 69221     Reply to this: 69223
Icon: Idea  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Question  OS: Linux  ELOG Version: 3.1.3 
Subject: Re: Query to get values for Attributes 

That would be a nice feature...

If you are good in parsing HTML you can achieve this feature: when you create a new entry "<elog-URL>?cmd=new", you'll get HTML source code that provides you with all possible attribute choices.

Disclaimer: this only works if you don't use Conditional attributes.

Florian Feldbauer wrote:

Hey,

I'm trying to integrate the Elog into our SlowControl System (Phoebus/EPICS). As a first step I translated the python library to Java. So writing new Entries and viewing them works.
But for Phoebus, you need a list of the possible values for the attributes. Currently this is done via the config file from Phoebus.

Is there a way to get the values also via a query directly from the Elog?

Cheers,
Florian

 

ELOG V3.1.5-fe60aaf