Re: Export of entries, posted by William De La Vega on Wed Nov 26 18:01:21 2008
|
Stefan Ritt wrote: |
William De La Vega wrote: |
I would like to export several entries out of a logbook I have with a specific subject.
I need to send these entries to someone who does not have elog nor can they install it.
Is there a way to do this?
Thanks,
Bill
|
Yes. Go to the "find" page, select your subject, check "CSV", "XML" or "RAW" and click on search.
|
Thanks for the information, looks like the csv options don't export the actual entry. I'll have to play with the other formats they look like html. |
Multi attribute email notification, posted by mike cianci on Tue Dec 2 23:23:34 2008
|
What I would like to do is:
If attribute "A" and attribute "B" - send email to person #1
If attribute "A" and attribute "C" - send email to person #2
(I apologize if this in the documentation. I have looked at the "Email" section and have either missed it or don't understand it. Thank you for the help) |
Re: Multi attribute email notification, posted by Stefan Ritt on Wed Dec 3 15:55:52 2008
|
mike cianci wrote: |
What I would like to do is:
If attribute "A" and attribute "B" - send email to person #1
If attribute "A" and attribute "C" - send email to person #2
(I apologize if this in the documentation. I have looked at the "Email" section and have either missed it or don't understand it. Thank you for the help)
|
This is not implemented, you only can test on a single attribute. There might be a possibility with conditional attributes, but I have never tried this out. |
Re: Multi attribute email notification, posted by mike cianci on Wed Dec 3 22:57:13 2008
|
Your suggestion worked GREAT (like always)
Stefan Ritt wrote: |
mike cianci wrote: |
What I would like to do is:
If attribute "A" and attribute "B" - send email to person #1
If attribute "A" and attribute "C" - send email to person #2
(I apologize if this in the documentation. I have looked at the "Email" section and have either missed it or don't understand it. Thank you for the help)
|
This is not implemented, you only can test on a single attribute. There might be a possibility with conditional attributes, but I have never tried this out.
|
|
Conflict between Select-Edit and attribute types, posted by Richard Stamper on Thu Dec 11 17:50:35 2008
|
When doing a Select->Edit operation, if an attribute has a type of "numeric" and the records selected already have (some) values for that attribute, then the "- keep original values -" message that is inserted to indicate that the values should be preserved causes the type check to fail.
Would it be possible to modify the Javascript that carries out the type check to treat the "- keep original values -" message as an exception? |
Re: Conflict between Select-Edit and attribute types, posted by Stefan Ritt on Fri Dec 12 07:45:14 2008
|
Richard Stamper wrote: |
When doing a Select->Edit operation, if an attribute has a type of "numeric" and the records selected already have (some) values for that attribute, then the "- keep original values -" message that is inserted to indicate that the values should be preserved causes the type check to fail.
Would it be possible to modify the Javascript that carries out the type check to treat the "- keep original values -" message as an exception?
|
Thanks for reporting this. It has been fixed in SVN revision 2155. The fix will be contained in the next release. |
mysql in execute, posted by Stefan Kanitz on Fri Dec 12 08:57:41 2008
|
Hello all,
i have a question to mysql inexecute:
This works:
Execute new = mysql -h localhost -u root -D test1 -e "insert into `test1` (author, type) values ('$Author', '$Type')"
This doesn't work:
Execute new = mysql -h localhost -u root -D test1 -e "insert into `test2` (Autor, Adressat, Teil1, Teil2, Teil3,
Teil4, Teil5, Teil6, Teil7, Teil8 ) values ('$Autor', '$Adressat' , '$Teil1', '$Teil2', '$Teil3', '$Teil4', '$Teil5',
'$Teil6', '$Teil7', '$Teil8' )"
db is okay, i have all checked this. My question is: can the execute-command take a multiline argument? Or perhaps does somebody see a mistake i have made in the execute-line?
Thanks!
Steve
|
Re: mysql in execute, posted by Stefan Ritt on Fri Dec 12 09:16:19 2008
|
Stefan Kanitz wrote: |
This doesn't work:
Execute new = mysql -h localhost -u root -D test1 -e "insert into `test2` (Autor, Adressat, Teil1, Teil2, Teil3,
Teil4, Teil5, Teil6, Teil7, Teil8 ) values ('$Autor', '$Adressat' , '$Teil1', '$Teil2', '$Teil3', '$Teil4', '$Teil5',
'$Teil6', '$Teil7', '$Teil8' )"
|
In the elogd.cfg file, you cannot have multi-line options. Either you put everything on a single line (I guess there is also some limit at a few hundred characters) or you call a batch file which then calls the mysql command. |
|