Purging FM files of conditional expressions

As you've probably all seen, Framemaker 8 caches every (or at least the most recent few) conditional expression you create for a book. These expressions populate a dropdown list in the show/hide conditionals dialog box and just generally take up space and confuse people. I'd like to get rid of them- I know that they are stored at the very end of the chapter .FM files and book file, but I was hoping someone would know an easier way to get rid of them than opening each .FM file in notepad and scooping them out.
Thanks!

You might want to have a look at ElectroPubs CleanImport utility (http://www.electropubs.com/ez_cleanimport3.html ). This will purge all specified components prior to importing new ones from a template.
Caveat: With conditional text, any conditonally tagged text that is hidden when a tag is deleted, will get wiped from the document. So you have to make certain that all tags are showing prior to import.

Similar Messages

  • Mifwash loses names of boolean conditional expression

    (FM10 on Win7x64)
    Before a mifwash, boolean expressions for conditional tags are named as: Name1, Name2, Name3.
    After the mifwash, those expressions are named Default Expression, Default Expression1 and Default Expression2.
    A quick check of the mif file shows Name1, Name2, Name3, not Default Expression, Default Expression1 or , Default Expression2.
    What am I missing?

    More detail:  the mif contains the correct names of the conditional expressions: Name1, Name2 and Name3.
    And the mif does not contain Default Expression, Default Expression1 or Default Expression2.
    Doh!
    Edit:  FM11 behaves as expected. The names of the boolean expressions in the MIF appear in the GUI and "Default Expression" does not appear.
    Now I gotta considering upgrading to FM11.

  • Purge orphaned files?

    Does anybody happen to have a decent automatic solution to purging orphaned files under Yosemite?  I've got Onyx, but unless I know what I'm looking for, I don't know what to purge.  I'm 100% certain that I've got at least *some* cruft built up since Lion,  I'm hoping for a free/low cost option, if possible.

    What is the status of Migration?
    Cheers,
    Gulab Prasad,
    Technology Consultant
    Blog:
    www.exchangeranger.com 
    Twitter:   
    LinkedIn:   
    Check out CodeTwo’s tools for Exchange admins   
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Hi, I have an iphone 3GS from HK. After upgrading to 4.3.3 from 4.3.2 as prompted by itunes on May 10, 2011 my entire contact in my iphone was wiped out! When I checked my backup file in Outlook Express it was also wiped out!!! What can I do now?

    Hi, I have an iphone 3GS purchased in HK. After upgrading to 4.3.3 from 4.3.2 as prompted by itunes on May 10, 2011 my entire contact in my iphone was wiped out. When I checked my backed up file in Outlook Express, it was also wiped out during the synchronization. I tried to restore from backup on iTunes but still, the contact was not there anymore. I have contacted your HK Apple Hotline and talked to a technical support called TIMMY LO, he said there is nothing to do with them and he refused to provide any support to recover my contact, he even said I should try to pay extra money to 3rd party supplier and see what they can do to my iphone, despite the fact that this could be caused by the pre-mature release of 4.3.3 when a bug still hasn't been fixed. I am very disappointed at Apple's service, especially considering that I have been a loyal customer of iphone / ipod touch in the past few years. I need an official reply from Apple on this! How can Apple be so irresponsible to their own firmware failure??

    Hi, I have an iphone 3GS purchased in HK. After upgrading to 4.3.3 from 4.3.2 as prompted by itunes on May 10, 2011 my entire contact in my iphone was wiped out. When I checked my backed up file in Outlook Express, it was also wiped out during the synchronization. I tried to restore from backup on iTunes but still, the contact was not there anymore. I have contacted your HK Apple Hotline and talked to a technical support called TIMMY LO, he said there is nothing to do with them and he refused to provide any support to recover my contact, he even said I should try to pay extra money to 3rd party supplier and see what they can do to my iphone, despite the fact that this could be caused by the pre-mature release of 4.3.3 when a bug still hasn't been fixed. I am very disappointed at Apple's service, especially considering that I have been a loyal customer of iphone / ipod touch in the past few years. I need an official reply from Apple on this! How can Apple be so irresponsible to their own firmware failure??

  • I lost a really important file (an iText Express document) randomly and then one day, a "recovered file" folder popped up and I assume it has to do with that, but the file just contains a doc with a bunch of coding. What do I do with that? HELP!!!

    As the title question states, I lost a really important file with iText Express. I've been using iText Express for a year or two now because it's just the one application I downloaded for writing and saving documents. I was working on one for a few months and randomly one day last month, when I went to open it to resume editing my work, the file was gone! I searched my whole laptop and trash. Then one day, a "Recovered Files" folder popped up in the area my file used to be, so I assumed that was the file I lost being recovered and I felt relieved. But when I opened the folder, the document inside was a "SoftwareMap" document with a bunch of coding written in it. I don't understand what I'm supposed to do with that or how it's going to help me recover my file?!? I lost SO much work!!! If anyone has ANY idea what to do, how this happened, or if the coding is supposed to help me recover my file, PLEASE help!!!

    No, I already tried looking at that. The file that recovered was not in the trash, it appeared in my documents folder. I opened it up and inside was an iText Express document with coding. Then inside of there, was and then and this "SoftwareMap" document contained a bunch of coding and symbols and words.

  • Why does my conditional expression not work?

    I want to increment a global keeping track of how many critcal tests have been run. Usually I just increment it in the post expression of the test. However, if I have a test that loops it would increment on every loop, so I put a conditional expression in the post expression so it only counts once the loop is done:
    RunState.LoopIndex < 10 && RunState.LoopNumPassed < 3 ? FileGlobals.Critical_Test_Count : FileGlobals.Critical_Test_Count++
    However, the false condition in the expression never gets evaluated. I've put watches in to make sure the condition goes false after the last interation of the test and it does. But my global never increments. The true condition is not supposed to modify the variable.
    What am I miss
    ing?

    The reason for this is that the post expression is evaluated before the loop increment expression, so on your last loop the post expression is evaluated (loop count = 9) then the loop increment is evaluated and the loop is terminated. See page 6-26 of the Teststand user manual.
    Hope this helps,
    Nick

  • How to populate an EO Transient variable used in Conditional expression.

    Hi All
    I have a Unique Key Validator which has Conditional Execution in which I am checking for the value of transient variable and based on that value this validator is invoked.
    Problem is :- When this Conditional expression is processed, transient variable is not populated (code to populate it is written in getter method). As a result of which, I am not getting expected results.
    This is my conditional expression :- source.<Transient_variable> = <some value>
    I tried by replacing this expression as :- adf.object.getterMethod = <some value> , but that gave me the prototype not found error (method is present in EOImpl.java).
    How can I populate this transient variable before it is evaluated in conditional expression???
    Suggestions are welcomed!!!
    Thanks
    Nitin

    Just to explain
    Both adf.object.methodName and source.methodName are used to access EntityImpl methods. Difference is
    adf.object.methodName - used while defaulting the values of attributes
    source.methodName - used in validation expression and raising error messages/warning.
    Thanks
    Nitin

  • How to repair damaged DBX file of outlook express?

    I am currently having 4 GB data available in inbox.dbx. But there is one problem with that. I am not able to see my mails as header corrupt the dbx files. This is very annoying. I tried many things to solve the problem from my side but it was not helpful
    to me. So I am leaving the question over here so that I can get the response from you people that what should I do to repair the damaged DBX file of outlook express. Thank you so much in advance for reading and replying to this thread.

    The manual solution starts with finding or locating the corrupted DBX file(s). You need to start the Registry
    Editor to find the location where Outlook Express stores its files. Follow the steps given below to know how to do this:
    Press Win+R to open the Run window.
    Type regedit into
    it and press enter.
    The Registry Editor window will be opened. In the left hand side pane, expand the folders in
    this manner:
    HKEY_CURRENT_USER > Identities > XYZ > Software > Microsoft > Outlook
    Express > 5.0
    Now in the right hand side pane, locate the Store Root settings from the list and double-click
    it.
    The path will be shown where Outlook Express stores its files. Copy the full path from there.
    Once you have copied the path, you need to move the mailbox file(s). Follow the steps given below to know
    how to do this:
    First of all close the Outlook Express program if it is opened.
    Now paste the path (copied earlier) on your Windows directory and press enter.
    You can copy or move all the files from this location to a new location. After that, delete all the files from the
    original location if you have copied them.
    In the third step, you need to import the DBX file(s) into Outlook Express. It would be easy for Outlook
    Express to import the file(s) without causing any trouble. Follow the steps given below to know how to do this:
    Start Outlook Express on your system.
    Click on File menu > Import.
    The Outlook Express Import window
    will be opened. Select the Outlook Express version in the list from which you want to import the emails. If you are unsure with that, you can select Outlook Express 6. Click on Next.
    Now click on Browse to select the directory where the files are saved. This is the very same
    directory in which you have moved the files from original location earlier. Click on Next.
    Select the items you want to import. For example: you can import All folders or the Selected
    folders. Click on Next.
    Now start your Outlook Express and check your mailbox folders again.

  • How to extract data from dmp file to oracle express edition database

    Hi,
    I wanted to extract a oracle dump file in oracle express edition database. Is it possible? If yes, then can anyone please guide me how to do it?
    Thanks

    Hi,
    This might help
    Backup/Export Question!
    Br,Jari

  • [svn:fx-trunk] 11530: Fix ASC-3790 ( conditional expression in for loop causes verifier error) r=jodyer

    Revision: 11530
    Author:   [email protected]
    Date:     2009-11-06 13:23:05 -0800 (Fri, 06 Nov 2009)
    Log Message:
    Fix ASC-3790 (conditional expression in for loop causes verifier error) r=jodyer
    Ticket Links:
        http://bugs.adobe.com/jira/browse/ASC-3790
    Modified Paths:
        flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/ConditionalExpressionNode.java

  • Import midi-file to logic express 7

    hi there
    i'm trying to import a midi-file to logic express 7.
    always when i import it, there comes a window with "new smpte-frame rate". when i click ok, it doesn't import anything... what can i do?
    ps: sorry for my english!

    thanks, it works with some midi files. but when i'm saving a file in finale 2007 as a midi file, it doesn't work... i checked the sync prefences and they don't look wrong... it's really strange!

  • SUMIF using OR in the conditional expression

    I understand how to use the SUMIF function using checkboxes in one column for the conditional expression. I do not understand how to use it if I want to use an OR expression to OR various string values.
    I want have a column called "Categories" which have a variety of string values in them like "Club" "Soccer" "School" "Church" "Home". I want to SUMIF the category is "School" or "Home". I wrote out my formula like this:
    =SUMIF(Invitations::Category,OR("School","Home"), Invitations::Total in Party)
    but it doesn't work. Suggestions? Thank!

    Hello
    The OR is the correct operator but, as far as I know, this kind of condition is not allowed.
    Only a single one like "=Home" or like "=church" is allowed.
    I don't know which are the other categories.
    Assuming that they are "smaller than the string "church" you may use:
    =SUMIF(Category,">=church",Total in Party)
    If they are greater than "Home" you may use:
    =SUMIF(Category,"<Home",Total in Party)
    If you want to sum the values whose category matches one of three values, an alternate soluce may be to use an extraneus column (named Aux) whose formula would be
    =OR(Category="church",Category="Home",Category="YK")
    the final formula would be:
    =SUMIF(Aux,TRUE,Total in Party)
    Yvan KOENIG (from FRANCE mercredi 16 janvier 2008 14:08:41)

  • Data Change Condition Expression

    I need to create a product specification that includes dependencies between order components based on a data change notification wait condition
    How do I define the XQuery expression in the "Data Change Condition Expression" field?
    Specifically, I have 4 order components in the product specification that are independent of each other but each order component can only start when a specific data element has a certain value. The data element is at the order level and is not available as an order line item property.
    I would appreciate if someone from Oracle can provide a more detailed explanation of the fields in the "Product Specification Editor Dependencies Subtab" ->"Wait Condition subtab"
    Relative Path
    Data Change Condition Expression
    Thanks,
    ~nagu.
    Edited by: nagu on Dec 2, 2011 5:50 PM

    Provide two pieces of information:
    1. Order Item Property
    2. Boolean XQuery expression returning fn:true() to fire the dependency.
    For example:
    Assume you need to ensure all Provisioining items (From) must have reached the "PRODUCT STARTED" milestone , before the Billing Component Items (To) can start.
    Note From Component is also known as "blocking" while the To Component is known as "Waiter"
    1. Data Change Notification property: milestone
    2. Data Change Condition Expression Xquery:
    declare variable $blockingIndexes as xs:integer* external; (: list of From component items - index :)
    let $expectedMilestoneCode := "PROVISION STARTED"
    (: extract milestones values from all provisioning function items matching the expected milestone value , only for the given From component :)
    let $milestoneValues := /GetOrder.Response/_root/ControlData/Functions/ProvisioningFunction/orderItem/orderItemRef[fn:index-of($blockingIndexes, xs:integer(@referencedIndex)) != 0]/milestone[text() eq $expectedMilestoneCode]
    (: Return true only if ALL the milestones in the From component (ProvisioningFunction/orderItem/orderItemRef) are PROVISION STARTED :)
    return fn:count($milestoneValues) eq fn:count($blockingIndexes)
    Carlos

  • How to search files by wildcard expression

    how to search files by wildcard expression,
    and list all of them?
    for example:
    search file as image*.jpg or ima231*.jpg.
    please give me some code to study.
    thanks in advance.

    following code is a filename filter that support '*' and '?', hope it helps.
    import java.util.*;
    class MyFilenameFilter {
      static public void main(String args[]){
        byte[] in2=new byte[255];
        String filter=null,fileName=null;
        try{
          while(1>0){
            System.out.print("filter (ex: abc*def?.do?):");
            in2=new byte[255];
            System.in.read(in2);
            if((new String(in2)).trim().length()>0) filter=(new String(in2)).trim();  
            System.out.print("filename (ex: abcerdefi.doc):");
            in2=new byte[255];
            System.in.read(in2);
            if((new String(in2)).trim().length()>0) fileName=(new String(in2)).trim();
            System.out.println("filter="+filter+",filename="+fileName+",result="+(chkfn(filter,fileName)? "Matched":"Not Matched"));
        } catch(Exception e){
             e.printStackTrace();
      static boolean chkfn(String chk,String fn)  {//ex:chk=*fg?gh fn=tdiekd.exe, or ex:chk=test.csv fn=k.csv
        boolean rtn=false;
        int x3=0,x4=0,x4Head=0,x4Tail=0;
        if(chk.endsWith(".*") && fn.indexOf(".")==-1) chk=chk.substring(0,chk.length()-2);
        if(chk.endsWith(".") && fn.indexOf(".")==-1) chk=chk.substring(0,chk.length()-1);
        if(fn==null || fn.length()<1) return false;
        if(chk==null) return true;
        if(chk.length()<1 || chk.equals("*") || chk.equals(".") || chk.equals("*.*")) return true;
        int chkLength=chk.length();
        int fnLength=fn.length();
        int newx4Head=-1,newx4Tail=-1;
        int last_asterisk=chk.lastIndexOf("*");
        int first_asterisk=chk.indexOf("*");
        int asteriskCount=0,aindex[]=new int[20],tmp[]=null,index1=-1,cCount=0;
        String cString[]=new String[20];
        chk=chk.toUpperCase();
        fn=fn.toUpperCase();
        char c='0';
        boolean found=false;
        String chkString="";
        //replace each '**' with '*' befroe further action
        while(chk.indexOf("**")!=-1){
          chk=replace(chk,"**","*");
        chkLength=chk.length();
        last_asterisk=chk.lastIndexOf("*");
        first_asterisk=chk.indexOf("*");
        //count the '*' count
        x3=0;
        while(x3<chkLength){
          if(chk.charAt(x3)=='*'){aindex[asteriskCount]=x3; asteriskCount++;}
          x3++;
        //to get the cString[], each string next to '*'
        StringTokenizer st=new StringTokenizer(chk,"*");
        while(st.hasMoreElements()){
          cString[cCount]=st.nextToken(); cCount++;
        //first check the head and the tail
        if(first_asterisk>0){//first_asterisk!=-1 && first_asterisk!=0
           chkString=chk.substring(0,first_asterisk);
           if(chkString.indexOf("?")!=-1){
                 if(fnLength>first_asterisk-1){
                   if(cmp(chkString,fn.substring(0,first_asterisk))==false) return false;
                 } else return false;
           } else if(!fn.startsWith(chkString)) return false;
           x4Head=chkString.length()+1;
        } else if(first_asterisk==0) {
             x4Head=findMatch(cString[0],fn);
             if(x4Head==-1) return false;
        if(last_asterisk!=chkLength-1 && last_asterisk!=-1){
           chkString=chk.substring(last_asterisk+1,chkLength);
           if(chkString.indexOf("?")!=-1){
                 if(fnLength-(chkLength-last_asterisk)+1>-1){
                   if(cmp(chkString,fn.substring(fnLength-(chkLength-last_asterisk)+1,fnLength))==false) return false;
                 } else return false;
           } else if(!fn.endsWith(chkString)) return false;
           x4Tail=fnLength-chkString.length();
        } else if(last_asterisk==chkLength-1) {
             newx4Tail=findMatch(cString[cCount-1],fn.substring(x4Head));
             x4Tail=x4Head+newx4Tail+cString[cCount-1].length();
        if(asteriskCount>1){
          int oldx4Head=x4Head;
          if(last_asterisk!=chkLength-1) {
               if(cString[cCount-2].indexOf("?")==-1){
              x4Tail=fn.substring(x4Head,x4Tail).lastIndexOf(cString[cCount-2]);
              if(x4Tail!=-1) x4Tail=x4Tail+cString[cCount-2].length();
          if(first_asterisk!=0){
            if(cString[1].indexOf("?")==-1){
              x4Head=fn.substring(x4Head).indexOf(cString[1]);
              if(x4Head!=-1) x4Head=oldx4Head+x4Head;
          //before of this, x4head and x4tail are adjusted according to '*', and now it will also adjusted according to '?'
          if(x4Head>-1 && x4Tail>x4Head &&
             chk.substring(aindex[0]+1,aindex[asteriskCount-1]).indexOf("*")==-1 &&
             chk.substring(aindex[0]+1,aindex[asteriskCount-1]).length()!=x4Tail-x4Head &&
             chk.substring(aindex[0]+1,aindex[asteriskCount-1]).indexOf("?")!=-1){
               newx4Head=-1;
               newx4Head=findMatch(chk.substring(aindex[0]+1,aindex[asteriskCount-1]),fn.substring(x4Head,x4Tail));
               if(newx4Head>-1) {
                 x4Head=x4Head+newx4Head;
                 x4Tail=x4Head+aindex[asteriskCount-1]-(aindex[0]+1);
          if(x4Head>-1 && x4Tail>x4Head) return chkfn(chk.substring(aindex[0]+1,aindex[asteriskCount-1]),fn.substring(x4Head,x4Tail));
          else return false;
        } else if(asteriskCount==0){
              if(fnLength==chkLength) return cmp(chk,fn);
                else return false;
        return true;
      static public boolean cmp(String chkString,String fnString){//1.no '*', 2.only for two strings having same length 3.two  strings are uppercase before call this method
        boolean rtn=false;
        int clength=chkString.length(),flength=fnString.length();
        if(clength!=flength) return false;
        for(int i=0;i<clength;i++){
          if(chkString.charAt(i)!='?' && chkString.charAt(i)!=fnString.charAt(i)) return false;
        return true;
      static public int findMatch(String chkString,String fnString){//to find out the correct index postion for the string between two '*'
        int rtn=-1;
        boolean found=false;
        int chkLength=chkString.length();
        int fnLength=fnString.length();
        if(chkLength>fnLength) return -1;
        for(int i=0;i<fnLength-chkLength+1;i++){
          found=true;
          for(int j=0;j<chkLength;j++){
            if(chkString.charAt(j)!='?' && chkString.charAt(j)!=fnString.charAt(j+i)) {found=false; break;}
          if(found) return i;
        return rtn;
      public static String replace(String s, String s1, String s2) {
          if(s!=null && s1!=null && s2!=null){
            int i = 0;
            int j = s.length();
            int k = s1.length();
            int l = s2.length();
            do {
                String s3 = "";
                i = s.indexOf(s1, i);
                if(i == -1)
                    break;
                StringBuffer stringbuffer = new StringBuffer(s.substring(0, i));
                s3 = s.substring(i + k);
                stringbuffer.append(s2).append(s3);
                s = stringbuffer.toString();
                j = s.length();
                i += l;
            } while(i <= j);
          return s;
    }

  • How to retrieve all external refereces in a frame maker file without conditional text of hidden

    How to retrieve all external refereces in a frame maker file without conditional text of hidden

    Hi,<br />Finally I found the solution of the above problem.<br />Use following interface-function combination.<br />///////////code start<br />UIDList lst = Utils<IInCopyWorkFlowUtils>()->GetInCopyStories(doc);<br />for(int32 index = 0;index < lst.Length();index++)<br />{<br /><br />UIDRef incopyStory = Utils<IInCopyWorkFlowUtils>()->GetContainingInCopyStory(lst.GetRef(index));<br />if(incopyStory == UIDRef::gNull)<br />{<br />                                             break;<br />}<br />IDataLink * dLink = Utils<IInCopyBridgeUtils>()->QueryDataLink(incopyStory);<br />if(dLink == nil)<br />{<br />     break;<br />}<br />}<br />//////code end

Maybe you are looking for

  • Standard Function  modules for t-codes FBV3 and FB03

    Dear SDN Community,   Can you please tell me what are the standard function module that I should use to simulate the following transaction codes from Web. FBV3- Display Parked document FB03 - Display posted document Thanks! Surya.

  • Table - How to get even column widths automatically

    Hi all: For example, a nested one-row, seven-cell table for a nav bar. Do I have to do a CSS rule? Ever grateful !

  • Differences in OS X Updates

    I was wondering why there are differences in the OS X updates. I saw in several post that if there were issues in the automatic updates downloaded and installed, or the single standalone updates installed such as OS X 10.4.9(Intel), that it was recom

  • GREP Oddity

    Every time a GREP doesn't work as expected, it is an oddity until someone who knows explains. Here's what I had set up for a GREP style. I have a character style named AllSmallCaps which simply assigns the AllSmallCaps Open Type feature to the text.

  • How can upgrade the support pack?

    hi all I was download some file as *.SAR but I don;t know how can I upgrade it? and how can I check the version in my SAP and what impact info after upgrade the new support package? (e.g. in web..etc.) thanks very much Regards Kevin