Re: [Koha-devel] Cataloguer's info in MARC field

2015-10-02 Thread Katrin Fischer
Hi Marc,

documenting this is definitely a good idea. :) An explanation on the
help page and maybe a short hint about the existance of placeholders on
the form?

Katrin

Am 29.09.2015 um 08:03 schrieb Marc Véron:
> Hi Katrin,
> 
> I tested as well on some subfields, it worked fine with 'user'.
> 
> Bug 7045 mentions more replaceable strings: , MM and DD
> 
> I successfully tested with 'user DD-MM-', resulting in something like:
> testuser 29-09-2015
> 
> However I do not find any documentation about the replaceable strings, I
> would expect it at the following place:
> http://manual.koha-community.org/3.20/en/catadmin.html#marcbibframeworks
> 
> Additionally, it might be helpful to have a hint on the edit form for
> subfields, near "Default value", what do you think?
> 
> Marc
> 
> 
> 
> Am 28.09.2015 um 23:26 schrieb Katrin Fischer:
>> Hi,
>>
>> there is a somewhat hidden feature you could use, described on bug 7045:
>> http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7045
>>
>> If you add 'user' as the default value for a subfield in your
>> bibliographic frameworks, the field will be automatically filled with
>> the staff user's surname. I just tested it - it still works on current
>> master, but probably needs a bit more testing.
>>
>> Hope this helps,
>>
>> Katrin
>>
>> Am 22.09.2015 um 09:34 schrieb akafortes:
>>> Hello, 
>>> is it possible to get the username of the logged in user and use it in a
>>> MARC field? 
>>> I would like to add a field where I keep info about who catalogued a record.
>>>
>>>
>>>
>>> --
>>> View this message in context: 
>>> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
>>> Sent from the Koha-devel mailing list archive at Nabble.com.
>>> ___
>>> Koha-devel mailing list
>>> Koha-devel@lists.koha-community.org
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>>
>> ___
>> Koha-devel mailing list
>> Koha-devel@lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
> 
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
> 

___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


Re: [Koha-devel] Cataloguer's info in MARC field

2015-10-02 Thread Marc Véron
Hi Katrin,

I filed a Bug:
Bug 14941 - Subfield defaults: Add information about substitutable values

Marc



Am 02.10.2015 um 08:38 schrieb Katrin Fischer:
> Hi Marc,
>
> documenting this is definitely a good idea. :) An explanation on the
> help page and maybe a short hint about the existance of placeholders on
> the form?
>
> Katrin
>
> Am 29.09.2015 um 08:03 schrieb Marc Véron:
>> Hi Katrin,
>>
>> I tested as well on some subfields, it worked fine with 'user'.
>>
>> Bug 7045 mentions more replaceable strings: , MM and DD
>>
>> I successfully tested with 'user DD-MM-', resulting in something like:
>> testuser 29-09-2015
>>
>> However I do not find any documentation about the replaceable strings, I
>> would expect it at the following place:
>> http://manual.koha-community.org/3.20/en/catadmin.html#marcbibframeworks
>>
>> Additionally, it might be helpful to have a hint on the edit form for
>> subfields, near "Default value", what do you think?
>>
>> Marc
>>
>>
>>
>> Am 28.09.2015 um 23:26 schrieb Katrin Fischer:
>>> Hi,
>>>
>>> there is a somewhat hidden feature you could use, described on bug 7045:
>>> http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7045
>>>
>>> If you add 'user' as the default value for a subfield in your
>>> bibliographic frameworks, the field will be automatically filled with
>>> the staff user's surname. I just tested it - it still works on current
>>> master, but probably needs a bit more testing.
>>>
>>> Hope this helps,
>>>
>>> Katrin
>>>
>>> Am 22.09.2015 um 09:34 schrieb akafortes:
 Hello, 
 is it possible to get the username of the logged in user and use it in a
 MARC field? 
 I would like to add a field where I keep info about who catalogued a 
 record.



 --
 View this message in context: 
 http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
 Sent from the Koha-devel mailing list archive at Nabble.com.
 ___
 Koha-devel mailing list
 Koha-devel@lists.koha-community.org
 http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
 website : http://www.koha-community.org/
 git : http://git.koha-community.org/
 bugs : http://bugs.koha-community.org/

>>> ___
>>> Koha-devel mailing list
>>> Koha-devel@lists.koha-community.org
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>>
>> ___
>> Koha-devel mailing list
>> Koha-devel@lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>

___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-29 Thread Marc Véron
Hi Katrin,

