Adding quicksearch widget to SelfService view

Hi all, i’m trying to add the quicksearch widget to the selfservice.

Please offer some guidance.

What i’m trying to do is:

I had modified MyRequest in the Selfservice/Elements in my local:

System error

error:

could not find component for path ‘/Elements/QuickSearch’

context:

46:

%#

47:

%# END BPS TAGGED BLOCK }}}

48:

49:

<&| /Widgets/TitleBox, title => $title &>

50:

<& /Elements/QuickSearch, SplitByLifecycle => “1” &>

51:

</&>

52:

<&| /Widgets/TitleBox, title => $title &>

53:

54:

<& /Elements/CollectionList, Title => $title,

code stack:

/opt/rt4/share/html/SelfService/Elements/MyRequests:50
/opt/rt4/share/html/Widgets/TitleBox:56
/opt/rt4/share/html/SelfService/Elements/MyRequests:51
/opt/rt4/share/html/SelfService/index.html:49
/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:618
/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:326
/opt/rt4/share/html/autohandler:53

http://10.92.10.99/SelfService/#raw raw error

could not find component for path ‘/Elements/QuickSearch’

Trace begun at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1239
HTML::Mason::Request::comp('RT::Interface::Web::Request=HASH(0x7f138e172170)
', ‘/Elements/QuickSearch’, ‘SplitByLifecycle’, 1) called at
/opt/rt4/share/html/SelfService/Elements/MyRequests line 50
HTML::Mason::Commands::ANON at
/usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1380
eval {…} at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1380
HTML::Mason::Request::content(‘RT::Interface::Web::Request=HASH(0x7f138e1721
70)’) called at /opt/rt4/share/html/Widgets/TitleBox line 56
HTML::Mason::Commands::ANON(‘title’, ‘Nyitott problM-imM-aim’) called at
/usr/local/lib/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x7f138e
2d49b0)’, ‘title’, ‘Nyitott problM-imM-aim’) called at
/usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1302
eval {…} at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, ‘title’, ‘Nyitott
problM-imM-aim’) called at
/opt/rt4/share/html/SelfService/Elements/MyRequests line 51
HTML::Mason::Commands::ANON(‘status’, ‘ARRAY(0x7f138e17ac60)’,
‘friendly_status’, ‘Nyitott’, ‘BaseURL’, ‘/SelfService/?’, ‘Page’, 1) called
at /usr/local/lib/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x7f138e
2d58d8)’, ‘status’, ‘ARRAY(0x7f138e17ac60)’, ‘friendly_status’, ‘Nyitott’,
‘BaseURL’, ‘/SelfService/?’, ‘Page’, 1) called at
/usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1302
eval {…} at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, ‘status’, ‘ARRAY(0x7f138e17ac60)’,
‘friendly_status’, ‘Nyitott’, ‘BaseURL’, ‘/SelfService/?’, ‘Page’, 1) called
at /opt/rt4/share/html/SelfService/index.html line 49
HTML::Mason::Commands::ANON at
/usr/local/lib/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x7f138e
173228)’) called at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line
1302
eval {…} at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at
/opt/rt4/sbin/…/lib/RT/Interface/Web.pm line 618
RT::Interface::Web::ShowRequestedPage(‘HASH(0x7f138e179a68)’) called at
/opt/rt4/sbin/…/lib/RT/Interface/Web.pm line 326
RT::Interface::Web::HandleRequest(‘HASH(0x7f138e179a68)’) called at
/opt/rt4/share/html/autohandler line 53
HTML::Mason::Commands::ANON at
/usr/local/lib/perl/5.14.2/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x7f138d
ff54e0)’) called at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line
1297
eval {…} at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 481
eval {…} at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 481
eval {…} at /usr/local/lib/perl/5.14.2/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('RT::Interface::Web::Request=HASH(0x7f138e172170)
') called at /usr/local/share/perl/5.14.2/HTML/Mason/PSGIHandler.pm line 85
eval {…} at /usr/local/share/perl/5.14.2/HTML/Mason/PSGIHandler.pm line 85
HTML::Mason::Request::PSGI::exec(‘RT::Interface::Web::Request=HASH(0x7f138e1
72170)’) called at /usr/local/lib/perl/5.14.2/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at
/usr/local/share/perl/5.14.2/HTML/Mason/PSGIHandler.pm line 48
eval {…} at /usr/local/share/perl/5.14.2/HTML/Mason/PSGIHandler.pm line 48
HTML::Mason::PSGIHandler::invoke_mason(‘HTML::Mason::PSGIHandler::Streamy=HA
SH(0x7f138dce7128)’, ‘HTML::Mason::FakeApache=HASH(0x7f138e16a618)’,
‘HASH(0x7f138e165310)’) called at
/usr/local/share/perl/5.14.2/HTML/Mason/PSGIHandler/Streamy.pm line 52
HTML::Mason::PSGIHandler::Streamy::ANON(‘CODE(0x7f138e172e60)’) called
at /opt/rt4/sbin/…/lib/RT/Interface/Web/Handler.pm line 263
RT::Interface::Web::Handler::ANON(‘CODE(0x7f138e172e60)’) called at
/usr/local/lib/perl/5.14.2/Plack/Util.pm line 324
Plack::Util::ANON(‘CODE(0x7f138e206468)’) called at
/usr/local/lib/perl/5.14.2/Plack/Handler/Apache2.pm line 68
Plack::Handler::Apache2::call_app(‘Plack::Handler::Apache2’,
‘Apache2::RequestRec=SCALAR(0x7f138e22bed0)’, ‘CODE(0x7f138daa8ca8)’) called
at /usr/local/lib/perl/5.14.2/Plack/Handler/Apache2.pm line 91
Plack::Handler::Apache2::handler('Apache2::RequestRec=SCALAR(0x7f138e22bed0)
') called at -e line 0
eval {…} at -e line 0

Thank you&regards:

Hi all, i’m trying to add the quicksearch widget to the selfservice.
Please offer some guidance.
What i’m trying to do is:
I had modified MyRequest in the Selfservice/Elements in my local:
error: could not find component for path ‘/Elements/QuickSearch’

The component is Quicksearch not QuickSearch

-kevin

Hi Kevin, thank you, Works like a charm.
Is there any way to limit this in Selfservice to queues available to the
user as in the normal view? As right now i can see all queues altho the user
has rights for only one.
If i give privilages to this user on the normal site i can only see that one
queue in the quicksearch.

Best regards:
Daniel O.T

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin FalconeSent: Thursday, November 15, 2012 5:12 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Adding quicksearch widget to SelfService view
[faked-from][auto-ip]

Fixing the rights for the user solved it…

Üdvözlettel:

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of omaisz-takács
dánielSent: Friday, November 16, 2012 9:24 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Adding quicksearch widget to SelfService view
[faked-from]

Hi Kevin, thank you, Works like a charm.
Is there any way to limit this in Selfservice to queues available to the
user as in the normal view? As right now i can see all queues altho the user
has rights for only one.
If i give privilages to this user on the normal site i can only see that one
queue in the quicksearch.

Best regards:
Daniel O.T

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Thursday, November 15, 2012 5:12 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Adding quicksearch widget to SelfService view
[faked-from][auto-ip]