Apply condition to part of the drop-down

This forum is for all Flare issues not related to any of the other categories.
Post Reply
deeptikorwar
Sr. Propeller Head
Posts: 111
Joined: Tue Aug 20, 2013 11:38 pm

Apply condition to part of the drop-down

Post by deeptikorwar »

Hi,

Is it possible to conditionalise part of the drop-down heading?

I need to prepare two targets with different condition headings. For example, in Output A, the drop-down heading would be ABC Tabs and in Output B, the drop-down heading would be ABC Sections. Is there a way I can conditionalise Tabs and Sections and use the same drop-down?

I selected a part of the drop-down heading > right-click > Conditions > ConditionA. There are no build issues, but the heading is skewed in the output.

Thanks,
Deepti
s909
Propeller Head
Posts: 26
Joined: Mon Jan 18, 2016 11:19 pm

Re: Apply condition to part of the drop-down

Post by s909 »

Yeh you can, though I think sometimes an extra empty <MadCap:dropDownHotspot> tag is added that causes the title to lose its formatting - is this the problem you're having? If so, try deleting this empty tag to see if it fixes it.
deeptikorwar
Sr. Propeller Head
Posts: 111
Joined: Tue Aug 20, 2013 11:38 pm

Re: Apply condition to part of the drop-down

Post by deeptikorwar »

Yes. That is the problem :)

This the code in the Text editor. There is no empty tag.

Code: Select all

            <MadCap:dropDownHead>
                <MadCap:dropDownHotspot>(This is the </MadCap:dropDownHotspot>
                <MadCap:conditionalText MadCap:conditions="GuideType.Gen4">
                    <MadCap:dropDownHotspot>Drop-down</MadCap:dropDownHotspot>
                </MadCap:conditionalText>
                <MadCap:dropDownHotspot> Hotspot)</MadCap:dropDownHotspot>
            </MadCap:dropDownHead>
P.S: I am using Flare 12/64.

Thanks,
Deepti
deeptikorwar
Sr. Propeller Head
Posts: 111
Joined: Tue Aug 20, 2013 11:38 pm

Re: Apply condition to part of the drop-down

Post by deeptikorwar »

Hi,

If anyone else is facing the same issue, the issue can be overcome by using generic style classes. Set the condition within the style class and the select part of the drop-down heading and apply the generic style class.

Thanks,
Deepti
Post Reply