Hiding Spatial Locations in the Report Template

33 views
Skip to first unread message

Bryan Alvey

unread,
Nov 26, 2020, 7:16:54 AM11/26/20
to Arches Project

Hi Everyone,

I feel this question must have been asked many times before, but I can’t seem to find a solution in the docs or in the forums, so here goes:

I want anonymous users/specific user groups to be able to see the location points on the map but I want to limit how far they can zoom into the map, and I don’t want them to see the spatial location geometry displayed in the report template. 

So I have set up the default zoom limits in System Settings (System Settings/Default Map Settings/Map Zoom) and created the zoom limits for the user groups (from the /admin area, under MODELS / Group map settings (5.1)).

However, when I try to limit the view of spatial locations for guest users through admin permissions, guests can’t see the points on the map; and when I try to limit the view through card permissions tab in the front end (Arches Designer/[Model Name]/Location/Spatial Location/Permissions tab) the same thing happens – they can either see nothing at all on the map and no coordinate display, or they can see the map data AND the coordinate information displayed in the report template.

Has anyone a solution to this problem?

Best wishes,

 

Bryan

 

Alexei Peters

unread,
Dec 9, 2020, 2:37:54 AM12/9/20
to Bryan Alvey, Rob Gaston, Arches Project
Hi Bryan,
Right now the data for storing you coordinates is in 1 node and if the permissions are set such that a specific group isn't allowed to see it, then the flows to all the different ways that data could show up.  In this case the map data and the coordinate data are derived from that same data and must adhere to the same permissions.
What you want, really, is a hybrid approach.  You'd like to completely restrict viewing of the raw coordinates but still allow a limited view of the data via a map.  Is that right?
If that's the case, you might be able to achieve something like that via a custom card component, or maybe even better, a custom map widget/template that simply hides the coordinates in the report.  
I might be a little out of my depth here someone like Rob Gaston, whom I work with, might be able to answer this more definitively.
Cheers,
Alexei

Director of Web Development - Farallon Geographics, Inc. - 971.227.3173


--
-- To post, send email to arches...@googlegroups.com. To unsubscribe, send email to archesprojec...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups "Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archesprojec...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/449d0c3a-65d5-42d2-b6b0-2ca1e3f2693cn%40googlegroups.com.

Bryan Alvey

unread,
Dec 9, 2020, 9:17:02 AM12/9/20
to Alexei Peters, Rob Gaston, Arches Project
Hi Alexei

Thanks for getting back to me!

I found the solution by choosing 'Tabbed Template' for the report style for each of the models: In this way, I am able to choose which cards get to be displayed in each of the tabs - and I am able to omit the display of the card which has the spatial coordinates.

For anyone else coming across this email, you can do this through the front end: You go to Arches Designer/[choose your resource model]/click on the resource model node and choose the Cards Tab.  This displays the Report Configuration options on the right of the screen, from where you can opt for the Tabbed Template option from the pull-down list.

Have your tabbed options planned ahead, as you choose the rightmost tab first and move from the right-tab to the left, so you will probably be choosing the name and description last of all (but you might be able to move the tabs around anyway, I didn't figure that out).

But once you know, easy-peasy!

Thanks for all your help,


Bryan



Alexei Peters

unread,
Dec 9, 2020, 12:58:24 PM12/9/20
to Bryan Alvey, Rob Gaston, Arches Project
Great creative solution Bryan!


Director of Web Development - Farallon Geographics, Inc. - 971.227.3173

Reply all
Reply to author
Forward
0 new messages