421
Views
3
Comments
How to store output values from the javascript code in to the  input parameter

How to store the result of the latitude and longitude values from the javascript code into the input parameter I created


GeoQuestion.png
2022-01-13 08-29-52
Saravanan Santhanam

Hi @Prabinraj TP 

As per the attached screenshot, it seems you need to use client Javascript output parameters to assign the value to the local variables you declared on the screen. And one more correction,  the variables you declared are local variables, not input parameters.

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/JavaScript/Extend_Your_Mobile_and_Reactive_Apps_Using_JavaScript

Regards,

Saravanan Santhanam.


UserImage.jpg
Prabinraj TP

I have done that, but now the latitude and longitude are not coming 

MicrosoftTeams-image (27).png
2022-01-13 08-29-52
Saravanan Santhanam


https://www.outsystems.com/forums/discussion/69316/reactivegeolocation-does-not-not-have-a-callback-function-how-to-solve-screen-fr/

The above post implies the correction that you want to apply to your code. Pls refer to the post and try to apply the syntax as same. It works fine.

$resolve() is the missing code. Try applying it.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.