I tested as well on some subfields, it worked fine with 'user'.

Bug 7045 mentions more replaceable strings: , MM and DD

I successfully tested with 'user DD-MM-', resulting in something like:
testuser 29-09-2015

However I do not find any documentation about the replaceable strings, I
would expect it at the following place:
http://manual.koha-community.org/3.20/en/catadmin.html#marcbibframeworks

Additionally, it might be helpful to have a hint on the edit form for
subfields, near "Default value", what do you think?

Marc



Am 28.09.2015 um 23:26 schrieb Katrin Fischer:
> Hi,
>
> there is a somewhat hidden feature you could use, described on bug 7045:
> http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7045
>
> If you add 'user' as the default value for a subfield in your
> bibliographic frameworks, the field will be automatically filled with
> the staff user's surname. I just tested it - it still works on current
> master, but probably needs a bit more testing.
>
> Hope this helps,
>
> Katrin
>
> Am 22.09.2015 um 09:34 schrieb akafortes:
>> Hello, 
>> is it possible to get the username of the logged in user and use it in a
>> MARC field? 
>> I would like to add a field where I keep info about who catalogued a record.
>>
>>
>>
>> --
>> View this message in context: 
>> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
>> Sent from the Koha-devel mailing list archive at Nabble.com.
>> ___
>> Koha-devel mailing list
>> Koha-devel@lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>

___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-28 Thread Katrin Fischer
Hi,

there is a somewhat hidden feature you could use, described on bug 7045:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7045

If you add 'user' as the default value for a subfield in your
bibliographic frameworks, the field will be automatically filled with
the staff user's surname. I just tested it - it still works on current
master, but probably needs a bit more testing.

Hope this helps,

Katrin

Am 22.09.2015 um 09:34 schrieb akafortes:
> Hello, 
> is it possible to get the username of the logged in user and use it in a
> MARC field? 
> I would like to add a field where I keep info about who catalogued a record.
> 
> 
> 
> --
> View this message in context: 
> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
> Sent from the Koha-devel mailing list archive at Nabble.com.
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
> 

___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-24 Thread Philippe Blouin
Like that, I doubt your userenv will contain anything.  You first need 
to log in.


But you could add the code in cataloguing/addbooks.pl for example.
Somewhere after the
my ( $template, $loggedinuser, $cookie ) = *get_template_and_user*(
...

You could have something like
warn "AKAFORTES " . C4::Context->userenv->{'surname'};
and look into your koha-error_log to see it.

But this would probably be used somewhere where is done the *ModBiblio* 
call in cataloguing, just before, to add something like

my $z042 = $record->field('042');
if($z042){
$z042->add_subfields('a', C4::Context->userenv->{'surname'});
}

That code is a bit naive, but you get the idea.

Philippe Blouin,
Responsable du développement informatique

Tél.  : (888) 604-2627
philippe.blo...@inlibro.com 

inLibro | pour esprit libre | www.inLibro.com 
On 09/24/2015 02:09 AM, akafortes wrote:

Thank you very much That was just what I needed
Based on the "EXAMPLE.pl", I just did this:

use Modern::Perl;

use C4::Auth;
use C4::Output;

my $builder= sub {
 my $params = shift;
 my $id = $params->{id};
my $user=C4::Context->userenv->{'surname'};

 return qq|
|;
};

return { builder => $builder};


Philippe Blouin wrote

Are you looking for the information itself, like the content of
C4::Context->userenv ?  It is a hash with the logged user info, like
C4::Context->userenv->{'surname'}

(i think :) )

Regards,

Philippe Blouin,
Responsable du développement informatique

Tél.  : (888) 604-2627
philippe.blouin@
  mailto:
philippe.blouin@


inLibro | pour esprit libre | www.inLibro.com
http://www.inLibro.com;
On 09/22/2015 09:16 AM, akafortes wrote:

Hello G.K.MANJUNATH,
thank you for your answer but I'm afraid that's not what I'm looking for.
It's my understanding that this field is used for when the specified
record
is stored in an electronic form and in this field you save information
about
its location and maybe credentials (or something like that) in order to
access it.

G.K.MANJUNATH wrote

Marc tag 856$l  is for  Logon (NR).

I do not know whether the login code gets added to this field.  If can
customise you may be able store it.

check at http://www.loc.gov/marc/bibliographic/bd856.html


tks
g.k.m


On Tue, 22 Sep 2015, akafortes wrote:


Hello,
is it possible to get the username of the logged in user and use it in
a
MARC field?
I would like to add a field where I keep info about who catalogued a
record.



