Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RPE : _sessionInfo.getDatasourceProperty usage

Sorry, but "stupid" question about the REP internal variable : 


  • _sessionInfo.getDatasourceProperty("data_source_name",“property”, “”);

We search some available documentation about this variable .. Some examples ...

It's difficult to find details information usage in the IBM documentation site (Internal variables - IBM Documentation). 

Thank you for your help.

1

0 votes



One answer

Permanent link
Take a look at


. _sessionInfo.getDatasourceProperty( dsName, propertyName, defaultValue)

Returns the value of the data source’s <dsName> property with the specified name. If the data source with that name does not exist in the current template or the property does not exist the function returns the value provided in the defaultValue parameter.

Scope: current template

Example:

  •  _sessionInfo.getDatasourceProperty( “DS1”, “URI”, “-“)
  •  _sessionInfo.getDatasourceProperty( “DS1”, “type”, “-“)
  •  _sessionInfo.getDatasourceProperty( “DS1”, “username”, “-“)

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,030

Question asked: Mar 23 '23, 8:42 a.m.

Question was seen: 1,052 times

Last updated: Mar 01 '24, 1:38 a.m.

Confirmation Cancel Confirm