Agile (MOSC)

MOSC Banner

Export a previous revision of an Item using SDK

edited Jun 25, 2015 4:37PM in Agile (MOSC) Question

We're using the SDK to generate a PDX package for Items, using the code below.  What we have works for the current revision of an Item, but we'd like to have the option to export a previous revision.  Is this possible using the SDK?

IItem item = (IItem)session.getObject(IItem.OBJECT_TYPE, "PART12345");

IDataObject[] exportObjects = {item};

String[] filters = {"Default Item Filter"};

IExportManager em = (IExportManager)session.getManager(IExportManager.class);

byte[] exportData = em.exportData(exportObjects, ExportConstants.EXPORT_FORMAT_PDX, filters);

Thanks in advance,
Drew

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center