---
sourceDocument: Australia Customer Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/customer-service-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Add web page link buttons to the Portal Banner widget

# Provide web page link buttons to display on the Portal Banner widget {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Provide a link to a web page that you want to display by defining primary or secondary buttons on the Portal Banner widget. The widget displays these buttons by default.

## Antes de Iniciar

The UI Components for Customer Portals plugin must be installed. For more information, see [Activate the UI Components for Customer Portals plugin](https://servicenow-prod.fluidtopics.net/dbhRuP7sSuHV4JpVf6YfsQ "You can activate the UI Components for Customer Portals plugin (sn_ciwf_ui_cmpnt) to enable Configurable Portal widgets. The application installs related plugins if they aren’t already installed.").

Role required: sp_admin

## Procedimento

1. Navigate to AllSystem Extension PointsScripted Extension Points.
2. On the Extension Points page, in the API Name column, enter <kbd class="ph userinput">*banner</kbd>.
3. Select sn_ciwf_ui_cmpnt.BannerButtonsConditionScript in the API Name column.  
   If a message appears about the application scope, select here to be able to edit the record.
4. On the BannerButtonsConditionScript page, in the Related links section, select Create Implementation.  
   If a message appears about the application scope, select here to be able to edit the record.
5. On the BannerButtonsConditionScript page, in the Script field, define the primary and secondary buttons by pasting the following CSS code and then customizing it.  

       var BannerButtonsConditionScript = Class.create();
       BannerButtonsConditionScript.prototype = {
           initialize: function() {
           },

       	showPrimaryButton: function() {
       		// add your condition here
       		return true;
       	},

       	showSecondaryButton: function() {
       		// add your condition here
       		return true;
       	},

           type: 'BannerButtonsConditionScript'
       };

6. Copy the name of the condition script from the Name field.
7. Select Update.
8. Navigate to your portal home page.
9. On the Edit page, select the Portal Banner widget.
10. Press Control+right-click.
11. Select Instance Options.
12. In the Behavior section, paste the name that you copied into the Button Condition Script field.
13. Select the condition script from the list.
14. Select Save.