--
View this message in context:
http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
Sent from the Koha-devel mailing list archive at Nabble.com.
___
Koha-devel mailing list


Koha-devel@.koha-community

http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


___
Koha-devel mailing list
Koha-devel@.koha-community
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/




--
View this message in context:
http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854258.html
Sent from the Koha-devel mailing list archive at Nabble.com.
___
Koha-devel mailing list


Koha-devel@.koha-community

http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


___
Koha-devel mailing list
Koha-devel@.koha-community
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/





--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854481.html
Sent from the Koha-devel mailing list archive at Nabble.com.
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-24 Thread akafortes
Thank you very much That was just what I needed 
Based on the "EXAMPLE.pl", I just did this:

use Modern::Perl;

use C4::Auth;
use C4::Output;

my $builder= sub {
my $params = shift;
my $id = $params->{id};
my $user=C4::Context->userenv->{'surname'};

return qq|
|;
};

return { builder => $builder};


Philippe Blouin wrote
> Are you looking for the information itself, like the content of 
> C4::Context->userenv ?  It is a hash with the logged user info, like 
> C4::Context->userenv->{'surname'}
> 
> (i think :) )
> 
> Regards,
> 
> Philippe Blouin,
> Responsable du développement informatique
> 
> Tél.  : (888) 604-2627

> philippe.blouin@

>  mailto:

> philippe.blouin@

> 
> 
> inLibro | pour esprit libre | www.inLibro.com
> http://www.inLibro.com;
> On 09/22/2015 09:16 AM, akafortes wrote:
>> Hello G.K.MANJUNATH,
>> thank you for your answer but I'm afraid that's not what I'm looking for.
>> It's my understanding that this field is used for when the specified
>> record
>> is stored in an electronic form and in this field you save information
>> about
>> its location and maybe credentials (or something like that) in order to
>> access it.
>>
>> G.K.MANJUNATH wrote
>>> Marc tag 856$l  is for  Logon (NR).
>>>
>>> I do not know whether the login code gets added to this field.  If can
>>> customise you may be able store it.
>>>
>>> check at http://www.loc.gov/marc/bibliographic/bd856.html
>>>
>>>
>>> tks
>>> g.k.m
>>>
>>>
>>> On Tue, 22 Sep 2015, akafortes wrote:
>>>
 Hello,
 is it possible to get the username of the logged in user and use it in
 a
 MARC field?
 I would like to add a field where I keep info about who catalogued a
 record.



 --
 View this message in context:
 http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
 Sent from the Koha-devel mailing list archive at Nabble.com.
 ___
 Koha-devel mailing list

>>> Koha-devel@.koha-community
 http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
 website : http://www.koha-community.org/
 git : http://git.koha-community.org/
 bugs : http://bugs.koha-community.org/

>>> ___
>>> Koha-devel mailing list
>>> Koha-devel@.koha-community
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854258.html
>> Sent from the Koha-devel mailing list archive at Nabble.com.
>> ___
>> Koha-devel mailing list
>> 

> Koha-devel@.koha-community

>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
> 
> 
> ___
> Koha-devel mailing list

> Koha-devel@.koha-community

> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/





--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854481.html
Sent from the Koha-devel mailing list archive at Nabble.com.
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-24 Thread Michael Hafen
I think Philippe is probably right about userenv not being set in your
plugin.  If that is the case you could try calling get_template_and_user()
( which calls checkauth() ), or calling checkauth() directly, to build
userenv for you.

On Thu, Sep 24, 2015 at 6:06 AM, Philippe Blouin <
philippe.blo...@inlibro.com> wrote:

