[Location Plugin] Get data

[Location Plugin] Get data

  
Forge Component
(5)
Published on 23 Nov (14 days ago) by OutSystems
5 votes
Published on 23 Nov (14 days ago) by OutSystems

How do i get the location in "Preparation" mobile Screen

Solution

Hey, Mário,

I'm having trouble understanding your question, but from my understanding, either:

  1. You're trying to create a Web application and can't add the plugin's actions to a Preparation action;
    1. This is expected: as this plugin is a Mobile application and, as such, can only be referenced by other Mobile applications; if you need to achieve a similar result, reference OutSystems Now's "GetLocation" block (have a look at, say, Car Accident Reporting for a working example);
  2. You're trying to create a Mobile application, but can't find a preparation action where you'd place the call to the "GetLocation" action, from this plugin;
    1. Since there is no Preparation on Mobile applications, I would suggest placing this call on an OnReady action, as this will ensure the Location will be obtained soon enough for there not to be many hiccups (you can see Directory Mobile as a working example)

Does this solve the problem for you? If not, please let us know how we can help further :).

Best regards,

Carlos Simões

Solution

Thanks