Skip to main content
October 25, 2007
해결됨

Available Conditional Build Tag Expressions

  • October 25, 2007
  • 31 답변들
  • 3122 조회
I'm part of a team that works on a version control project that encompasses content across numerous business lines with a lot of shared content between them. This means that we use conditional tags quite a bit. I'm new to the group and have been playing around with the tags in the topic, previewing it, and then experimenting with different tag expressions to see what is made invisible and what remains.
But now, all of the tag expressions that I defined in the preview window while messing around are still present and I can't remove them. All of the new expressions really crowd out the standard set we use for legitimate testing and I just know this is going to piss my co-workers off.
Please, any help you can provide in undoing the useless clutter I've created would be greatly appreciated.
이 주제는 답변이 닫혔습니다.
최고의 답변: Captiv8r
Hi all

Hopefully Colum will pardon my intrusion into the thread. I believe the expressions that are created are added to the ProjectName.PSS file. One easy way to get at this is to right-click any topic, choose Topic Properties, then the File tab. Now click the Open Folder button. Bingo! You are now in the general area. If your topic is inside a folder, you may need to navigate up the tree once or twice to the root of it. There you should find the PSS file.

Edit the PSS file using Windows Notepad. My expressions were added at the bottom of the file.

Cheers all... Rick

31 답변

Participating Frequently
October 26, 2007
Hi Colum

That's an elegant solution indeed - I'll modify it so it's there but way less obtrusive. Gives me the best of both worlds, and I am very grateful.

Robin
RoboColum_n_
Legend
October 26, 2007
Hi Robin. You seem to be referring to the cross hatch that appears over text that has a build tag applied to it. Right? You can amend the colour of this cross hatch to be the same as your background. Go into your build tag folder and edit the properties.
June 11, 2008
quote:

Originally posted by: Colum McAndrew
Hi Robin. You seem to be referring to the cross hatch that appears over text that has a build tag applied to it. Right? You can amend the colour of this cross hatch to be the same as your background. Go into your build tag folder and edit the properties.


Hi Colum,

Thanks for the idea! I tried this today. Unfortunately, I liked it only up to a point. If I only apply one conditional build tag to my text, this works beautifully. However, if I apply multiple build tags to the same text, then the black cross-hatch (AKA "hash marks") that indicate that "there are mulitple build tags here" will still appear over my text.

~Sigh.~ It was a great idea, but for me, in almost all of the places where I apply build tags, I will apply more than one to any given text.

Marjorie

Participating Frequently
October 26, 2007
Hi Colum

Not quite. I just want to stop showing the tag in the WYSIWIG view. Not to remove text or remove the tag, but make it more readable while I regvise the topic. The finctionality was in RH5, and the menu option has not changed, so I'm puzzled.

Robin
RoboColum_n_
Legend
October 26, 2007
Sorry I may not have been clear - not for the first time! If you go into this dialog and remove the tag from the "exclude" column, the "NOT xxxx" tag is removed from the drop down list. Does this explain things better?
Captiv8r
Captiv8r답변
Legend
October 26, 2007
Hi all

Hopefully Colum will pardon my intrusion into the thread. I believe the expressions that are created are added to the ProjectName.PSS file. One easy way to get at this is to right-click any topic, choose Topic Properties, then the File tab. Now click the Open Folder button. Bingo! You are now in the general area. If your topic is inside a folder, you may need to navigate up the tree once or twice to the root of it. There you should find the PSS file.

Edit the PSS file using Windows Notepad. My expressions were added at the bottom of the file.

Cheers all... Rick
October 26, 2007
quote:

Originally posted by: Captiv8r
Hi all

Hopefully Colum will pardon my intrusion into the thread. I believe the expressions that are created are added to the ProjectName.PSS file. One easy way to get at this is to right-click any topic, choose Topic Properties, then the File tab. Now click the Open Folder button. Bingo! You are now in the general area. If your topic is inside a folder, you may need to navigate up the tree once or twice to the root of it. There you should find the PSS file.

Edit the PSS file using Windows Notepad. My expressions were added at the bottom of the file.

Cheers all... Rick

Brilliant!
That's where those nasty guys were hiding. Now I can play around with the tag expressions without worry.

Out of curiousity though, where are all of the other expressions listed in that drop-down hiding? The PSS file only housed the ones I had added.
RoboColum_n_
Legend
October 26, 2007
Hi RValk. There is no way to hide a build tag from a project or the menu item to apply/remove them. If you remove a build tag from a project, it also removes all references to it in the topics. Is that what you meant?
RoboColum_n_
Legend
October 26, 2007
Indeed it does raynerts. If you select one of the build expressions in the topic preview, click on the "Define" button and exclude the tag from the output. Click OK and it disappears. You'll need to repeat this for each one.
October 26, 2007
Okay, we're almost there, Colum. The process you describe is exactly what I was doing before I posted to this forum. However, after defining a bunch of expressions to see how they changed the appearance of the content, they became part of that drop-down menu. I don't want them to be part of the drop-down menu... they were just experiments. And now they're crowding out the real expressions the rest of my team uses.
Participating Frequently
October 26, 2007
Colum

I chanced upon this because I seem to have the other problem you alluded to in your response. I wish to temporarily hide the tagging of text from my project, and the menu command which normally does this: View/Show, then uncheck the conditional areas check box fails to do this. Any suggestions. Does 6 have a way of protecting Tags?
RoboColum_n_
Legend
October 26, 2007
Hi raynerts and welcome to the RH community. Where exactly do the build tags remain? In the topics? In the Conditional Build Tags folder? If the later, open up your project's rhbuildtag.apj file in notepad - take a backup first - and remove the tags there.
October 26, 2007
Hi Colum, thanks for your response.
The file you directed me to has in it the tags we use throughout our project - which is cool - but the problem I'm having isn't with the tags that are defined in the "Conditional Build Tags" folder in the Project Manager, it's with items in the "Conditional Build Tag Expression" drop-down when you preview a topic.
Let me try restating my problem... hopefully that will make the issue clear:
I select a topic, I then view the selected topic using the glasses icon (CTRL+W), then at the top of the new window that's displaying my topic is a drop-down menu. This drop-down menu allows me to choose the conditional build tag expressions I want to filter the content displayed. For example, one of the choices is "NOT Tag_A AND NOT Tag_B" which excludes anything marked with Tag_A and Tag_B. The problem is, in that drop-down, I now have like 20 choices of expressions. Before I started experimenting with the various expressions (by clicking the "Define" button to the right of the drop-down), there were only 6 choices. And I'd like to get it back to the original 6 choices.
I didn't add any new tags, I just created new combinations of ways to preview the content using those existing tags.

Does that explain my problem any better?

Thanks!