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

accept rate: 2%

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

OF%20Collect's gravatar image

OF Collect ♦♦
accept rate: 23%

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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: 08 Feb '20, 12:23

question was seen: 626 times

last updated: 09 Feb '20, 03:02