p_espinar
Kilo Guru

If your KBs do not have the Social Q&A activated, that button will not show up,

Un saludo,

Pablo

Thanks for your quick response!

 

Can you please guide to fin d where exactly this check is happening in widget code, i tried to find but iam able to find that.

 

Thanks,

Satheesh

I guess it is in the html code (c.data.canPostQuestion):

      <div class="kb-action-btns" ng-if="c.data.canCreateArticle || c.data.canPostQuestion">
        <a class="btn btn-default hidden-xs action-btns" role="button" ng-if="c.data.canPostQuestion" href="{{::c.options.post_question_url}}">{{::c.options.post_question_label}}</a>
        <button  type="button" class="btn btn-default dropdown-toggle action-btns" ng-class="{'visibile-xs':c.data.canCreateArticle || c.data.canPostQuestion, 'hidden-lg hidden-md hidden-sm':!c.data.canCreateArticle}" data-toggle="dropdown" aria-label="{{::c.action_menu}}">
          <span class="glyphicon glyphicon-option-horizontal menu-padding"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" ng-if="c.data.canCreateArticle || c.data.canPostQuestion">
          <li ng-if="c.data.canCreateArticle"><a target="_blank" href="{{::options.create_article_url}}">{{::c.options.create_article_label}}</a></li>
          <li class="hidden-md hidden-lg hidden-sm visible-xs" ng-if="c.data.canPostQuestion"><a href="{{::c.options.post_question_url}}">{{::c.options.post_question_label}}</a></li>
        </ul>
      </div>

Un saludo,

Pablo

View solution in original post

Also, if you do not want to change the code, you can disable Q&A for every of your KB:

 

find_real_file.png

 

find_real_file.png

Hi,
were you able to remove the Ask a question from the Knowledge management service portal?