Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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.
Solved! Go to Solution.
Hi @svisveswaraiya ,
change the output type of your service from integer to MASHUPNAME and return your string.
Regards
Benny
Hi @svisveswaraiya ,
change the output type of your service from integer to MASHUPNAME and return your string.
Regards
Benny
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.
Hi @svisveswaraiya ,
what Mozilla error does it show? Can you provide a screenshot or log extract?
Regards
Benny
Hi @BennyB ,
I have attached the screenshot of error I am getting.
I also tried to directly give name of the mashup in result but its not working in runtime.
Thanks,
Shalini V.
Try replacing var HomeMashup with result
Edit: Was not quick enough =)
Hi @BennyB ,
I just re binded the output of service which has mashup name directly in result. It worked fine as you said.
Thanks a lot.
Regards,
Shalini V.