Retrieve single column data of a feature layer .

3012
12
Jump to solution
12-02-2018 01:48 AM
Jayendra_Praveen_KumarChorapal
New Contributor

Hey i am working on a feature layer and i would like to have the all the tuple values of a single column of my feature layer so that i will use these tuples to insert in a drop down list for my web app. I hope for a quick reply.

0 Kudos
12 Replies
Jayendra_Praveen_KumarChorapal
New Contributor

Okie sir ill mark it as answered.

Sir i want to show the names of the school in the dropdown and when

selected a particular school its corresponding email should be on the text

field.from my esri request im having both school names and email address.

On Mon, Dec 10, 2018 at 12:57 AM Robert Scheitlin, GISP <geonet@esri.com>

0 Kudos
Jayendra_Praveen_KumarChorapal
New Contributor

can you please help where im going wrong in the code i have mentioned.

var hey = document.getElementById("stateselect").value; //

when using this line in the change function im not getting emails instead

the text box is displaying the same schoolnames in the textfield. I wonder

that y it is displaying school names as i stored email in the value variable

On Mon, Dec 10, 2018 at 10:28 AM Chorapalli Jayendra praveen kumar <

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Jayendra,

   To get the value of the combobox you have to do this:

var cb = registry.byId("stateSelect");
console.info(cb.item.value);

Please start a new question for each new questions.

0 Kudos