MpUserXManagerUI import File list

Hello,
i have problem with array in MpUserXManagerUI import file list. List is starting at second place of array. It shows both files, nothing is missing.

I have same problem with roles list:


Do anyone knows how to fix that? Thank you!

This is intentional and documented in the help.

SelectedIndex
Index of the currently selected file. No file is selected with index 0, or the name was specified manually via “FileName” in MpUserXMgrUIImportDlgType.

With 1, the first file is selected under “FileNames”. This allows a total of 4 files to be displayed under “FileNames”. The name of the selected file is specified in “FileName” of MpUserXMgrUIImportDlgType.

Automation Help: MpUserXMgrlUIImportListType

And the same for the Role list.

The role at index 0 always remains empty. The reason for this is that if new users are created without defining a role, “No role” (Index 0) is used

Automation Help: MpUserXMgrUIRoleListType

2 Likes

I marked answer from @tommi.piiparinen as a solution on your original question. But feel free to change it @rudolf.sila :slight_smile:

1 Like