cancel
Showing results for 
Search instead for 
Did you mean: 

Invoke different SUP applications from single HWC application's button click.

Former Member
0 Kudos

Hi All,

I have 3 differnt HWC application.This 3 application I need to invoke from a single application.My single application has 3buttons in it.That is:

1. Button Click-1 invokes HWC application screen-1

2. Button Click-2 invokes HWC application screen-2

3. Button Click-3 invokes HWC application screen-3

How can I do it?

Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Jyotiranjan,

Is there any relationship among screen 1,2,3?

Where do you all 3 buttons? Is that a common screen?

all three screens belong to same mbo or different?

Rgrds,

Jitendra

Former Member
0 Kudos

Thanks for your response Jitendra!

The buttons 1,2,3 are in one HWC application. And, screen 1,2,3 corresponds three separete HWC applications. Its like invoking three applications from button clicks of a single aplication.All three screen belongs to different MBOs.

Thanks. 

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

ok Rout,

Lets say you have one start screen where you have all 3 buttons for navigating to diff scrns.

(assuming you have created 3 desired screens)

go to screen design tab of start screen

add 3 buttons lets say button1, button2, button3 (from palette Right hand side)

and set the properties of each one (right click

give some key name

select Type as Online Request

assign the corresponding MBO

Invoke Obj query

follow below snapshot (its just for your ref.. you may follow accordingly as per your requirement)

Rgrds,

Jitendra

Former Member
0 Kudos

Thanks for response,

Actully, My MBOs corresponds applications.So, when I'm searching for the desired MOB I'm not getting it.

Former Member
0 Kudos

Well,I'm able to select MBO from differnt app.But, not able to see "findbystatecode" in invoke object query.So I selected findALL.How to do personalization key mapping?

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

can you share snapshot of mbos and button properties setting?

Former Member
0 Kudos

1. My button property

2. I have to give conditional navigation,how to give this?

3. How to do personalization key mapping.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

it depends... its not all always compulsory to map PK mapping..

what is cache policy wrt to mbos?

do you have any load arguments to your mbo?

(right click MBO>attribute> load arguments)

Former Member
0 Kudos

Its with default setting.I'm just keeping it simple for the time being.Just trying to modify what is necessry after my understnading.

Former Member
0 Kudos

Hello Jitendra.

Let keep as simple as that(Please refer my question). Thanks.

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

yeah.. lets make it simple..

go with one screen and one button.

for button 1,


you have created a key

selected type online Request
assigned MBO1 (Sp_Get_user_Training)

selected findAll
at last, select screen1 from Default Success Screen

no need to any kind of mapping

run the app... and see whether you are able to see the o/p on device.

do the same for button 2 and button 3.

i have checked it and it is working for me.

Regards,

Jitendra

Former Member
0 Kudos

Well, Thank you for this response.

The thing is I was also doing same thing.But, As my screen -1 is completely different mobile application with its own MBO; so, I'm not able to see the screen in "default success screen".

Probable I need to do conditional navigation for this(but not sure).

I'm just trying out these things:

function customConditionalNavigation(currentScreenKey, actionKeyName, defaultNextScreen, conditionName, workflowMessage) {

{

if((currentScreenKey === SERVERINITIATEDFLAG) && (actionKeyName === '')) {

        // conditional start screen uses this magic screen key and the empty action name.

        if( conditionName === 'User1') {

            // custom logic

           

           

            return true;

        }

        else if(conditionName === 'User2'){

            // custom logic

            // return true or false

            return true;

        }

}

But, Im not sure what to write in "custom logic" section.

I mean how to invoke a screen when certain condition is success in SUP custom javascript?

Thanks.