On Tue, Feb 11, 2014 at 1:40 PM, Sean Carte <[email protected]> wrote:

> I have 69 items with embargoed items; I'd like to remove those embargoes.
>

I assume you're talking about the 3.0-type embargo, not the 1.6-type.
If all of them are in the same collection, you should be able to use the
wildcard policy admin tool on them.

Other than that, there's no easy way to do that. If you think about it,
lifting embargo and removing the embargo policy is not the same thing,
although the effect would be similar.

If you're willing to muck around with SQL (the usual disclaimer about
backing up your database applies), you can view all your 3.0-style embargo
policies with this query:
SELECT * FROM resourcepolicy WHERE start_date IS NOT NULL OR end_date IS
NOT NULL;
Then you could filter by object type (for bitstreams resource_type_id=0;
for items resource_type_id=2) and object id (use bitstream_id or item_id,
respectively, for resource_id) etc to narrow it down to the required set.
But with 69 items, it may be simply more trouble than doing it manually.


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