[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Javascript, workflow question



Thanks Adam,

Indeed, this is probably the solution to my problem.

Jean-Marie

Le 08/02/2016 10:58, Adam Field a ?crit :
> You should look into input renderers.  One example of this is the 
> subject tree input render, but many institutional repositories have 
> them on their creators field to handle unique IDs in a more 
> user-friendly way.
>
> You can find an example of an input renderer on the Agro Ontology 
> bazaar plugin at http://bazaar.eprints.org/363/ ? see 
> http://bazaar.eprints.org/363/1/epm/agro_ontology/cfg/cfg.d/zz_agro_ontology_lib.pl for 
> the code that generates the input DOM and the line to configure it in 
> the field config.
>
>
> Jisc <http://www.jisc.ac.uk/>
>
> *Adam Field*
> SHERPA services analyst developer
>
>
> From: <eprints-tech-bounces at ecs.soton.ac.uk 
> <mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of Jean-Marie 
> Le Bechec <Jean-Marie.LeBechec at inp-toulouse.fr 
> <mailto:Jean-Marie.LeBechec at inp-toulouse.fr>>
> Organization: INPT
> Reply-To: "eprints-tech at ecs.soton.ac.uk 
> <mailto:eprints-tech at ecs.soton.ac.uk>" <eprints-tech at ecs.soton.ac.uk 
> <mailto:eprints-tech at ecs.soton.ac.uk>>
> Date: Friday, 5 February 2016 15:12
> To: "eprints-tech at ecs.soton.ac.uk 
> <mailto:eprints-tech at ecs.soton.ac.uk>" <eprints-tech at ecs.soton.ac.uk 
> <mailto:eprints-tech at ecs.soton.ac.uk>>
> Subject: [EP-tech] Javascript, workflow question
>
> Hi all,
>
> I want to connect my eprint repository with IdRef (French Reference 
> Database of Sudoc's authority records). Abes provides us javascript 
> libraries for it 
> (thttp://documentation.abes.fr/aideidrefdeveloppeur/ch04s01.html)
>
> So, i have a question :
>
> What is the most appropriate and proper way to add a button or url 
> (with an associated action) in the workflow repository?
>
> Like this :
> img
>
> I wish that this button calls a script (javacript) that opens a modal 
> window (which lets you search for people) and return some information 
> to complete the form :
>
> f
>
> I can change MetaField.pm but there has to be a better solution?
>
> Any advice would be welcome !
>
> Jean-Marie
> -- 
>
> ***********************************************
> Jean Marie Le Bechec
> Service Commun de la Documentation
> Responsable ingenierie documentaire
> &
> Direction du Systeme d'Information
> Referent Etudes
>
> Institut National Polytechnique de Toulouse
> 6 allee Emile Monso - bp 34038 -
> 31029 Toulouse cedex 4
> Tel : 05 34 32 31 16
> Tel Port : 06 40 81 35 68
> Mail :lebechec at inp-toulouse.fr
> ***********************************************
>
> Jisc is a registered charity (number 1149740) and a company limited by 
> guarantee which is registered in England under Company No. 5747339, 
> VAT No. GB 197 0632 86. Jisc?s registered office is: One Castlepark, 
> Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
>
> Jisc Services Limited is a wholly owned Jisc subsidiary and a company 
> limited by guarantee which is registered in England under company 
> number 2881024, VAT number GB 197 0632 86. The registered office is: 
> One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/

-- 

***********************************************
Jean Marie Le Bechec
Service Commun de la Documentation
Responsable ingenierie documentaire
&
Direction du Systeme d'Information
Referent Etudes

Institut National Polytechnique de Toulouse
6 allee Emile Monso - bp 34038 -
31029 Toulouse cedex 4
Tel : 05 34 32 31 16
Tel Port : 06 40 81 35 68
Mail : lebechec at inp-toulouse.fr
***********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160208/11f4eea5/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1264 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160208/11f4eea5/attachment.png