1

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.

John van Breda
Biodiverse IT

2

Re: Configuration for the Explore My Records page on iRecord

Hi John,
I've just tried this but stumbled at the first hurdle. I'm using the version 0.8.1 of the iform module and under Reporting don't have the option "Map Explorer"...

Is it called another name in this version of the iform?

Thanks,
Fiona

johnvanbreda wrote:

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

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar

3 (edited by niroshasarathi 12-10-2012 10:59:52)

Re: Configuration for the Explore My Records page on iRecord

Indicia Development :

Just to update the forum on this topic: John helped us to solve the question. The origin of the problem was "simply" a switch in the Drupal menu from the English to the Italian version, that changed some settings (the word "default" should have been substituted with the Italian translation of the term).
Andrea........



after having succesfully installed Indicia in our website and made some trials for the immission of data, one day we found that:
- the map is no more centered on the selected area, although the Iform settings are right. Instead of showing the right map, a "repeated" world map is shown. We do not understand why this happen!
- at the same time, even the georeferencing tool has stopped working, giving the error message: "the spatial reference system default is not recognized", when the term "default" (following the Indicia instructions) has to be enetered in the form settings to have the map rightly showed.





Internet Explorer Tech Support

4

Re: Configuration for the Explore My Records page on iRecord

I now have Map Explorer as an option as a result of updating the iform I am using with the help of John

Fiona McCrory
CEDaR Website Officer
www.nmni.com/cedar