Re: [Dspace-tech] DSpace-tech Digest, Vol 47, Issue 44
Dorothea, I'm positive that the value isn't there as I've looked at both the detailed view via xmlui as well as in the database table metadatavalue. It's actually dc.type that I am trying to auto stamp as I am using a collection per type and I'd like the type just stuck in there for new records. And to the other replier - yes, I am only using the xmlui interface to add new records. I'm quite puzzled by this. My hope was that I was doing a really bone headed thing and not understanding how this is supposed to work. Sadly, it looks like I am doing it correctly yet it doesn't appear to work here :( Thanks for checking it. - Damian -- Message: 2 Date: Mon, 15 Mar 2010 11:42:13 -0600 From: Dorothea Salo dorothea.s...@gmail.com Subject: Re: [Dspace-tech] Collection level Item Template to try to add a default metadata value to new items in a collection To: Dspace Tech DSpace-tech@lists.sourceforge.net Message-ID: 356cf3981003151042o2a8722d4j19780c9db8b1c...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 I got nothin' here. I've done what you describe, and it worked the way you want it to work. (This ended up annoying one of my content providers, but that was purely MY fault.) One possibly-clueless suggestion: are you absolutely sure the value isn't there? Have you checked the full item view and the database? If the field in question isn't explicitly told to show up on the short-display page in the theme's XSLT, it won't. Dorothea -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace-tech Digest, Vol 47, Issue 44
Hi, Damian~ Two thoughts... First, the out-of-the-box input-forms.xml includes a value-pairs set at the end of the form. Make sure that the value that you want is one of the stored-value. Second, and there might be a better way to trouble-shoot this, but I would try adding the dc.type element back in to your submission form (if it's not already there). If the default value was well-defined, the system should automatically select the value you want (i.e. if your metadata value on the collection level template is Thesis, then you should see Thesis selected on the actual webform). Hope that helps... ~Caryn Original Message Subject: Re: [Dspace-tech] DSpace-tech Digest, Vol 47, Issue 44 From: Sobieralski, Damian Michael dsobi...@indiana.edu To: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Date: 3/15/2010 2:05 PM Dorothea, I'm positive that the value isn't there as I've looked at both the detailed view via xmlui as well as in the database table metadatavalue. It's actually dc.type that I am trying to auto stamp as I am using a collection per type and I'd like the type just stuck in there for new records. And to the other replier - yes, I am only using the xmlui interface to add new records. I'm quite puzzled by this. My hope was that I was doing a really bone headed thing and not understanding how this is supposed to work. Sadly, it looks like I am doing it correctly yet it doesn't appear to work here :( Thanks for checking it. - Damian -- Message: 2 Date: Mon, 15 Mar 2010 11:42:13 -0600 From: Dorothea Salo dorothea.s...@gmail.com Subject: Re: [Dspace-tech] Collection level Item Template to try to add a default metadata value to new items in a collection To: Dspace Tech DSpace-tech@lists.sourceforge.net Message-ID: 356cf3981003151042o2a8722d4j19780c9db8b1c...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 I got nothin' here. I've done what you describe, and it worked the way you want it to work. (This ended up annoying one of my content providers, but that was purely MY fault.) One possibly-clueless suggestion: are you absolutely sure the value isn't there? Have you checked the full item view and the database? If the field in question isn't explicitly told to show up on the short-display page in the theme's XSLT, it won't. Dorothea -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace-tech Digest, Vol 47, Issue 44
That is truly bizarre; dc.type is what I most commonly default, and it's always worked fine for me (though I've been bitten by case-sensitivity once or twice). The only thing I can think of is to check input-forms.xml to be sure dc.type is still in there for those collections? (Though it honestly shouldn't make a difference; I've defaulted metadata that I then removed from input-forms.xml.) Dorothea On Mon, Mar 15, 2010 at 3:05 PM, Sobieralski, Damian Michael dsobi...@indiana.edu wrote: Dorothea, I'm positive that the value isn't there as I've looked at both the detailed view via xmlui as well as in the database table metadatavalue. It's actually dc.type that I am trying to auto stamp as I am using a collection per type and I'd like the type just stuck in there for new records. And to the other replier - yes, I am only using the xmlui interface to add new records. I'm quite puzzled by this. My hope was that I was doing a really bone headed thing and not understanding how this is supposed to work. Sadly, it looks like I am doing it correctly yet it doesn't appear to work here :( Thanks for checking it. - Damian -- Message: 2 Date: Mon, 15 Mar 2010 11:42:13 -0600 From: Dorothea Salo dorothea.s...@gmail.com Subject: Re: [Dspace-tech] Collection level Item Template to try to add a default metadata value to new items in a collection To: Dspace Tech DSpace-tech@lists.sourceforge.net Message-ID: 356cf3981003151042o2a8722d4j19780c9db8b1c...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 I got nothin' here. I've done what you describe, and it worked the way you want it to work. (This ended up annoying one of my content providers, but that was purely MY fault.) One possibly-clueless suggestion: are you absolutely sure the value isn't there? Have you checked the full item view and the database? If the field in question isn't explicitly told to show up on the short-display page in the theme's XSLT, it won't. Dorothea -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Dorothea Salods...@library.wisc.edu Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech