Visio Guy

Visio Discussions => General Visio => Topic started by: AnotherNoOne on July 16, 2018, 03:17:18 PM

Title: Loading Templates disturbes Formula
Post by: AnotherNoOne on July 16, 2018, 03:17:18 PM
ok hereĀ“s how the template should work:

one page of nothing, with shape data for the page. the user is supposed fill in some information.

different sized pages afterwards (DIN A0-A4) with a premade frame and a plan header.

the information from the first page gets put into the Doc with [ Setf(Getref(TheDoc!User.example),prop.example) ] and so on

all other pages have Textfields linked to that information [ TheDoc!User.example ]

Heres the problem:

when I save the document as template and another user opens it, changes the shape data on the first page and afterwards opens another page, the Data doesnt show up. if he changes the Data on the first page AFTER having opened the other page once everything is fine.

Hotfix: Macro that cycles through all pages when opening the document.

Question: is there a better way to solve this?
Title: Re: Loading Templates disturbes Formula
Post by: Yacine on July 17, 2018, 06:21:43 AM
It's just an update issue. Isn't it?

Just a small try: instead of pushing the data by means of setf/getref, you could try to pull them by referencing in the shapesheet of the doc directly the data of page 1.
Title: Re: Loading Templates disturbes Formula
Post by: AnotherNoOne on July 20, 2018, 08:23:10 AM
That fixed the issue. And this approach seems to be way nicer. Thank you!