Apply concept to a group rather than individual topics?

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.

Apply concept to a group rather than individual topics?

Postby straygoat on Mon Aug 06, 2012 3:52 am

Hello all,

I'm trying to add search filters to a help system I have just created (from a chm). It is a large system and I wondered if there is any way of applying a concept to a content folder so that all of the topics in that folder will inherit it? That would save me a LOT of time...from reading the help, it seems that I will have to add a concept to each topic. Please tell me that isn't the only way as there are 1000s of topics.
Craig Wright
Freelance Technical Author and SEO Copywriter
Midlands, UK
http://www.straygoat-technicalauthor.co.uk
straygoat
Sr. Propeller Head
 
Posts: 153
Joined: Wed Apr 04, 2012 3:39 am
Location: The Midlands, UK.

Re: Apply concept to a group rather than individual topics?

Postby Nita Beck on Mon Aug 06, 2012 6:26 am

The best idea I can think of is to use the Find and Replace feature to insert the bit of concept term's code directly into the files in the folder. For this approach, I've assumed you've put your concept terms in the first heading of your topics.

BEFORE YOU TRY THIS APPROACH, it's prudent to make a backup of your project, in case something goes amiss.

First locate a topic into which you've already entered the concept term and open it in the internal text editor. You should see something like this:

Code: Select all
     <h1>
          <MadCap:concept term="Your Concept Term Here" />   


Copy the bit of code from the "<Madcap" to the "/>".

Now open the Find and Replace window. In the Find what field, type <h1> (or whatever the heading is you've used). In the Replace with field, type <h1> and then paste the code you copied earlier. Under Options, set the Find in option to "documents in the same folder." Make sure that the Find in source code check box is selected. Now you're ready. Click Start, and Flare will find the first hit and you're set to go.

BTW, because you already had applied the concept term to the topic you copied from, you'll now have a duplicate in that topic and will need to delete it. And if you had previously applied the concept term to anything else in the folder, those will have duplicates, too.

I hope this gives you an idea to try.
Nita
Image
Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Nita Beck
Senior Propellus Maximus
 
Posts: 3290
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Apply concept to a group rather than individual topics?

Postby straygoat on Tue Aug 07, 2012 3:28 am

Thanks Nita. I will give that a go.
Craig Wright
Freelance Technical Author and SEO Copywriter
Midlands, UK
http://www.straygoat-technicalauthor.co.uk
straygoat
Sr. Propeller Head
 
Posts: 153
Joined: Wed Apr 04, 2012 3:39 am
Location: The Midlands, UK.

Re: Apply concept to a group rather than individual topics?

Postby Paul Griffiths on Wed Aug 08, 2012 5:41 am

This should also work:

Open the Concept Window (View > Concept Window).

Right click on the root of the Concepts tree (usually displayed in the lower half of the window) and select Add Concept.

A default "New Term" entry is addded to the tree; rename this as required for your search filter.

Right click on the new search filter term and select Assign Topic.

A Link to Topic dialog box opens. By default, the dialog box shows the folder view of the Contents folder.

Click the Show Files button in the dialog box's toolbar to show the files within each folder.

You can now use Ctrl+Click and Shift+Click in the usual way to select multiple topics.

Click Open to apply the term to all the selected topics at once.
Paul Griffiths
Sr. Propeller Head
 
Posts: 244
Joined: Wed Apr 18, 2007 2:25 am
Location: Nottingham, UK

Re: Apply concept to a group rather than individual topics?

Postby straygoat on Wed Aug 08, 2012 5:56 am

Nice one, Paul. That looks a more foolproof way of doing it...just what I need.
Craig Wright
Freelance Technical Author and SEO Copywriter
Midlands, UK
http://www.straygoat-technicalauthor.co.uk
straygoat
Sr. Propeller Head
 
Posts: 153
Joined: Wed Apr 04, 2012 3:39 am
Location: The Midlands, UK.

Re: Apply concept to a group rather than individual topics?

Postby Nita Beck on Wed Aug 08, 2012 6:05 am

Very smart, Paul! Before I replied to the original post, I had tried to use this technique directly in the Content Explorer and was unable to get it to work for concept terms. Never occurred to me that I should try it from the Link to Topic dialog while adding a concept link. Definitely this is the better approach. Of course, what if one didn't need to create a new concept term but was wanting only to apply an existing one to multiple topics? I'll have to go check that out...
Nita
Image
Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Nita Beck
Senior Propellus Maximus
 
Posts: 3290
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Apply concept to a group rather than individual topics?

Postby skalgutkar on Fri Feb 15, 2019 9:32 am

Thank you, Paul! Your solution helped me save a lot of effort.
skalgutkar
Jr. Propeller Head
 
Posts: 6
Joined: Thu Jul 12, 2018 8:07 am

Re: Apply concept to a group rather than individual topics?

Postby ChoccieMuffin on Mon Feb 18, 2019 4:00 am

Please excuse a very silly question, but what is a "concept" and when might it be useful to have them?
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2149
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Apply concept to a group rather than individual topics?

Postby Dave Lee on Mon Feb 18, 2019 4:05 am

ChoccieMuffin wrote:Please excuse a very silly question, but what is a "concept" and when might it be useful to have them?


You'd use concepts with a search filter (i.e. filter results to show topics with a particular concept), or a Concept Link which builds a list of links to topics that have a particular concept marker.
Dave Lee
Master Propellus Maximus
 
Posts: 5657
Joined: Mon Mar 05, 2007 8:33 am
Location: UK

Re: Apply concept to a group rather than individual topics?

Postby ChoccieMuffin on Mon Feb 18, 2019 4:44 am

Dave Lee wrote:You'd use concepts with a search filter (i.e. filter results to show topics with a particular concept), or a Concept Link which builds a list of links to topics that have a particular concept marker.

Thanks, Dave!
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2149
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK


Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest