Skip to Content
0
Former Member
Jan 18, 2012 at 03:31 PM

FavoriteFolder, how to get the content inside this folder

48 Views

Hi

I have to get with the Java api consumer the content inside the favorite folder. How can i get it?

i write this code:

			String searchQuery = search://{'guaglanto1'}?SearchKeywords=true&SearchExact=true&SearchCaseSensitive=true;
			ResponseHolder rh = boBIPlatform.get(searchQuery, null);
			InfoObjects myFav = rh.getInfoObjects();
			
			if (myFav == null || source.getInfoObjectArray().length == 0){
			  result="No terms matching the following search query could be found: " + searchQuery;
					return result;
			}
			result ="";		
			for (InfoObject infoObject: myFav.getInfoObjectArray()){
			  result= result+ infoObject.getName() + " has CUID: " + infoObject.getCUID()+ " type "+ infoObject.getKind() + " has childreen "+ infoObject.getChildrenObjects();
			  
			  
			}

Where guaglanto1 is the title of the favoriteFolder.This code show the CUID,name,kind and children of the favoriteFolder. Now i want to navigate this folder and get its content (i see from InfoViewApp there are 5 web intelligent report inside the favorite folder) but i don't know how can i get that.

Anyone can help me to resolve this problem?

thank you

best regard

Andrea