Using multiple tabs in the ItemManager

I’ve been trying to add multiple tabs to an item in the management client. According to the documentation, I should override the GenerateDetailUserControlList() method in the ItemManager class and have it return a list of DetailedUserControl objects. I have done that, but no additional tabs appear when I open the item in the management client. I added some breakpoints and it turns out GenerateDetailUserControlList() is never called.

What do I need to do to make it work? I had a look through the samples, but I couldn’t find any that uses GenerateDetailUserControlList.

A guess of what might be the issue.

If you have a GenerateDetailUserControl() that does not return null, then GenerateDetailUserControlList() is never called.

Thanks. That was it.

The documentation is a bit confusing. It says the following for GenerateDetailUserControlList():

"Generate a list of extra UserControls for configuring more pages of information this ItemManager manages.

Note that this list is additional to the one returned by GenerateDetailUserControl."

I took this to mean that GenerateDetailUserControl() should return the contents of the first tab and the subsequent tabs should be returned by GenerateDetailUserControlList().

Thank you for the comment. We agree at Milestone and must admit the documentation is confusing or even misleading, we will correct the documentation (for MIP SDK 2018R3).