Skip to content

RemoveInterface - cWebAspClassicObject

When sent, removes any message from the Call interface

Type: Procedure

Parameters

Parameter Type Description
iMsg Integer number of message to remove from registered interface for a WBO

Syntax

Procedure RemoveInterface Integer iMsg

Call Example

Send RemoveInterface iMsg

Description

You can remove any message from the Call interface by sending the RemoveInterface message. This makes it easy to remove messages that were added as part of standard interface inclusions.

For example, you may want to include all messages from RegisterStandardInterface except Get_AutoReport. This could be removed as follows:

Object SalesP_WBO is a WebBusinessProcess
    Object Salesp_DD is a Salesp_DataDictionary
        Send DefineAllExtendedFields
    End_Object  // Salesp_DD
    Set phMainDD to (Salesp_DD(Self))
     Send RegisterStandardInterface
     Send RemoveInterface Get_AutoReport
End_Object  // SalesP_WBO

DataFlex Code

Send RemoveInterface iMsgNumber