Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Array to retrieve ID based on rank

$
0
0

Hi everyone,

 

I am not familiar with arrays but I think this is what I need to put in place in order to achieve what we need for our dashboard.

We have a table as follow with team rank (column POS) and the team ID

 

POS   /   TEAM ID

1               8493

2               8213

3               3201

 

What we would like to do is set an image URL which is based on the team ID www.aaa.image/club/8493.png

 

We have 12 teams but their rank will change overtime

 

Therefore I would like to set dynamicly their image to:

 

IMAGE_1.setimage(URL with teamID rank 1)

IMAGE_2.setimage(URL with teamID rank 2)

 

 

 

var teamID = [teamID1,teamID2,teamID3,teamID4,teamID5,teamID6,teamID7,teamID8,teamID9,teamID10,teamID11,teamID12];

var rank = DS_1.getMembers("POS", 12);

var rankid = DS_1.getMembers("TEAMID", 12)  ;

 

I have set the variable I don't understand what to do next.

 

 

Thank you for your help.


Viewing all articles
Browse latest Browse all 4041

Trending Articles