Re: Prefill attributes for new post, posted by Stefan Ritt on Tue Jan 12 11:50:22 2016
|
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
|
|
Re: Prefill attributes for new post, posted by Johan Forsberg on Tue Jan 12 14:05:55 2016
|
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
|
|
|
subject line bug on resumit elog entries as new?, posted by Jacky Li on Fri May 29 22:32:20 2015
|
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 |
Re: subject line bug on resumit elog entries as new?, posted by Stefan Ritt on Tue Jun 9 12:51:07 2015
|
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
|
|
option transfer, posted by Neal Grafton on Fri Jun 5 11:52:43 2015
|
Can the chosen text in a dropdown menu be automatically transfered (copied) to this Text box? |
Re: option transfer, posted by Stefan Ritt on Fri Jun 5 12:01:01 2015
|
No.
Neal Grafton wrote: |
Can the chosen text in a dropdown menu be automatically transfered (copied) to this Text box?
|
|
Re: option transfer, posted by Neal Grafton on Fri Jun 5 13:06:22 2015
|
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?
|
|
|
Re: option transfer, posted by Stefan Ritt on Fri Jun 5 13:19:43 2015
|
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?
|
|
|
|