Add Question choices to a select box variable by importing an excel to question_choice?

Mad3
Tera Expert

Hello Community!

 

I have 3 select box variables. For those variables I have a excel sheet to add question choices nearly 250. Manually we it will take time to add all question choices to variables. So tried to import the excel and add the choices, I am getting below error.

Mad3_0-1681208645218.png

 

Mad3_0-1681208231008.png

I tried to import excel here

Mad3_1-1681208358432.png

I am trying to import excel is 

Mad3_2-1681208512812.png

 

I think I am miss matching with text, value and Display Name.

 

Please correct me where I am missing to upload data.

Thanks in Advance.

 

 

 

1 ACCEPTED SOLUTION

@Mad3 

For the column Text, I think that is not proposed because it's translated Text but you can fix it: 

1- Go to the created datasource, it should have the same name as your file + (Uploaded)

Upsilon_0-1681223866358.png

 

2- Check the related Transform map and add field map for Text if missing. 

Upsilon_1-1681223949032.png

3- Use the data source to import again your file

 

Regards

View solution in original post

5 REPLIES 5

Upsilon
Giga Guru

Hello,

the header is not OK, you can download a template with the right columns. For sys_choice at least you shoud have: Question, value and langage if need translations

Yasmina1_0-1681208880227.png

I hope, it can help

Regards

Hello @Sandeep Rajput  and @Upsilon ,

Thanks for the replu!

 

Tried to export excel filled with data and imported able to get Value, I am failing to get Question, Text and Display name. Can see the below Images. Please make me correct.

 

Note: I am working in Scoped application. Since question_choice table is on global application.

 

Mad3_1-1681220002268.png

 

Tried Like this

Mad3_2-1681220280417.png

 

Note: I tried without having Question field then only it allowed import Values.

 

Actually tried with this not able to import even with Values

Mad3_3-1681220440405.png

 

 

 

@Mad3 

For the column Text, I think that is not proposed because it's translated Text but you can fix it: 

1- Go to the created datasource, it should have the same name as your file + (Uploaded)

Upsilon_0-1681223866358.png

 

2- Check the related Transform map and add field map for Text if missing. 

Upsilon_1-1681223949032.png

3- Use the data source to import again your file

 

Regards

Question is a reference field, you need to put sys_id of question in excel.