On Mon, Feb 17, 2014 at 5:35 AM, Bhavesh Patel <[email protected]>wrote:

> Okay,.. I have try it again..but it still not work.
>

Sorry, my mistake. I forgot that community-filiator can't change the parent
of a collection, only a community. The message says that the hande you gave
it is a collection, not a community.

AFAIK, there is currently no user interface or CLI command in DSpace that
can move a collection. But it's a simple operation - we'll do that in the
database. First, you have to find out the IDs of the collection you want to
move (CollectionID), the old community you want to move it from
(OldCommunityID) and the new community you want to move it to
(NewCommunityID), based on their handles.

All this is done from the psql command prompt (you asked about this
recently). You should do a database backup first in case something gows
wrong.

SELECT resource_id FROM handle WHERE handle = '123456789/11287';

So run the command above three times, once with each handle. Note the
resulting resource_id and fill it into the command below:

UPDATE community2collection
SET community_id=NewCommunityID
WHERE community_id=OldCommunityID and collection_id=CollectionID;

Then you need to reindex.


Note : I want to ask one more thing about that... I have not copy
> the assesstore folder of live I have just import and update the database
> schema. assesstore folder is require to do this community-filiator ?
>

No, community-filiator doesn't touch the assetstore. It only changes the
database.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to