Hello OF-team,

I would like to concatenate a taxon name from my species list with a number from a code list.

For example: "Fabaceae sp". + "1" = "Fabaceae sp.1"

I am trying with the following code, but in the new field, only the taxon name appears: concat(idm:speciesListData('spp_list', 'scientificName', species),string(code_list)) If I add additional arguments, the result remains the same, so I assume that the concat() function does not recognise the arguments.

Thanks for any piece of advice, Jan

asked 16 Mar, 20:05

janklein's gravatar image

accept rate: 0%

Dear Jan,
Please try to change your expression into: concat(species/@scientific_name, code_list)
since you don't need to cast the code value to a string in that case and you can find the scientific name information already associated to the taxon attribute value.
Also, please check that the calculated attribute is not marked as Calculated only one time, otherwise its value won't be recalculated every time you change the value of species or the code_list attribute.
Many thanks,
Open Foris Team

permanent link

answered 16 Mar, 22:40

OF%20Collect's gravatar image

OF Collect ♦♦
accept rate: 22%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 16 Mar, 20:05

question was seen: 294 times

last updated: 16 Mar, 22:40