Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Troubleshooting question-template errors

Updated on November 22, 2021

You can use a question template to create or update survey questions in bulk.

  1. Perform one of the following actions:
    • If the template contains the IDs of questions that are in your application, go to step 2.
    • If the template has an invalid file structure or an invalid file type, go to step 3.
    • If questions in the template fail validation, go to step 4.
  2. If the template contains the IDs of questions that are in your application, perform the following actions:
    1. In the Duplicate questions section of the Import survey questions page, click View details.
    2. Review the list of questions, to confirm that you intentionally added them to the template.
    3. Decide how to process the duplicate questions.
      • To exclude them from the import, select Skip.
      • To overwrite the existing questions with the information in the template, select Update.

      If you provide more than one entry with the same ID in the template, your application uses the information from the first row that it finds only.

    4. Click  Import.
    5. Click Done.
  3. If the template has an invalid file structure or an invalid file type, perform the following actions:
    1. Click Download template to save a Microsoft Excel file to your local machine.
    2. Open the file.
    3. Copy the information from your original template to the relevant columns in the file.
    4. Save the file but do not change its format.
    5. Click Browse.
    6. Navigate to the location of your new question template, and then click Open to upload the file.
    7. Click  Next.
    8. Click  Import.
    9. Click  Done.
  4. If questions in the template fail validation, perform the following actions:
    1. In the Failed validation section of the Import survey questions page, click View details.
    2. Review the error messages for each question to determine which columns have invalid data or reference an invalid rule.
      For example, you must provide the name of a section rule when the answer format for a question is set to Section.
    3. Click Back.
    4. Update your template to provide the required information.
    5. Create the required rules in the same class path as the questions.
    6. Click Browse.
    7. Navigate to the location of your updated question template, and then click Open to upload the file.
    8. Click  Next.
    9. Click  Import.
    10. Click  Done.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us