Question & Answer
Question
"Exception while exporting console preferences. Reason: CTGWA6237W Unable to find View <viewname>"
Answer
This error message indicates that some of the WebGUI/DASH xml files may have been corrupted.
Try to run FixConfiguration tool as follows:
1) Go to this location: <JazzSM_HOME>/ui/bin
2) Execute this command:
./consolecli.sh FixConfiguration --username smdmin_user_name --password smadmin_password --checkOnly true
With the last parameter set to true, the script will just list any invalid references in the xml's files.
In case you get any invalid references listed there, then just run the same command again but with the checkOnly parameter set to false in order to actually fix all the invalid references that were found. The command will be the following:
./consolecli.sh FixConfiguration --username smdmin_user_name --password smadmin_password --checkOnly false
Afterwards, restart DASH and try the export again.
If this doesn't solve the issue and the export fails with the exact same error message, check the below file:
<JazzSM>/profile/config/cells/
Within the above file most probably you still have a console preference profile definition that still contains that invalid view.
An example:
<approles:preference-profile defaultViewId="<problematic_view_name>" hideActionSelector="false" hideViewSelector="false" isNavTreeExpanded="true" orientation="DEFAULT" textDirection="DEFAULT" theme="oneui"
title="TESTProfile" uniqueName="_1111111">
<approles:console-views>
<approles:console-view checked="true" viewId="allTasks"/>
<approles:console-view checked="true" viewId="com.ibm.isclite.Catego
ryFilter"/> <approles:console-view checked="false" viewId="com.ibm.isclite.Produc
tFilter"/> <approles:console-view checked="false" viewId="com.ibm.isclite.MyTask
Filter"/> </approles:console-views>
<approles:date-created>2018/02
/29 19:37:50</approles:date-create d> <approles:date-updated>2018/03
/07 11:26:20</approles:date-update d> </approles:preference-profile>
If this is the case, you can access Console Preference Profile from WebGUI interface, select the profile referenced in the file and which contain the invalid view ("TESTProfile" as in my example) and try to edit it in order to change or remove the wrong view definition. Save the changes and try the export again.
Product Synonym
WebGUI
Was this topic helpful?
Document Information
Modified date:
23 July 2021
UID
ibm11284184