Expand my Community achievements bar.

About updating the policy

Avatar

Level 1

I had a question about updating policy.

I found that there are tons of policy will be expired in next month(In table FilePolicy) and I want to update the expiray date in a effiency ways.  Are there any ways to update the target Policies in batch way? If I use adminUI to update the taget Policies one by one, it is a very time consuming task. Thanks you suggestion.

1 Reply

Avatar

Former Community Member

The best way to automate the updating of policies would be to use the rightas Management APIs.  I would not recommend you attempt to edit\modify the expiry dates in the database table(s), this is unsupported and there is potential to corrupt the database.

The JavaDocs for the APIs are here:  http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/index.html

Take a look at the com.adobe.livecycle.rightsmanagement.client.infomodel class, and the ValidityPeriod interface.

Regards

Steve