Another USERSETTINGS + Security Filter Question...

Alright, I have read several posts on this but I can't seem to wrap my head around it...

I have a massive dataset that I had previously broken up into multiple apps. I wanted to try keeping it all in one Google Sheet and allowing users to select what area (city) they will need to see and edit.

I am mixed up somewhere between slices, user settings, and security filters. 

I added a "city" enumlist in the user settings, and then added the security filter:

Ryan_Wagner_0-1665521344261.png

I then made slices for each city like this:

Ryan_Wagner_1-1665521432546.png

 

Finally, I made map views for each city that are visible if that city is selected:

Ryan_Wagner_2-1665521482631.png

Is this approach redundant? Is there a better way? It seems like I would need to make a massive list of UX views to cover every possible combination of cities. I must be missing something obvious...

 

 

Solved Solved
0 5 193
1 ACCEPTED SOLUTION


@Ryan_Wagner wrote:

I wasn't sure if slices and individual views came into play at that point.


If they can select which city the app is going to use, they don't need slices at all.
Security filters remove any other data that doesn't apply the filter and that data is downloaded to the device running the app, so slices just work on top of that already filtered data

View solution in original post

5 REPLIES 5

Hi @Ryan_Wagner 

I think a little example of your data and what you need in the end would help more than what you have done, although it's good to see you pushing to solve it.


@Ryan_Wagner wrote:

I added a "city" enumlist in the user settings, and then added the security filter:

Ryan_Wagner_0-1665521344261.png

 


This is basically telling the system, "Ignore any row of this table if the value inside the user setting for "City" is not inside a list of values on the [City] column. If [City] is not a list, you should consider other type of expression here.


@Ryan_Wagner wrote:

I then made slices for each city like this:

Ryan_Wagner_1-1665521432546.png


This is a little bit weird, and I'm a little lost. You shouldn't need so much slices or hard-coding


@Ryan_Wagner wrote:

Finally, I made map views for each city that are visible if that city is selected:

Ryan_Wagner_2-1665521482631.png


Same as before

Hi @SkrOYC ,

I had hoped that was enough info, but here is what my table looks like:

 

Ryan_Wagner_0-1665584732153.png

It is a large dataset that has many cities (in the "Tags" column, which is an enumlist.) I now have multiple sheets and multiple similar apps to manage it all. I want to try using only one sheet (and one app) and allow the user to select which city to see/load when they start the app. 

Ryan_Wagner_1-1665584953381.png

 

I have only used "usersettings" to allow users to pick what actions should be available. I haven't done much with security filters before, so I wanted to try that, but that is where I got lost...I wasn't sure if slices and individual views came into play at that point.

Can I provide any other info?

Thanks for taking a look.


@Ryan_Wagner wrote:

I wasn't sure if slices and individual views came into play at that point.


If they can select which city the app is going to use, they don't need slices at all.
Security filters remove any other data that doesn't apply the filter and that data is downloaded to the device running the app, so slices just work on top of that already filtered data

That's what I was hoping, but I can't seem to set that up...I have a map view based on the whole table, and the security filter on the table is what I mentioned earlier:

Ryan_Wagner_0-1665599412427.png

After selecting a city in the settings, the filter doesn't do anything.

I hope I'm explaining it correctly. 

I appreciate you taking the time to help.

Wow...I am an idiot...I wasn't using the right column name. It is working now. Apologies for dragging this on. Thanks again, @SkrOYC !

Top Labels in this Space