I'm trying to export/import a view from a dev site to a qa site. Views UI is enabled. However, when I go to structure>views I don't see the "+ import view" option, only:

"+ Add new view" "+ Add new view from template"

Anybody any idea?

4 Answers 4

  1. If the user you are logged in has the Administer Views permission, if not then give this permission.
  2. Also enable the 'PHP filter' core module.
  3. Give the relevant user role the Use PHP for settings permission.
  4. Paste the below url after your current url and you will see the import views page.


  • 2
    the function views_import_access makes it pretty clear, as it just checks the other 2 permissions: administer views and use PHP for settings
    – DrCord
    Jan 13, 2016 at 17:24
  • 1
    Note that in order to see the "use PHP for settings" permission, the "php" module must be enabled. Nov 2, 2018 at 0:18

You should either have sufficient permissions ("administer views" permission) or be logged in as user #1. If you not logging in as user #1, you will also need to have the permission "use PHP for settings" because of an issue in Views.

Then you should be able to go admin/structure/views/import and import your view.


Most likely you're looking in the wrong place. The Export option you used is in the drop down on the View line in your list of Views, while the Import option is at the top of the Views master page as a tab. Took me a while to notice that as I expected the Import option to be in the same drop-down as Export.

  • This was totally the right answer for me and don't recall every having to enable extra php modules for this on other sites - usually i expect to find it under Structure > Views in the navigation Sep 25, 2017 at 3:51

Another reason might be that you are using the paranoia module, which disables a lot of php-run features like this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.