> Like that, I doubt your userenv will contain anything.  You first need to
> log in.
>
> But you could add the code in cataloguing/addbooks.pl for example.
> Somewhere after the
> my ( $template, $loggedinuser, $cookie ) = *get_template_and_user*(
> ...
>
> You could have something like
> warn "AKAFORTES " . C4::Context->userenv->{'surname'};
> and look into your koha-error_log to see it.
>
> But this would probably be used somewhere where is done the *ModBiblio*
> call in cataloguing, just before, to add something like
> my $z042 = $record->field('042');
> if($z042){
> $z042->add_subfields('a', C4::Context->userenv->{'surname'});
> }
>
> That code is a bit naive, but you get the idea.
>
> Philippe Blouin,
> Responsable du développement informatique
>
> Tél.  : (888) 604-2627
> philippe.blo...@inlibro.com
> inLibro | pour esprit libre | www.inLibro.com
> On 09/24/2015 02:09 AM, akafortes wrote:
>
> Thank you very much That was just what I needed
> Based on the "EXAMPLE.pl", I just did this:
>
> use Modern::Perl;
>
> use C4::Auth;
> use C4::Output;
>
> my $builder= sub {
> my $params = shift;
> my $id = $params->{id};
>   my $user=C4::Context->userenv->{'surname'};
>
> return qq|
> |;
> };
>
> return { builder => $builder};
>
>
> Philippe Blouin wrote
>
> Are you looking for the information itself, like the content of
> C4::Context->userenv ?  It is a hash with the logged user info, like
> C4::Context->userenv->{'surname'}
>
> (i think :) )
>
> Regards,
>
> Philippe Blouin,
> Responsable du développement informatique
>
> Tél.  : (888) 604-2627
>
> philippe.blouin@
>
>  mailto:
>
> philippe.blouin@
>
> 
>
> inLibro | pour esprit libre | www.inLibro.com
> http://www.inLibro.com;
> On 09/22/2015 09:16 AM, akafortes wrote:
>
> Hello G.K.MANJUNATH,
> thank you for your answer but I'm afraid that's not what I'm looking for.
> It's my understanding that this field is used for when the specified
> record
> is stored in an electronic form and in this field you save information
> about
> its location and maybe credentials (or something like that) in order to
> access it.
>
> G.K.MANJUNATH wrote
>
> Marc tag 856$l  is for  Logon (NR).
>
> I do not know whether the login code gets added to this field.  If can
> customise you may be able store it.
>
> check at http://www.loc.gov/marc/bibliographic/bd856.html
>
>
> tks
> g.k.m
>
>
> On Tue, 22 Sep 2015, akafortes wrote:
>
>
> Hello,
> is it possible to get the username of the logged in user and use it in
> a
> MARC field?
> I would like to add a field where I keep info about who catalogued a
> record.
>
>
>
> --
> View this message in 
> context:http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
> Sent from the Koha-devel mailing list archive at Nabble.com.
> ___
> Koha-devel mailing list
>
>
> Koha-devel@.koha-community
>
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
> ___
> Koha-devel mailing 
> listKoha-devel@.koha-communityhttp://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
>
>
>
> --
> View this message in 
> context:http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854258.html
> Sent from the Koha-devel mailing list archive at Nabble.com.
> ___
> Koha-devel mailing list
>
>
> Koha-devel@.koha-community
>
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
>
> ___
> Koha-devel mailing list
>
> Koha-devel@.koha-community
>
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
>
>
>
>
> --
> View this message in context: 
> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854481.html
> Sent from the Koha-devel mailing list archive at Nabble.com.
> ___
> Koha-devel mailing 
> listkoha-de...@lists.koha-community.orghttp://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : 

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-22 Thread Christopher Davis
Akafortes,

I was always instructed to store such information within the MARC 583 field
during my cataloging training. More information on the MARC 583 field can
be found at .

FWIW,

Christopher Davis, MLS
Systems & E-Services Librarian
Uintah County Library
cgda...@uintah.utah.gov
(435) 789-0091 ext.261
uintahlibrary.org
basinlibraries.org
facebook.com/uintahcountylibrary

On Tue, Sep 22, 2015 at 10:42 AM, Hector Castro 
wrote:

>
>
>
>> I've seen the 040 Modifying Agency, and have often though 'wouldn't it be
>> nice if there was a MARC plugin in the framework to automate filling that
>> field with the librarians name'.  Maybe someone should add a feature
>> request to bugzilla for that.
>>
>
> Yep!
>
> A better solution would be file a new bug and store that kind of data in a
> new SQL table or if you prefer store it in a local file like holding fileds
> in 9xx.
>
> There are a reference of holdings data fields in koha wiki:
> 
>
> Regards
>
> --
> Atte,
>
> Hector Castro
> Universidad de El Salvador
>
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-22 Thread Hector Castro
> I've seen the 040 Modifying Agency, and have often though 'wouldn't it be
> nice if there was a MARC plugin in the framework to automate filling that
> field with the librarians name'.  Maybe someone should add a feature
> request to bugzilla for that.
>

Yep!

A better solution would be file a new bug and store that kind of data in a
new SQL table or if you prefer store it in a local file like holding fileds
in 9xx.

There are a reference of holdings data fields in koha wiki:


Regards

-- 
Atte,

