Import Portions of Another Project

This article will show you how to Import Portions of already programmed projects into the one you are actively scripting


Background

In many scenarios users with scripting, access wants to reuse portions of another project which has already been programmed. In most cases, this is done by cloning the original project and deleting what is not relevant to the new project. Though this is a good way to reuse existing programming it can sometimes be inefficient. For this reason, we have added the ability to import questions, pages, and/or full sections from one project into another. This article will provide the workflow to accomplish this as well as point out some use cases to be aware of. 

Click HERE for a Video Tutorial


Import Element(s) From Project

  1. Click on the "Import Element(s) From Project" button at the bottom of the question tree 

  2. Search for the Project name which contains this element.    
    1. You must have scripting permissions on this project you are importing from to utilize this feature
  3. Select the specific element type you wish to Import: Question, Page, or Section

  4. Select the specific element you wish to Import 

  5. Click "Import"
    1. Regardless of the item type, the items will be added to the bottom of the question tree. You can move it around as needed.  
  6. Make sure to review any settings which have been imported to ensure if any corresponding logic needs to be updated
    1. The "Review Outline" can aid in the quality control process as it has been updated to show any possible errors which need review
  7. As always - Make sure to test thoroughly

Import a Page into a Specific Section

  1. Find the Section which you want to add the page to
  2. Click on the three dots on the top right

  3. Select "Import Page From Project" 

  4. Search for the Project name which contains this element. 
    1. You must have scripting permissions on this project you are importing from to utilize this feature
  5. Select the Page

  6. Click "Import"
    1. The "Page" will be inserted at the bottom of the "Section" you are working in but you can move it around as needed
  7.  Make sure to review any settings on the "Page" to ensure if any corresponding logic needs to be updated
    1. The "Review Outline" can aid in the quality control process as it has been updated to show any possible errors which need review
  8. As always - Make sure to test thoroughly

Import a Question onto a Specific Page

  1. Find the "Page" which you want to add the question to
  2. Click on the three dots on the top right 

  3. Select "Import Question From Project" 

  4. Search for the Project name which contains this element.
    1. You must have scripting permissions on this project you are importing from to utilize this feature
  5. Select the Question 

  6. Click "Import" 

  7. Make sure to review the settings on the "Question" to ensure if any corresponding logic needs to be updated
    1. The "Review Outline" can aid in the quality control process as it has been updated to show any possible errors which need review
  8. As always - Make sure to test thoroughly

Use Cases to be Aware of

  • You can import a Concept Loop section and it will also import the corresponding Concept
  • Always look in the Review Outline to see if anything did not come over properly. You can search for "###" and those items will have to be updated manually. 
  • You will want to use hidden questions within sections instead of custom variables so that your sections are all-inclusive because any custom variables will have to be manually created before you import a section.  
  • If you have "Quota Checks" in place in a Section you are trying to import you will need to create those from scratch. Those will not come over to your new project. 
  • Please note that you can just import from the same localizations (i.e en-US to en-US), you will see your question empty after importing if the localization doesn't match

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.