Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2013-02-22T23:53:56Z by Lee Wei
SystemAdmin
SystemAdmin
757 Posts
ACCEPTED ANSWER

Pinned topic Ad-Hoc CVE to Fixlet Wizard

‏2013-02-21T16:39:22Z |
I'm creating an "Ad-Hoc CVE to Fixlet Wizard" that will take a list of CVE's and display the corresponding fixlets. The trouble im having is bringing up the fixlets, in the "Ad-Hoc Computer Group Wizard" it uses OpenComputerGroup(ids); to open the console window with the computer names, is there a function to open a list of fixlets ?
Updated on 2013-02-22T23:53:56Z at 2013-02-22T23:53:56Z by Lee Wei
  • Lee Wei
    Lee Wei
    143 Posts
    ACCEPTED ANSWER

    Re: Ad-Hoc CVE to Fixlet Wizard

    ‏2013-02-21T16:58:32Z  in response to SystemAdmin
    No direct equivalent that I can see.
    I wonder if the OpenFindDialog() function might give you what you need. I have not used it before.

    OpenFindDialog

    The OpenFindDialog function causes the search UI dialog to pop up, and returns the id of the filter that the user selects, edits, or creates using that UI. The function takes two parameters. The first parameter is the name of the type of object to be filtered. This must be one of the following strings: "Fixlet", "Task", "Baseline", "Analysis", "Computer Group Search", "Computer", "Action", "User", or "Unmanaged Asset". The second parameter is the id of the filter that should be initially selected in the UI, or 0. If it is 0, then the default "<Search Filter>" is selected. Here is an example:

    var ids = EvaluateRelevance("ids of bes filters whose (fixlet flag of it)");
    var newid = external.OpenFindDialog( "Fixlet", ids[0] );
    var rel = "html concatenation of divs of links of elements of fixlet set of bes filter " + newid;
    FixletList.innerHTML = EvaluateRelevace( rel );
    • SystemAdmin
      SystemAdmin
      757 Posts
      ACCEPTED ANSWER

      Re: Ad-Hoc CVE to Fixlet Wizard

      ‏2013-02-22T20:52:10Z  in response to Lee Wei
      That seems promising but I can only seem to get 1 value into the Find dialog, Is there a way to import a custom filter, that would solve my current issue
      • Lee Wei
        Lee Wei
        143 Posts
        ACCEPTED ANSWER

        Re: Ad-Hoc CVE to Fixlet Wizard

        ‏2013-02-22T23:53:56Z  in response to SystemAdmin
        I am completely clueless and not ventured into this area.
        From the looks of it, you can create a filter in the Console, with many different properties, sort of key/value pairs, then give it a name.
        Now the filter is retrievable via the example code provided by locating it with a name.