Hector Castro
Universidad de El Salvador
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-22 Thread Michael Hafen
I've seen the 040 Modifying Agency, and have often though 'wouldn't it be
nice if there was a MARC plugin in the framework to automate filling that
field with the librarians name'.  Maybe someone should add a feature
request to bugzilla for that.

On Tue, Sep 22, 2015 at 9:41 AM, Indranil Das Gupta 
wrote:

> Hi,
>
> On Tue, Sep 22, 2015 at 6:46 PM, akafortes  wrote:
> > Hello G.K.MANJUNATH,
> > thank you for your answer but I'm afraid that's not what I'm looking for.
> > It's my understanding that this field is used for when the specified
> record
> > is stored in an electronic form and in this field you save information
> about
> > its location and maybe credentials (or something like that) in order to
> > access it.
>
> Your understanding on 856 is correct. Since you want to track the
> cataloger who created that record, I would say that you can use 040 -
> https://www.loc.gov/marc/bibliographic/bd040.html
>
> the field is used to track the cataloging agency. but nothing really
> stops you from adding your cataloging librarian's name / code as
> modifying agency and track it. A bit of jquery and you should be good
> to go!
>
> cheers
> -idg
>
> >
> > G.K.MANJUNATH wrote
> >> Marc tag 856$l  is for  Logon (NR).
> >>
> >> I do not know whether the login code gets added to this field.  If can
> >> customise you may be able store it.
> >>
> >> check at http://www.loc.gov/marc/bibliographic/bd856.html
> >>
> >>
> >> tks
> >> g.k.m
> >>
> >>
> >> On Tue, 22 Sep 2015, akafortes wrote:
> >>
> >>> Hello,
> >>
> >>> is it possible to get the username of the logged in user and use it in
> a
> >>> MARC field?
> >>
> >>> I would like to add a field where I keep info about who catalogued a
> >>> record.
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
> >>> Sent from the Koha-devel mailing list archive at Nabble.com.
> >>> ___
> >>> Koha-devel mailing list
> >>>
> >
> >> Koha-devel@.koha-community
> >
> >>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> >>> website : http://www.koha-community.org/
> >>> git : http://git.koha-community.org/
> >>> bugs : http://bugs.koha-community.org/
> >>>
> >> ___
> >> Koha-devel mailing list
> >
> >> Koha-devel@.koha-community
> >
> >> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> >> website : http://www.koha-community.org/
> >> git : http://git.koha-community.org/
> >> bugs : http://bugs.koha-community.org/
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854258.html
> > Sent from the Koha-devel mailing list archive at Nabble.com.
> > ___
> > Koha-devel mailing list
> > Koha-devel@lists.koha-community.org
> > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> > website : http://www.koha-community.org/
> > git : http://git.koha-community.org/
> > bugs : http://bugs.koha-community.org/
>
>
>
> --
> Indranil Das Gupta
>
> Phone : +91-98300-20971
> Blog: http://indradg.randomink.org/blog
> IRC  : indradg on irc://irc.freenode.net
> Twitter : indradg
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
> Please exchange editable Office documents only in ODF Format. No other
> format is acceptable. Support Open Standards.
>
> For a free editor supporting ODF, please visit LibreOffice -
> http://www.documentfoundation.org
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>



-- 
Michael Hafen
Washington County School District Technology Department
Systems Analyst
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-22 Thread Philippe Blouin
Are you looking for the information itself, like the content of 
C4::Context->userenv ?  It is a hash with the logged user info, like 
C4::Context->userenv->{'surname'}


(i think :) )

Regards,

Philippe Blouin,
Responsable du développement informatique

Tél.  : (888) 604-2627
philippe.blo...@inlibro.com 

inLibro | pour esprit libre | www.inLibro.com 
On 09/22/2015 09:16 AM, akafortes wrote:

Hello G.K.MANJUNATH,
thank you for your answer but I'm afraid that's not what I'm looking for.
It's my understanding that this field is used for when the specified record
is stored in an electronic form and in this field you save information about
its location and maybe credentials (or something like that) in order to
access it.

G.K.MANJUNATH wrote

Marc tag 856$l  is for  Logon (NR).

I do not know whether the login code gets added to this field.  If can
customise you may be able store it.

check at http://www.loc.gov/marc/bibliographic/bd856.html


tks
g.k.m


On Tue, 22 Sep 2015, akafortes wrote:


Hello,
is it possible to get the username of the logged in user and use it in a
MARC field?
I would like to add a field where I keep info about who catalogued a
record.



