Pages

Monday, March 21, 2016

How to get Folder Structure including File details from WCC server using RIDC

How to get Folder Structure including File details from WCC server using RIDC 


purpose : To get a folder strucutre from FF enabled WCC server

Output will show Folder details with Parent Folder and contentID belongs to each folder 


RIDC java class :  https://github.com/sterin501/FolderStructure
  1. Edit the config.properties file
  2. Run the code like java FldStructure FLD_ROOT

IdcService used : FLD_BROWSE

Example : output
java FldStructure FLD_ROOT --> Shows Parent and child folder && <--> Shows the contents



FLD_ROOT-->C9394B7D72DB6648F6DE0ACB220E6258<---> C9394B7D72DB6648F6DE0ACB220E6258-->DB9C18541DDA74BEBFBEE5F008D2FB03<--->PS7003005,PS7003001,PS7003010,PS7003011,PS7003009,PS7003007,PS7003003,PS7003002,PS7003008, FLD_ROOT-->BE91ED870AA7F1DECC857E3FCEDA0C5D<---> BE91ED870AA7F1DECC857E3FCEDA0C5D-->B4730B5CDCD9217F9D7EC85DDD464303<---> FLD_ROOT-->FLD_ENTERPRISE_LIBRARY<---> FLD_ENTERPRISE_LIBRARY-->BDF314BBFB0735189BA579633B8F52F1<---> BDF314BBFB0735189BA579633B8F52F1-->139563A86D0A8557B40228E687AC841D<---> FLD_ENTERPRISE_LIBRARY-->06767B69F8092A70DFA370E65C8D5991<--->PS7008822, FLD_ENTERPRISE_LIBRARY-->24F3ADC920D186FA683D16837133F225<---> 24F3ADC920D186FA683D16837133F225-->61AADBD3C3341654311E113EFCC1055F<---> FLD_ENTERPRISE_LIBRARY-->E9D9BF42F08586C8FEA763DFC45E9492<--->PS7008222, E9D9BF42F08586C8FEA763DFC45E9492-->79B3EBBC303C17D1F66EC0CA9D7F331B<---> ........................................ .......................................
Total Folders Under FLD_ROOT : 29 Total Contents Under FLD_ROOT : 59 Folder Mapping FLD_ROOT-->C9394B7D72DB6648F6DE0ACB220E6258-->DB9C18541DDA74BEBFBEE5F008D2FB03 FLD_ROOT-->BE91ED870AA7F1DECC857E3FCEDA0C5D-->B4730B5CDCD9217F9D7EC85DDD464303 FLD_ROOT-->FLD_ENTERPRISE_LIBRARY-->BDF314BBFB0735189BA579633B8F52F1-->139563A86D0A8557B40228E687AC841D FLD_ROOT-->FLD_ENTERPRISE_LIBRARY-->06767B69F8092A70DFA370E65C8D5991
:Second
java FldStructure BDF314BBFB0735189BA579633B8F52F1 --> Shows Parent and child folder && <--> Shows the contents BDF314BBFB0735189BA579633B8F52F1-->139563A86D0A8557B40228E687AC841D<---> ...................... Total Folders Under BDF314BBFB0735189BA579633B8F52F1 : 1 Total Contents Under BDF314BBFB0735189BA579633B8F52F1 : 1 Folder Mapping BDF314BBFB0735189BA579633B8F52F1-->139563A86D0A8557B40228E687AC841D

No comments:

Post a Comment