ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapMember Class / ImportPopupConfiguration Method
The entire file path, including file name, where the new popup configuration exists.

In This Topic
    ImportPopupConfiguration Method
    In This Topic
    Imports a .pop file and sets the popup configuration for the MapMember. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void ImportPopupConfiguration( 
       string filePath
    )
    Public Sub ImportPopupConfiguration( _
       ByVal filePath As String _
    ) 

    Parameters

    filePath
    The entire file path, including file name, where the new popup configuration exists.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Thrown when the filePath is null or empty.
    Thrown when the filePath does not end with a .pop extension.
    Thrown when the .pop file is empty or invalid, or when the MapMember's definition is null.
    Thrown when there is an error reading the .pop file or deserializing the popup configuration.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also