ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / SaveAsAsync Method / SaveAsAsync(CreatePortalProjectSettings) Method
The settings used to create a new portal project, including template type, project name, folder ID, summary, sharing options, group IDs, and tags.

In This Topic
    SaveAsAsync(CreatePortalProjectSettings) Method
    In This Topic
    Saves a copy of the current project to a new portal item on the specified portal with the specified name, then opens the new project
    Syntax

    Parameters

    createPortalProjectSettings
    The settings used to create a new portal project, including template type, project name, folder ID, summary, sharing options, group IDs, and tags.

    Return Value

    A Task returning a success result
    Exceptions
    ExceptionDescription
    SaveAsAsync is not currently supported for portal projects
    There was an unspecified error while saving
    User is not signed in to the active portal
    Portal project does not exist on the active portal
    Remarks

    After successfully creating the new file, the current project is closed and the new project file is opened. See also

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also