How to pre-fill an attribute that was added later, posted by Antonio Bulgheroni on Tue May 21 11:57:50 2019
|
Dear all,
I have a question about my logbook. I have recently added a new attribute to my logbook and I would like to prefill all previous entries with
a fixed value for this field. Is it possible? |
Re: How to pre-fill an attribute that was added later, posted by Stefan Ritt on Tue May 21 12:08:17 2019
|
Find all entries which have this attribute empty. Then click on Select, then select all, then click on Edit, then change all values. There might be a
limit how many entries you can select in one go, so you might have to do it in bunches.
Antonio |
Re: How to pre-fill an attribute that was added later, posted by Antonio Bulgheroni on Tue May 21 12:51:08 2019
|
Thanks, it worked great!
Stefan
Ritt wrote:
Find all entries which have this attribute empty. Then click on Select, |
Write by a .dll instead of the elog.exe, posted by Marcel Krenz on Tue May 21 15:05:25 2019
|
Dear All,
is it possible to write to the elog instead of the Command line throug a .dll |
Re: Write by a .dll instead of the elog.exe, posted by Stefan Ritt on Tue May 21 17:20:19 2019
|
I presume you want to write from another program. You can call a command line shell (done via the "system()" command under C) which then calls
the elog executable. If you absolutely want a DLL, you can einter try to compile one yourself using the fuctions in elog.c, or use the curl DLL with which
you can also submit elog entries. See elog:68597 for usage of curl. While curl is usually executed from the command line, there is |
Find cannot find values with brackets, posted by Sebastian Schenk on Fri Jun 14 11:29:30 2019
|
For demonstration, I created https://elog.psi.ch/elogs/Linux+Demo/8
The Find search for category aaa(bb) does not give results.
A quick filter corrects the value to aaa\(bb) and delivers results. |
Re: Find cannot find values with brackets, posted by Stefan Ritt on Fri Jun 14 12:43:04 2019
|
I‘m happy to merge the PR after a quick test next week.
Stefan
Sebastian |
Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Fri Jun 28 17:00:10 2019
|
Dear all,
we have a running elog installation using SSL (with the self-signed certificate). Generally we use the web interface, but we have been asked
if it was possible to automatically insert elog entries via command line. |