I was wondering if there is a "best practice" for making data common between modules.
For example, I have a module that, when in a content-pane context
displays a bunch of links that are a detailed view of each item. I
also use the same module in a right-side bar that is context-sensitive,
that is it will display links appropriate only for the current page.
Those links should link to the same details as the main content pane
page. I was creating the links using the NavigateURL function, but
since the TabID changes, in the right toolbar form its trying to open
the detail control *under the current tab*.
If I hardcode the TabID in the module code I can tell that it works correctly. Obviously, though, this isnt the ideal solution.
What *would* be the ideal solution? Should I add a setting to the module to point at the TabID that holds the original data?