Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3280

How to load datasources via script and in Background

$
0
0

Dear all,

 

We are running Design studio on BIP 4.1 SP2. I have a design studio application with 6 data sources and I am using parallel query execution/variable merge. All datasources are grouped in “Processing groups” and they are all referring to BEx queries with equal variables. Therefore I have removed variable prompts from datasource DS_2 - DS_6 in “Prompt Settings”.

 

Datasources 1-4 are loading at the beginning, but in background, so I use:

 

Load in script =                         true

Event OnStartup =                    APPLICATION.doBackgroundProcessing();

OnBackgroundProcessing =      APPLICATION.loadDataSources([DS_1, DS_2, DS_3, DS_4]);

OnBeforePromptsSubmit =        Passing through variables from DS_1 to DS_2

Passing through variables from DS_1 to DS_3

Passing through variables from DS_1 to DS_4

 

I want to get DS_5 and DS_6 loaded after an event (e.g. push a button), but also both in the background.

 

How do I realize that with my above mentioned scripts? When I add DS_5 and DS_6 to the APPLICATION.loadDataSources statement in OnBackgroundProcessing, they getting loaded already at the beginning.

 

And where do I have to do the pass through of the variables from DS_1 to DS_5 and DS_6? Also on beforePromptSubmit?

 

Any idea would be great. Thank you in advance.

 

Best regards,

Stefanos from Munich/Germany


Viewing all articles
Browse latest Browse all 3280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>