Collect: how to save family name in 'taxon' attribute to a different calculated text attribute?

  • Asked
  • Active
  • Viewed 6051 times
0

'Taxon' attributes in Collect are very useful when connected to a good species list. When you create a species list, there is the possibility to add the family name and automatically display it in your data entry form. However, the family name seems to be treated as a 'hidden' attribute, and it is not displayed in Saiku to be used as row/column/filter attribute. This would be very useful to analyze your data. I thought that a simple workaround would be to add a new calculated text attribute which you set to be equal to the family name of your species: how can I do this? Is it possible to refer to the family name field in your calculated field expression?

Thanks in advance to anyone who could give me some hints on this.

Luca

0

Accepted answer

Hi Luca,
Now the family name is not visible in Saiku, but we will add it soon.
As a workaround, if you are using the option Show family in the Taxon attribute, then you can have access to the family scientific name from a calculated attribute using an expression like this:
taxon_attribute_name/@familyScientificName
Thanks,
Open Foris Team

Thank you! I tried your solution, and it's working perfectly. This will do until the family name will be added to Saiku.

Congratulations for your great work.

Luca

stonedwanderer stonedwanderer
0

Accepted answer

Sorry to open this again, but I found that the proposed solution, that is perfectly working on Collect Desktop, has problems on Collect Mobile for Android. In fact, each time I enter and select a taxon name (and, therefore, the value of the calculated attribute is generated from the expression 'taxon_attribute_name/@familyScientificName'), the app freezes with message "Collect Mobile has stopped unexpectedly", and it does not record neither the taxon attribute, nor the calculated attribute with the family name. This makes it impossible to use this method in the field.

Is there any solution?

Thank you again,

Luca

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.