Skip to main content

KI-61

Deselecting default user language in MCM advanced search throws component exception

Key/Summary

KI-61 Deselecting default user language in MCM advanced search throws component exception

Status

Done

Created

06/08/2021

Updated

02/10/2022

Description

When a user has a MCM Default Language set and tries to remove the preselected language from the Advanced document search, an error occurs.

A hotfix for this known issue was issued. For more information about Release notes hotfixes.

Impacted Capabilities

Content Management

Affected Apps

Medical Information Cloud - Lightning

Affects Versions

MIC V10.0.1

Fix Version

MIC V10.0.2

Steps to Reproduce

  1. Verify that the user you are logged in as has a MCM Default Language set. To check: .

    1. Click your user avatar in the upper right corner, and then click 'Settings'.

    2. In the Quick Find box, search for and select 'Advanced User Details'.

    3. Verify that a language is selected for the MCM Default Language field.

    4. If no language is selected, select a language, and save the modified record.

  2. Navigate to the Documents tab of the MCM console. 3. Click in the documents Search bar, and then click the 'Advanced' search tab.

  3. Remove the preselected language. An Error window opens.

Workaround

There are two ways to remove the MCM Default Language value for all users and prevent this error:

Option 1: Administrator action

There are two ways to remove the MCM Default Language value for all users and prevent this error:

  1. Use the Data Loader to export all users that have a MCM Default Language configured. In Step 2 of the Data Loader wizard, select the User sObject, and in Step 3, enter this SOQL query: Select Id, mvn__CM_Default_Language__c FROM User WHERE mvn__CM_Default_Language__c != null

  2. Open the spreadsheet that downloaded, and remove all values from the mvn__CM_Default_Language__c column. Save the modified file.

  3. Use the Data Loader to upload the modified file. For more information on the Salesforce data loader, see https://help.salesforce.com/articleView?id=sf.data_loader.htm&type=5.

Option 2: Individual user action

Users can remove their MCM Default Language.

  1. Click the user avatar in the upper right corner, and then click 'Settings'.

  2. In the Quick Find box, search for and select 'Advanced User Details'.

  3. Click 'Edit'.

  4. In the MCM Default Language field, select 'None'.

  5. Click 'Save'.