ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68215
|
Tue Jan 12 11:50:22 2016 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | V3.1.0-2411f95 | Re: Prefill attributes for new post |
Put a "p" in front of the attribute, like "&pSubsystem=Vacuum". This is kind of an undocumented feature just for the experts ;-)
Johan Forsberg wrote: |
Hi all,
I have a use case for ELOG where I need to be able to "prefill" some attributes in the "cmd=new" form, based on the URL.
To illustrate, imagine a link that takes the user directly to the form for creating a new post, with the "Subsystem" attribute already filled out to "Vacuum".
Is this possible already? I've tried naively using URL parameters (e.g. "&Subsystem=Vacuum") but that does not work. If it's not implemented, I think it would be a useful feature to have (and quite important for my particular use case). I could create a new post first using the "elog" tool, with the desired attributes set, but it makes more sense to defer the actual creation of the post to the user, i.e. he/she might change their mind before pressing "submit".
Thanks,
Johan Forsberg, MAX IV Laboratory, Sweden
|
|
68216
|
Tue Jan 12 14:05:55 2016 |
| Johan Forsberg | johan.forsberg@maxlab.lu.se | Request | Linux | V3.1.0-2411f95 | Re: Prefill attributes for new post |
Wow, than you both for the quick response! I agree it's quite a hidden gem, but the most important thing is that it works, thanks!
Stefan Ritt wrote: |
Put a "p" in front of the attribute, like "&pSubsystem=Vacuum". This is kind of an undocumented feature just for the experts ;-)
Johan Forsberg wrote: |
Hi all,
I have a use case for ELOG where I need to be able to "prefill" some attributes in the "cmd=new" form, based on the URL.
To illustrate, imagine a link that takes the user directly to the form for creating a new post, with the "Subsystem" attribute already filled out to "Vacuum".
Is this possible already? I've tried naively using URL parameters (e.g. "&Subsystem=Vacuum") but that does not work. If it's not implemented, I think it would be a useful feature to have (and quite important for my particular use case). I could create a new post first using the "elog" tool, with the desired attributes set, but it makes more sense to defer the actual creation of the post to the user, i.e. he/she might change their mind before pressing "submit".
Thanks,
Johan Forsberg, MAX IV Laboratory, Sweden
|
|
|
67946
|
Fri May 29 22:32:20 2015 |
| Jacky Li | zli@hawaii.edu | Question | Linux | V3.1.0-241 | subject line bug on resumit elog entries as new? |
Hi,
I updated an old elog entry and resubmit it as new by checking the box resubmit as new. Does the subject line should said it is a "New ELOG entry" instead of "Updated ELOG entry"? Thank you.
Also when some people submit a new elog, the subject line is "Updated ELOG entry". This is a bit odd. I can't reproduce that bug when I did my test.
Jacky |
67971
|
Tue Jun 9 12:51:07 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | V3.1.0-241 | Re: subject line bug on resumit elog entries as new? |
I fixed both issues, now resubmitting an entry or submitting a new entry both yields "New LEOG entry".
Jacky Li wrote: |
Hi,
I updated an old elog entry and resubmit it as new by checking the box resubmit as new. Does the subject line should said it is a "New ELOG entry" instead of "Updated ELOG entry"? Thank you.
Also when some people submit a new elog, the subject line is "Updated ELOG entry". This is a bit odd. I can't reproduce that bug when I did my test.
Jacky
|
|
67953
|
Fri Jun 5 11:52:43 2015 |
| Neal Grafton | neal.grafton@stfc.ac.uk | Question | Windows | V3.0.0-72a8401 | option transfer |
Can the chosen text in a dropdown menu be automatically transfered (copied) to this Text box? |
67954
|
Fri Jun 5 12:01:01 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V3.0.0-72a8401 | Re: option transfer |
No.
Neal Grafton wrote: |
Can the chosen text in a dropdown menu be automatically transfered (copied) to this Text box?
|
|
67957
|
Fri Jun 5 13:06:22 2015 |
| Neal Grafton | neal.grafton@stfc.ac.uk | Question | Windows | V3.0.0-72a8401 | Re: option transfer |
OK Thanks
I was trying to save the operator repeatedly typing in standard messages.
Stefan Ritt wrote: |
No.
Neal Grafton wrote: |
Can the chosen text in a dropdown menu be automatically transfered (copied) to this Text box?
|
|
|
67958
|
Fri Jun 5 13:19:43 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | V3.0.0-72a8401 | Re: option transfer |
There are browser extensions for that like "Autofill Forms" for Firefox. You can even link text templates to a single key.
Neal Grafton wrote: |
OK Thanks
I was trying to save the operator repeatedly typing in standard messages.
Stefan Ritt wrote: |
No.
Neal Grafton wrote: |
Can the chosen text in a dropdown menu be automatically transfered (copied) to this Text box?
|
|
|
|