Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Virtual Agent on CSM portal showing create an incident topic

Sarthak Kashyap
Mega Sage

Hi All,

 

I'm facing issue to deactivate "Create an Incident" option from CSM portal, when I search anything and it doesn't work it shows user to Create an Incident. I need to deactivate from CSM portal only 

 

SarthakKashyap_0-1745483429007.png

 

Thanks,

Sarthak

8 REPLIES 8

@Ankur Bawiskar ,

 

I found the topic already, but I didn't get the from where this topic is calling 

 

In property of that topic I also gave role ITIL. But still it is not wokring also added the script 

SarthakKashyap_0-1745490379035.png

if(vaContext.portal == 'sp'){
      return true;
    }else{
        return false;
    }

SarthakKashyap_1-1745490438893.png

 

@Sarthak Kashyap 

you should search the topic which renders this content and then from that remove that incident one

AnkurBawiskar_0-1745491500040.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar ,

 

Let me debug that topic which rendering Create an Incident topic and remove 

@Sarthak Kashyap 

Sure

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader