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

Sandeep Rajput
Tera Patron
Tera Patron

In order to import the data correctly, you need to follow the following steps.

1. Create a template first: In order to create the template, use the following steps.

On the column context menu, select the Import option

Screenshot 2023-04-11 at 4.11.18 PM.pngNow, choose create template option

Screenshot 2023-04-11 at 4.11.29 PM.png 

On clicking Create Excel Template, an excel file would get downloaded on your local machine.

The file would look something like the following.

Screenshot 2023-04-11 at 4.12.12 PM.png

 

Now fill the data with appropriate values from your original excel sheet and make sure to fill sys_id of question record within the question column. This will correctly map the choices to the correct question record.

 

Hope this helps.