Validation scenario - editor variables

Are you missing a feature? Request its implementation here.
honyk
Posts: 176
Joined: Wed Apr 29, 2009 4:55 pm

Validation scenario - editor variables

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Validation scenario - editor variables

Post 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
Post Reply