Background Variable Table

There are many times when I would love the ability to store a temporary variable somewhere for use during a specific process - like running a report, filtering data using an in-app filtering system, changing a ref connection for a group of records from one parent to another (migrating records), etc.

Currently their are two methods to accomplish something like this:

  1. UserSettings
  2. Create a table/use a column

Method #1

The problem with the first is that any changes to UserSettings requires a re-sync of the app - so for any process that needs to be speedy, this is a no-go.
2X_3_3035628104e889c181094160194bd8eae6552b8c.gif

Method #2

The problem with the second is that you now have an abundance of sync-calls being made to the server: one to set the variable, one to clear it, and possibly another for each alteration.

All of these syncs don’t need to be saved, don’t need to be pushed to the cloud - they’re only for use inside the app that’s using them - in fact everything will be reset to blank once the process is complete.


What I really need is another table that’s similar to the UserSettings - in the way that it’s a table that lives on the device with no corresponding cloud equivalent - but that doesn’t require a re-sync whenever changes are made to it, and one that we can update using Actions.

As always, thanks for considering!

Status Under Review
31 18 1,117
18 Comments
Fabian_Weller
Gold 1
Gold 1

@MultiTech_Visions Thank you for that post Matt. That’s exactly what I also need.

1minManager
Gold 4
Gold 4

I agree with @MultiTech_Visions on this one. I think it would actually result in a big saving of backend time. Also in somecases we wouldn’t need to create virtual columns at all

WillowMobileSys
Platinum 1
Platinum 1

I love this idea too!

WillowMobileSys
Platinum 1
Platinum 1

I was reviewing and revising my voted items again and realized that this post is similar to the one below. Can we somehow combine these two? It would springboard it up the list!

Steve
Platinum 4
Platinum 4

I’m not aware of a way to merge posts, and I suspect a lot of the votes between the two posts are overlaps, so combining them may not be quite the win you’d hope. I could close one of the topics, but I have no way to migrate the votes.

MultiTech
Gold 4
Gold 4

Does that release the votes?

Steve
Platinum 4
Platinum 4

I really don’t know. I’m assuming it does.

Fabian_Weller
Gold 1
Gold 1

No it doesn’t! You first have do “devote”.

pravse
Staff

Yes, the APPSETTINGS requests would cover this one too. Let’s just track that and treat this as a duplicate.

stuggijo
Silver 1
Silver 1

Me two thank you

HBT
Silver 4
Silver 4

This is a must. +1=17

MultiTech
Gold 4
Gold 4

If AppSettings() is intended to be App-wide - meaning whatever variables I set there EVERY user will see - then this wouldn’t be a duplicate.

I’m looking (still looking ) for a way to reduce the back-and-forth necessary with “user-specific global variables.”

  • Currently the only method that works for active dashboards and such is to have columns somewhere (in the user table usually)
    • but this is all that back and forth I’m talking about.

MY app needs to have that information, but if you’re using it all that is superfluous; just like your dashboard setting changes are pointless to me.


(I made a post awhile ago about this, but couldn’t find it - read: didn’t try very hard. haha)

Instead of a whole table - it would be easier if we could just mark columns to not upload whatever changes they have to the server and store them locally only.

  • To the database it would look like a show column… empty; but on the device it would hold their value in that field.

EDIT: found the post:

WillowMobileSys
Platinum 1
Platinum 1

What if the AppSettings table idea could be modified to have a Global and Local flavor of settings values?

Global means for all users of the app. Value included in Sync.
Local meaning just for the device. Value NOT included in Sync.

MultiTech
Gold 4
Gold 4

A nice combination of both!

Status changed to: Open
Pratyusha
Community Manager
Community Manager