Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread LifeH2O
I want to select dc.contributor.author in input forms (submission form) from
existing EPersons only. How do I do that?



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Email-notification-to-existing-specified-users-only-tp4664880p4664978.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread helix84
Hi LifeH2O,

perhaps you could try asking these question again at dspace-devel,
maybe you'll get an answer there.

On Mon, Jun 17, 2013 at 12:08 PM, LifeH2O life...@gmail.com wrote:
 I want to select dc.contributor.author in input forms (submission form) from
 existing EPersons only. How do I do that?

I'm afraid you can't. DSpace currently has no ties between epersons
and authors. There aren't even proper objects for authors, authors are
only strings in metadata. The only thing that binds a single author in
multiple items is an optional authority identifier. I think this is
something that would be much appreciated if you're willing to work on
it.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread LifeH2O
Ok. Then is it possible to select authors from all existing
dc.contributor.author ?
User can always enter incorrect name for dc.contributor.author,
dc.contributor.advisor etc. We want name to be suggested from existing
metadata elements.

I have seen choice authority system but unable to make it work like my
understanding.
I'll ask it on dspace-devel if you still cannot help.



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Email-notification-to-existing-specified-users-only-tp4664880p4664986.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread helix84
On Mon, Jun 17, 2013 at 2:00 PM, LifeH2O life...@gmail.com wrote:
 Ok. Then is it possible to select authors from all existing
 dc.contributor.author ?
 User can always enter incorrect name for dc.contributor.author,
 dc.contributor.advisor etc. We want name to be suggested from existing
 metadata elements.

You could try something like this:

SELECT *FROM metadatavalueWHERE metadata_field_id IN (
  SELECT metadata_field_id
  FROM metadatafieldregistry
  WHERE element = 'contributor'
  AND qualifier = 'author')

Notice the text_value column, that's where the strings are. When using
authority control, the authority identifier will be in the authority column
and there will also be a confidence value.

 I have seen choice authority system but unable to make it work like my
 understanding.
 I'll ask it on dspace-devel if you still cannot help.

IMHO, the authority system is currently the best way to make the connection
between epersons and authors (because of the lack of an author object).
What kind of problem did you have with making it work?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread Konstantinos Stamatis
Dear LifeH2O

As helix mentioned, this is not possible in DSpace.

To give you a hint on how you can implement it, you need to create a new
type of input control for the submission form, which will make ajax requests
upon completion to a new servlet that will be responsible to answer such
requests with an XML or JSON, depending on the autocomplete control that you
will be using. In this servlet you can search (and return) all metadata
values of a specific field, or all epersons as you mentioned or whatever.


Regards,

Kostas



-Original Message-
From: LifeH2O [mailto:life...@gmail.com] 
Sent: Monday, June 17, 2013 3:01 PM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Email notification to existing specified users
only

Ok. Then is it possible to select authors from all existing
dc.contributor.author ?
User can always enter incorrect name for dc.contributor.author,
dc.contributor.advisor etc. We want name to be suggested from existing
metadata elements.

I have seen choice authority system but unable to make it work like my
understanding.
I'll ask it on dspace-devel if you still cannot help.



--
View this message in context:
http://dspace.2283337.n4.nabble.com/Email-notification-to-existing-specified
-users-only-tp4664880p4664986.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Email notification to existing specified users only

2013-06-17 Thread helix84
On Mon, Jun 17, 2013 at 2:24 PM, Konstantinos Stamatis kstama...@ekt.gr wrote:
 To give you a hint on how you can implement it, you need to create a new
 type of input control for the submission form, which will make ajax requests
 upon completion to a new servlet that will be responsible to answer such
 requests with an XML or JSON, depending on the autocomplete control that you
 will be using. In this servlet you can search (and return) all metadata
 values of a specific field, or all epersons as you mentioned or whatever.

There would also need to be a server-side component in the submission
step that would verify the input once again to prevent any manual
changes to the form variables (bypassing JavaScript).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Email notification to existing specified users only

2013-06-13 Thread LifeH2O
We are making system for university. When a student submits his report with
adviser and co-adviser names, only the adviser/co-adviser should be notified
by email to accept/reject/edit submission.

What we want is that while submitting advisor should be selected in drop
down (or suggested while typing). So only the advisors who already exist in
the system can be selected. When item submission completes only those
selected advisors should be emailed. Not the whole group in workflow who can
accept/reject.


It looks like *choice authority plugin, *is made for this job, how should we
configure it for this kind of use?



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Email-notification-to-existing-specified-users-only-tp4664880.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette