Author |
Message
|
deepthi564 |
Posted: Tue Nov 26, 2013 9:13 pm Post subject: Web UI in Message Broker |
|
|
Newbie
Joined: 26 Nov 2013 Posts: 5
|
Hi,
I have a requirement in monitoring.I have monitored the events and stored all the required values in key fields columns og WMB_MSGS table.
I want to add a column, "Key Field" in the web UI data viewer tab, where it can retrieve the values directly from the database in the same manner its doing for the rest of the columns. |
|
Back to top |
|
 |
mb8_learner |
Posted: Sun Jul 06, 2014 11:26 pm Post subject: |
|
|
Novice
Joined: 28 May 2013 Posts: 22
|
I am also looking for the reply for your question. Did u get any answer for this. |
|
Back to top |
|
 |
deepthi564 |
Posted: Mon Jul 07, 2014 1:18 am Post subject: |
|
|
Newbie
Joined: 26 Nov 2013 Posts: 5
|
In your WMB installation directory follow the URL D:\IBM\MQSI\8.0.0.4\webadmin\apps\ROOT\webui\widgets\dataviewer\DataViewer.js.Open this js file and add few more columns for default layout using the below given code
this._defaultLayout = this._defaultLayout.concat([ {
field : 'keyField1',
width : fieldWidth,
name : 'ApplicationData',
hidden : false,
},
{
field : 'keyField2',
width : fieldWidth,
name : 'UserData2',
hidden : false,
},
{
field : 'keyField3',
width : fieldWidth,
name : 'UserData3',
hidden : false,
},
{
field : 'keyField4',
width : fieldWidth,
name : 'UserData4',
hidden : false,
},
{
field : 'keyField5',
width : fieldWidth,
name : 'UserData5',
hidden : false,
}
]);
This will add 5 more columns which when holds the value in db(WMB_)MSGS table) will populate the same on UI |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Jul 07, 2014 1:50 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
deepthi564 wrote: |
In your WMB installation directory follow the URL D:\IBM\MQSI\8.0.0.4\webadmin\apps\ROOT\webui\widgets\dataviewer\DataViewer.js. |
Remember to take a copy of this file and store it somewhere else. The application of a future FixPack may overwrite it (depending upon how you apply the FP). Ideally this change should be stored in your source control system. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mb8_learner |
Posted: Mon Jul 07, 2014 9:28 pm Post subject: |
|
|
Novice
Joined: 28 May 2013 Posts: 22
|
I have added the code in dataviewer.js, eventhough its not getting displayed in the UI. do i need to change anything else. kindly help |
|
Back to top |
|
 |
deepthi564 |
Posted: Mon Jul 07, 2014 9:34 pm Post subject: |
|
|
Newbie
Joined: 26 Nov 2013 Posts: 5
|
Check the same using customize tab the check box against the fields should be checked. |
|
Back to top |
|
 |
mb8_learner |
Posted: Mon Jul 07, 2014 10:17 pm Post subject: |
|
|
Novice
Joined: 28 May 2013 Posts: 22
|
Its not getting displayed in the drop down list also. Also i have tried to change the hidden property of msgkey to false.
field : 'msgKey',
width : '20px',
hidden : false
but nothing get displayed in the UI. kindly let me know if i need to change anywhere else. If possible share me the code of Dataviewer.js. Thanks in advance. |
|
Back to top |
|
 |
deepthi564 |
Posted: Wed Jul 09, 2014 2:18 am Post subject: |
|
|
Newbie
Joined: 26 Nov 2013 Posts: 5
|
how can I share a file here any idea about it |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 09, 2014 5:17 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
deepthi564 wrote: |
how can I share a file here any idea about it |
We don't allow files uploaded / shared on the forum. It prevents the forum being used for, shall we say non-technical purposes?
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Tibor |
Posted: Wed Jul 09, 2014 8:03 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
... but you can place it in a 'Code' box. |
|
Back to top |
|
 |
mb8_learner |
Posted: Thu Jul 17, 2014 10:07 pm Post subject: |
|
|
Novice
Joined: 28 May 2013 Posts: 22
|
I am getting 'The logged-on user ID does not have the required permissions to access data or broker resources in the web user interface. See your broker administrator to set up the required permissions.' error while trying to login to WEB UI.
My userid has mqm,mqbrkrs and admin access. eventhough im not ale to logi. kindly help |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 18, 2014 5:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mb8_learner wrote: |
My userid has mqm,mqbrkrs and admin access. eventhough im not ale to logi. kindly help |
Is he a WebUI user? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bhupinder |
Posted: Sun Apr 19, 2015 12:50 am Post subject: |
|
|
Novice
Joined: 25 Mar 2015 Posts: 19
|
I am also facing the same issue after logging into IIB Web UI Portal.
The logged-on user ID does not have the required permissions to access data or broker resources in the web user interface. See your broker administrator to set up the required permissions.
Any suggestions please.
I have followed the proper instructions given in the developerWorks article (s'thing like: Configuring WebUI for IIB).I have tried for Both HTTP and HTTPS. I am able to login into the Webpage, but after login "I am getting error "The logged-on user ID does not have the required permissions to access data or broker resources in the web user interface. See your broker administrator to set up the required permissions.
" |
|
Back to top |
|
 |
shashivarungupta |
Posted: Sun Apr 19, 2015 6:17 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
It would be better if you would create a new post with your questions/concerns and refer the older one in there , rather reviving an old post again & again.
 _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|