I have developed a script (test 2) to create sheets and place views into sheets for my company.
The script works and places the views into the sheets with no issues (test 2 viewport title)
The strange problem that I have occurs when I try to combine this script with the previous one that I have done to create views from view templates (test 1).
This also works (creates the views + create the sheets + place views into sheets) but for some reason the viewport title offsets from the normal position with no apparent reason (test 1 viewport title).
I would like to keep the same result as “test 2 viewport title” without the offset viewport title. Any idea how to fix this please?
Thank you in advance.