Restrict dropdown

siddharth1
Tera Contributor

Hi All,

 

Can someone suggest how can i restrict its dropdown option, by default it gives 3 options All, Request, Article when you open a topic in employee center. I want only request to be available.

4 REPLIES 4

Danish Bhairag2
Tera Sage
Tera Sage

Hi @siddharth1 ,

 

You need to check the relevant widget in order to modify the same. U can try clicking ctrl + left click on that area which will give u an option to open the widget in the backend. There u need to check from where that part is coming n modify the same.

 

Thanks,

Danish

siddharth1
Tera Contributor

@Danish Bhairag2 I found the widget its coming from topic content widget but I am unable to find which lines should i remove so that it only shows request and no dropdown

 

Of the top of my head I think it is in the Server Script section defined as a var. If you just do a Find for Article etc. you will see all the relevant lines.

It is worth noting Topic template. This feature lets you configure your own page layouts in a configurable and supported method.

 

Topic content is a big widget that drives all the connected content on a topic page. So this is a significant widget you would be changing. If you have to (Not sure why you would) make sure to clone the widget, and then place it onto a topic template indicating that it is your version of a topic page you are using.

 

I would question what value this customization would bring though 

Hi @siddharth1 ,

 

Open that widget you should be able to see this

 

DanishBhairag2_0-1707827437987.png

 

the highlighted sys id are the options which appear in the dropdown.

 

Thanks,

Danish