--
View this message in context:
http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
Sent from the Koha-devel mailing list archive at Nabble.com.
___
Koha-devel mailing list


Koha-devel@.koha-community

http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


___
Koha-devel mailing list
Koha-devel@.koha-community
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/





--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854258.html
Sent from the Koha-devel mailing list archive at Nabble.com.
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-22 Thread G.K.MANJUNATH




Marc tag 856$l  is for  Logon (NR).

I do not know whether the login code gets added to this field.  If can 
customise you may be able store it.


check at http://www.loc.gov/marc/bibliographic/bd856.html


tks
g.k.m


On Tue, 22 Sep 2015, akafortes wrote:


Hello,



is it possible to get the username of the logged in user and use it in a
MARC field?



I would like to add a field where I keep info about who catalogued a record.



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
Sent from the Koha-devel mailing list archive at Nabble.com.
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-22 Thread akafortes
Hello G.K.MANJUNATH,
thank you for your answer but I'm afraid that's not what I'm looking for.
It's my understanding that this field is used for when the specified record
is stored in an electronic form and in this field you save information about
its location and maybe credentials (or something like that) in order to
access it.

G.K.MANJUNATH wrote
> Marc tag 856$l  is for  Logon (NR).
> 
> I do not know whether the login code gets added to this field.  If can 
> customise you may be able store it.
> 
> check at http://www.loc.gov/marc/bibliographic/bd856.html
> 
> 
> tks
> g.k.m
> 
> 
> On Tue, 22 Sep 2015, akafortes wrote:
> 
>> Hello,
> 
>> is it possible to get the username of the logged in user and use it in a
>> MARC field?
> 
>> I would like to add a field where I keep info about who catalogued a
>> record.
>>
>>
>>
>> --
>> View this message in context:
>> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
>> Sent from the Koha-devel mailing list archive at Nabble.com.
>> ___
>> Koha-devel mailing list
>> 

> Koha-devel@.koha-community

>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>>
> ___
> Koha-devel mailing list

> Koha-devel@.koha-community

> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/





--
View this message in context: 
http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854258.html
Sent from the Koha-devel mailing list archive at Nabble.com.
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


Re: [Koha-devel] Cataloguer's info in MARC field

2015-09-22 Thread Indranil Das Gupta
Hi,

On Tue, Sep 22, 2015 at 6:46 PM, akafortes  wrote:
> Hello G.K.MANJUNATH,
> thank you for your answer but I'm afraid that's not what I'm looking for.
> It's my understanding that this field is used for when the specified record
> is stored in an electronic form and in this field you save information about
> its location and maybe credentials (or something like that) in order to
> access it.

Your understanding on 856 is correct. Since you want to track the
cataloger who created that record, I would say that you can use 040 -
https://www.loc.gov/marc/bibliographic/bd040.html

the field is used to track the cataloging agency. but nothing really
stops you from adding your cataloging librarian's name / code as
modifying agency and track it. A bit of jquery and you should be good
to go!

cheers
-idg

>
> G.K.MANJUNATH wrote
>> Marc tag 856$l  is for  Logon (NR).
>>
>> I do not know whether the login code gets added to this field.  If can
>> customise you may be able store it.
>>
>> check at http://www.loc.gov/marc/bibliographic/bd856.html
>>
>>
>> tks
>> g.k.m
>>
>>
>> On Tue, 22 Sep 2015, akafortes wrote:
>>
>>> Hello,
>>
>>> is it possible to get the username of the logged in user and use it in a
>>> MARC field?
>>
>>> I would like to add a field where I keep info about who catalogued a
>>> record.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171.html
>>> Sent from the Koha-devel mailing list archive at Nabble.com.
>>> ___
>>> Koha-devel mailing list
>>>
>
>> Koha-devel@.koha-community
>
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>>
>> ___
>> Koha-devel mailing list
>
>> Koha-devel@.koha-community
>
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>
>
>
>
>
> --
> View this message in context: 
> http://koha.1045719.n5.nabble.com/Cataloguer-s-info-in-MARC-field-tp5854171p5854258.html
> Sent from the Koha-devel mailing list archive at Nabble.com.
> ___
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/



-- 
Indranil Das Gupta

Phone : +91-98300-20971
Blog: http://indradg.randomink.org/blog
IRC  : indradg on irc://irc.freenode.net
Twitter : indradg

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-
Please exchange editable Office documents only in ODF Format. No other
format is acceptable. Support Open Standards.

For a free editor supporting ODF, please visit LibreOffice -
http://www.documentfoundation.org
___
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/