UpdateFilter.xml

+

Search Tips   |   Advanced Search

 

<?xml version="1.0" encoding="UTF-8"?>

<request 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
    type="update">
    <!-- Sample for updating a filter with some sample entries.

         NOTE: This sample expects that the CreateFilter.xml sample was executed before.  
     -->
	<portal action="locate">
        <filter-instance action="update" id="DefaultBlacklistFilter">
            <filter-data value="badword1" action="delete"/>
            <filter-data value="badword3" action="update"/>        
		</filter-instance>
	</portal>
</request>