2 Replies Latest reply: Jan 29, 2013 3:01 PM by Vijay Nimmakuri RSS

    How can we get the context of the present configuration

    Vijay Nimmakuri
      Hi,

      How can we get the context of the present configuration. which library i need to import.
      I am using as below but not sure how to declare a local variable an which library to include.

      Context = irn.getConfiguration().getContext();

      My model is in below structure. So i want to init the session for reference model SLSPC-MODEL.
      - PC-MODEL (which is populated from BOM)
      -- OptionClass1
      ----Option1
      ----Option2
      ----Option3
      -- OptionClass2
      ----Option4
      ----Option5
      ----Option6
      - SLSPC-MODEL (Which is a reference model)
      -- OptionClass1
      ----Option1
      ----Option2
      ----Optionv
      ----Optionb
      ----Optionn
      -- OptionClass2
      ----Option4
      ----Option5
      ----Optionv
      ----Optionb
      ----Optionn

      Can i use the event PostConfiginit ?

      Please let me know your valuable inputs.

      Regards,
      Vijay