If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Get shortcut object properties

Started by fulekia, 24 Oct 2014 01:10:08 PM

Previous topic - Next topic

fulekia

I'm having trouble getting all the properties I want from shortcut objects via the Java SDK. For example,

shortcutObject.getTarget().getValue()[0].getSearchPath().getValue();

... returns the correct searchPath for the target of shortcutObject, however,

shortcutObject.getTarget().getValue()[0].getStoreID().getValue().get_value();

...returns an empty string.

I've tried every possible string of getters that NetBeans suggests, but nothing gives me a storeID. The storeID property is in the list of props to return. Is there another way you have to define properties you want returned from the target property of shortcuts?

fulekia

Also, debugging in NetBeans shows that target.storeID.value._value is defined in the result object, but empty. Weird.