Dear OFT, I created a species attribute (with taxon data type). where different type of spp can be chosen as usual. I also created sppgrp (calculated field). I want when a user chose shorea robusta then sppgrp should get value 1. for this I put 1 in expression and species = "shorea robusta" in apply when area, It is not working(not giving value 1). instead if I put species != "shorea robusta" then it works fine. Did I wrote code in wrong way? I think something is wrong. I am using collect Version: 3.25.1. please suggest me if the coding style is changed.

asked 08 Feb '20, 12:23

Rajkumar's gravatar image

Rajkumar
10422353
accept rate: 3%

Now It is working. What I did is that I put species/@ScientificName

(08 Feb '20, 13:58) Rajkumar Rajkumar's gravatar image

Hi Rajkumar,
Is "shorea robusta" the correct "code" of the species? When you are using taxon attributes, you should refer to selected species code, not to the scientific name.
Let us know, many thanks.
Open Foris Team

permanent link

answered 08 Feb '20, 22:33

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.6k19
accept rate: 20%

Thank you for your response. But it is working fine. I will follow your suggestion.

(09 Feb '20, 03:02) Rajkumar Rajkumar's gravatar image
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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:

×493

question asked: 08 Feb '20, 12:23

question was seen: 1,492 times

last updated: 09 Feb '20, 03:02