Update location when it changes

Hi,
I have a location field in user datatype. I want to update the user location to the current location automatically.

I have two questions:

  1. How can I run the update action across pages (i.e., in the background) without rewriting it in all pages?
  2. Is there any event like “when current location changes”?

Thanks.

Create a place in the database. So what I mean is create a new type called “Website Settings” and have a field called “Background Color,” type “text.” Insert dynamic data for “Do a search for Website Settings:first item’s Background Color”.

Hope this helps!

Thanks for your reply but I didn’t get the relation between the location updating and what you mentioned about.
Could you explain a little bit?

What do you mean by location? Geographic Location?

Hi, have you considered adding a Workflow to a reusable element, such as the Header? You could update the location on page load. Then it will occur on every page load.

1 Like

@johnny Yes, I mean the geographic location.

@codably Nice idea, thanks.

No, but there is a “Do every x seconds”. Which is much the same thing.

1 Like

Never needed this in my apps but I guess a “do every x seconds” with a “get geographic location” and “make changes to user” is the way to go.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.