johnlewis604562

Accessing store item via API

Discussion created by johnlewis604562 on Nov 27, 2017
Latest reply on Nov 27, 2017 by johnlewis604562
I am trying to access a store via my java code, but seem to be having a problem

That is my code, but st is always null, can anyone point me in the right direction by telling what I am doing wrong.

UC4ObjectName storeName = new UC4ObjectName("STORE.FILEHASHER.REPORTER");
OpenObject XMLStoreReqOpen = new OpenObject(storeName);
UC4Object storeObjects = XMLStoreReqOpen.getUC4Object();
Storage st = (Storage) storeObjects;

STORE.FILEHASHER.REPORTER has been created and populated with a single file.

John

Outcomes