Using a script to display product-specific content
Dear RH experts,
I'm creating an HTML5 Help system for a web-based software application that has two versions: Cloud and On-premise. The Help systems will have some shared content and some product-specific content. I could set conditions on the topics and generate two separate Help systems. But my developers would like a more elegant solution. They don't want duplicated content. Instead, they want a single output, and they want to use scripts and tags in topics to identify content that should be displayed or hidden dynamically, depending on the product version. The script would run when the Help system is launched, and the appropriate content would be displayed based on the tags.
Does anyone know how to do this?
Would this have any implications for Search? For example, would search results include items that are hidden based on tags and scripts?
Thank you!
-Kate
Environment:
RH 2015 on Windows 7
Content in FrameMaker
