Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9656

Re: Using JDBC SP for Dynamic Entry List in EP 7.31

$
0
0

Hello Udi,

 

This was very helpful and I proceeded as per your suggestion.

 

I have created a new Service Component and I am able to Test the model from there. Here, entries to be loaded from this service component to dropdown in my root model will be with value = "ProfileID" and text ="CustomerNumber"+"CustomerName".

EntryListComponent.png

Here one thing to notice is: This SP (SQL Stored Procedure) doesnot have any Out parameters defined. Instead, it is returning result from a select query, so no out parameters will be listed in designtime though it shows the result with three columns while testing the model. 

 

I mean, if i double click the data connection between model and out1, this is what the mapping which I can see.

 

Connection.png

 

In order to use the model output from here, I have added three column names that the SP select query return. But I am not getting what value needs to be mapped to "Default Value" for three columns as the SP output which i could see is just a parameter of type "N" (please reser the following figure).

 

Mapping.png

 

I kept the Default Value blank and used it in the root model for loading dropdwon, however, nothing got loaded.

 

Hope you got what I am trying to explain here.

 

Thank You

Fahad Hamsa


Viewing all articles
Browse latest Browse all 9656

Trending Articles