2

I made a print layout with servales pages with the QGIS print composer and added some text to the layout, like the project name etc.

Is there a fast way to change the project name in all pages?

Like a "search and replace" or do I have to change it manually in all pages?

1
  • 3
    I guess you'll have to do this manually. Next time you could use @project_basename so it will adapt automatically.
    – Erik
    Aug 14, 2020 at 12:18

1 Answer 1

1

There is a workaround to do that: save your project as qgs file (not the default zipped qgz file). Than open this qgs file and search/replace there - be sure to let everything elso untouched. Save your changes, close and open the qgs file again: the changes should be refeflected in your print composer.

When doing so, you could use a variable for the project name as proposed by @Erik. Than you cand handly easily within QGIS for further changes.

2
  • 1
    No need to save as a .QGS file as .QGZ are just compressed version. you just need to change the .qgz by .zip, open the now zip archive and do your change then change back to .qgz
    – J.R
    Dec 21, 2020 at 18:08
  • OK, great to know that.
    – Babel
    Dec 21, 2020 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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