Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can I configure the "None of these is what I need" link in Service Desk?

dmitri April 6, 2017
Now the link simply removes all the suggestions. We'd like it to direct users to something where they can make a new ticket.

1 answer

0 votes
dmitri April 11, 2017

we attempted to modify the template:

servicedesk/internal-api/core/feature/smartsearch/result/cv-smart-portal-search-results-view.soy

from

servicedesk-core-ui-plugin-3.2.0-139.jar

but it's not affecting what i expected, e.g. our "test" class isn't on this element:

 

 

{namespace ServiceDesk.Templates.Shared.Components.Search}

/**
 * @param hasMoreThanOneResult Whether there are more than one result
 */
{template .searchResultsFooter}
    <div class="cv-smart-portal-nav-bottom test">
        {call aui.buttons.button}
            {param text}
                {if $hasMoreThanOneResult}
                    {getTextAsHtml('sd.customerview.smart.portal.none.helped')}
                {else}
                    {getTextAsHtml('sd.customerview.smart.portal.none.helped.singular')}
                {/if}
            {/param}
            {param type: 'link' /}
            {param extraClasses: 'js-cv-view-portals' /}
        {/call}
    </div>



{/template}

/**
 * A spinner with customizable size
 *
 * @param size the size of the spinner, available options are "small", "medium", "large" and "xlarge".
 */
{template .spinner}
    <div class="cv-smart-portal-spinner-container">
        <span class="sd-spinner-{$size}"></span>
    </div>
{/template}

 

dmitri April 11, 2017

We also thought we might be able to use a plugin to inject javascript, but this issue seems to suggest that is not possible. https://jira.atlassian.com/browse/JSDSERVER-1938 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events