Saras applied to a Diary Output File

Navigation:  Saras > The 3 Ways of using Saras >

Saras applied to a Diary Output File

Previous pageReturn to chapter overviewNext page

Each script has a Global Saras property. Saras defined this way are applied to the entire output file, even to information pages.


This could seem rather coarse, but Q++Studio gives you the option of applying the Saras to a selection of pages.


For Global Saras

For Global Saras


The advantages of Saras used this way are :


You can do global replacements, including info pages.


Using Global Saras you can display the value of some global tokens in PlainQuarkPages, such as the tokens [year] Script Year, [yyyy:now] Year of Now, [ref#] Job/Reference Number. This is useful to be able to apply copyright dates and reference/SKU information to PlainQuarkPages.


You can do razor-sharp replacements in a single page of the entire output file.


The disadvantage is that you must know which pages contain what. This way of using Saras is complementary with the use of Saras as DiaryGridLine properties.


Note that saras belonging to a DiaryGridLine will be executed before Saras applied to a Diary Output File.

Topic 104250 updated on 10-Sep-2018.
Topic URL: