Select to view content in your preferred language

Is there a way to display the 'name' field rather than the 'label' field as the field name in the output?

2435
3
Jump to solution
03-03-2017 11:22 AM
ClaudiaK
Emerging Contributor

My survey has quite a number of duplicate questions for different subjects?  To avoid numerous identical field names, is there a way to set the field names in the resulting output to the 'name' field rather than the 'label' field? 

0 Kudos
1 Solution

Accepted Solutions
BrentKinal1
Frequent Contributor

First thing, your output fields are actually all named differently, it sounds as if the output field aliases that are displayed are all the same. To fix this, if you are creating your form in Survey123 Connect there is a column called bind::esrifieldAlias (column W). I haven't tested this but if you put the field name in this column where you want the name rather than the label (alias) it should do just that.

View solution in original post

3 Replies
BrentKinal1
Frequent Contributor

First thing, your output fields are actually all named differently, it sounds as if the output field aliases that are displayed are all the same. To fix this, if you are creating your form in Survey123 Connect there is a column called bind::esrifieldAlias (column W). I haven't tested this but if you put the field name in this column where you want the name rather than the label (alias) it should do just that.

ClaudiaK
Emerging Contributor

Thanks, that did the trick

0 Kudos
BKS
by
Frequent Contributor

Hello @ClaudiaK and @BrentKinal1 ,

I realize your post was several years old but I'm having an issue that conflicts with what you are saying above.

I'm using s123 website to view the data but the column headings in the table are NOT the labels but instead the name field for the question.  On the other hand, the filter uses the label value so it's quite confusing to the user.  Finally when we export the data, it uses the name field for column headings.

I need to make this consistent so I tried the bind::esri:fieldAlias option mentioned and it did nothing to the table headings.  

Have you experienced what I'm experiencing and do you have any work-around to make the filter column names consistent with the table column names?

thanks kindly, BKS

0 Kudos