Page 1 of 1

Validation scenario - editor variables

Posted: Mon Aug 24, 2009 6:37 pm
by honyk
Hello,

it would be nice to add to the available editor variables something like ${currentFileUpperFolders} to build URL of validation unit. We have many branches of our documentation. The master document is composed from many partial documents placed in multi-level hierarchy. It prevents us to use relative paths as each document in different directory level would require different scenario (master is placed in top level). We use absolute paths which solve this, but it works for individual branch only. Annoying step of creating the new scenario for each branch could be eliminated if there would be possible to use new variable, which would search each upper folder till specified document is found. Is something like this posible? Or is there another way how to achieve this?

Jan

Re: Validation scenario - editor variables

Posted: Tue Aug 25, 2009 12:36 pm
by sorin_ristache
Hello,

You should create an Oxygen project in the Project view, add all folders of a branch to the project and create a scenario that uses a path based on the editor variable ${pdu} (project directory as URL) for the validation unit, for example ${pdu}/parent/of/master. Save the .xpr project file in the branch folder and use the same project file with all branches.


Regards,
Sorin