Can links in one project function for multiple target projects?
Moderators: Alexander Halser, Tim Green
Can links in one project function for multiple target projects?
We usually include a common "sub-project" when we publish projects in different languages, i.e. both A and B include project C at publication. Projects A and B have identical XML topic files, except for the body texts which are in different languages. The topic links in Project C go to Project A. Is there a way to make topic links in Project C work to both Project A and Project B?
- Tim Green
- Site Admin
- Posts: 7818
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Can links in one project function for multiple target projects?
The links are routed through the project names at design and compile time, so the simplest way to manage this is with conditional text build options -- this is exactly the kind of situation they are designed for.
What you do is define a single build option in Configuration > Common > Custom Builds. Let's call it PROJA. Then wherever you have a link, you use the conditional text tool to make one link for Project A and one for Project B, usin an IF/THEN/ELSE structure like this.
[IF_PROJA>LinkToA[ELSE>LinkToB<END]
Then when you publish, you activate the PROJA build option in the Publish screen when you are including Project A, and disable it when you are publishing with Project B.
What you do is define a single build option in Configuration > Common > Custom Builds. Let's call it PROJA. Then wherever you have a link, you use the conditional text tool to make one link for Project A and one for Project B, usin an IF/THEN/ELSE structure like this.
[IF_PROJA>LinkToA[ELSE>LinkToB<END]
Then when you publish, you activate the PROJA build option in the Publish screen when you are including Project A, and disable it when you are publishing with Project B.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Re: Can links in one project function for multiple target projects?
Thanks, I'll try that.