Hi,
I have a requirement is to have a dropdown box showing the current year and the past 2 years (i.e. 2014, 2013 and 2012). One way is to parse the current year using Application.getInfo().dateNow. However, the dropdown.setItem() can only accept ValueTextList.
Can anyone please advise how a string / int variable can be converted to ValueTextList format?
Many thanks,
Jianyun