My Oracle Support Banner

Behavior of Values Retrieved From File Folder Version Using Agile SDK (Doc ID 2426495.1)

Last updated on JULY 24, 2018

Applies to:

Oracle Agile PLM Framework - Version 9.3.6.0 and later
Information in this document applies to any platform.

Goal

ACTUAL BEHAVIOR
When retrieving Item Object Attachments File Folder Version, found the following behavior : 

1) When Folder Version is set with specific number such as 1, 2, 3....
using IAgileList.getValue(), IAgileList.getAPIName(),IAgileList.getId() will all retrieve exact number such as 1, 2, 3....

2) When Folder Version is set with value "LATEST" (for example latest version is 8),
using IAgileList.getValue(), IAgileList.getAPIName(),IAgileList.getId() will each retrieve LATEST-8, LATEST8, 9999

STEPS
1. Login to Web Client and go to item : P00001. Add 2 attachments with following file folder.(Modify Folder Version of FOLDER00006 from 1 to LATEST-1)

File name Folder Number Folder Version
test.jpg FOLDER00005 1
936_Agile_PLM_DataLoad_User_Guide.pdf FOLDER00006 LATEST-1

2. Open new Java Project with eclipse

FolderVersionViewer
> JRE System Library [JavaSE-1.8]
> src
> sample
> FolderVersionViewer.java
> Referenced Libraries
> AgileAPI.jar

3. Modify the FolderVersionViewer.java code

  

[FOLDER00005] Folder Version's Value : 1 (String)
[FOLDER00005] Folder Version's API Name : 1
[FOLDER00005] Folder Version's ID : 1 (Integer)
[FOLDER00006] Folder Version's Value : LATEST-1 (String)
[FOLDER00006] Folder Version's API Name : LATEST1
[FOLDER00006] Folder Version's ID : 9999 (Integer)

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.