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.
2 replies Latest Post - ‏2013-10-30T08:13:40Z by Adamarla
Adamarla
Adamarla
75 Posts
ACCEPTED ANSWER

Pinned topic preloadedView

‏2013-10-29T16:50:15Z |

Anybody have any idea what these do:

bool setPreloadedView(ViewDef view, string name)

string preloadedView(ViewDef view)

The help says they set or get the preloaded view name for the specified ViewDef view.

But what does that mean?

-Adam

Updated on 2013-10-30T08:14:30Z at 2013-10-30T08:14:30Z by Adamarla
  • llandale
    llandale
    2943 Posts
    ACCEPTED ANSWER

    Re: preloadedView

    ‏2013-10-29T18:59:53Z  in response to Adamarla

    You can say your new view V2 relies on the settings of existing view V1.  Internally, "V2" is stored as "use V1 with these specific changes..".  So if you do not specify "Columns" in V2 it will get whatever columns V1 has when the view is loaded.  so if you change the columns of V1 you also change those of v2.

    So create "Verification View" with a specific set of columns.  Then create "Verification Done" based on "Verifiation View" but filtering for requirements that have status "Done".  Then create "Verification Pending" filtered for those Pending.  When you adjust the columns of the original view, those changes get to the other views.

    I'd guess that "preLoaded" just meand it loads the base view (without displaying it), THEN applies the loaded views differences.

    -Louie

    • Adamarla
      Adamarla
      75 Posts
      ACCEPTED ANSWER

      Re: preloadedView

      ‏2013-10-30T08:13:40Z  in response to llandale

      OK, thanks.

      I figured it was something other that inherited views as other functions acting on them are named with 'inherit'

       

      canInheritView 

       

      clearInvalidInheritanceOf 

       

      invalidInheritedView