Topic: Configuration for the Explore My Records page on iRecord
Andrea has asked me about configuring a page similar to the My Records page on iRecord. Since this config might be useful to others, here goes:
To setup “explore my records” page:
1) Add a new Indicia Forms page.
2) Set the title and menu as you would like.
3) Select Form Category=Reporting
4) Select Form=Map Explorer
5) Under Other Iform Parameters, tick View access control, and set the permission name if you are using a permission to control access to this page. In my case the permission name was "online recording".
6) Under Base Map Layers, tick the layers you want. Note that there are bugs in Google Physical so that is best avoided (points tend to drift when zoomed right in).
7) Under Report Settings, leave the default report. Set Preset parameter values to:
smpattrs=
occattrs=
location_id={profile_location}
taxon_groups={profile_taxon_groups}
currentUser={profile_indicia_user_id}
ownData=1
And set Default parameter values to
idlist=
searchArea=
ownLocality=0
ownGroups=0
If your site does not feature localities or species groups in the user profile, then you can move the ownLocality and ownGroups settings to the Presets box instead.
If you want an edit link, then Under Columns configuration, you can click Edit Source, then paste in the following:
[
{
"display":"Actions",
"actions":
[
{
"caption":"edit",
"visibility_field":"belongs_to_user",
"url":"enter-record-list",
"urlParams":
{
"occurrence_id":"{occurrence_id}"
}
}
]
}
]
Now click Edit w/form to commit this change, before finally saving the form.
Biodiverse IT