Skip to main content
1-Visitor
July 4, 2019
Solved

Navigation to mashup based on input

  • July 4, 2019
  • 1 reply
  • 2748 views

Hi,

Is it possible to navigate to multiple mashup using single navigation button?

 

In a service I am returning a output integer 1 to 19 and based on that I want to navigate to different mashups dynamically using 1 navigation widget.

eg: if (ip == 1)

{

result = 'Home_Mashup' //Navigate to Home_Mashup 

}

else

{

result = 'Screen1' // Navigate to Screen1

}

 

Please provide some idea.

 

Thanks,

Shalini V.

Best answer by BennyB

Hi @svisveswaraiya_285988 ,

 

change the output type of your service from integer to MASHUPNAME and return your string.

 

Regards

Benny

1 reply

BennyB16-PearlAnswer
16-Pearl
July 5, 2019

Hi @svisveswaraiya_285988 ,

 

change the output type of your service from integer to MASHUPNAME and return your string.

 

Regards

Benny

1-Visitor
July 5, 2019

HI @BennyB ,

Thanks for you response.

I changed the base type to mashupname but it shows mozilla error when I execute the service.

Is there any other possible way?

 

Thanks,

Shalini V.

16-Pearl
July 5, 2019

Hi @svisveswaraiya_285988 ,

 

what Mozilla error does it show? Can you provide a screenshot or log extract?

 

Regards

Benny