Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. I created a webskin called webtopOverviewTabRelated.cfm and put it in /webskin/types,
  2. looped over application.stCOAPI[stObj.typename].aJoins to get all the relationships that the type is a part of,
  3. used application.fapi.getContentObjects() to retrieve content have with one of those relationships with this object (with some deduping in the process),
  4. then outputed that content using the librarySelect webskin (the webskin used in library pickers)

These custom tabs are only loaded when a user clicks on them, via AJAX, which means that this all of this is only executed and rendered if the user is actually interested.

...