Multiple Data Sources in Scripting

Trying to use this example from the scripting PDF:

from java.util import *
def addDataSources(context):
ds = ArrayList()
ds.add("DS1")
ds.add("DS2")
return ds

But, when I try to use one of the data sources it says that the data source does not exist. Can you post a valid method that uses one of these ? Thanks JT

Comments

Sign In or Register to comment.