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

akafortes akafortes at gmail.com
Thu Sep 24 08:09:48 CEST 2015


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 at .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 at .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 at .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 at .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.


More information about the Koha-devel mailing list