Obsolete Members for PortalItem

  • PortalItem
  • The following members of class PortalItem are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (obsolete) PortalItem(const QString &json, Esri::ArcGISRuntime::Portal *portal, QObject *parent = nullptr)
    (obsolete) QString accessAndUseConstraintsHtml() const
    (obsolete) void setType(Esri::ArcGISRuntime::PortalItemType type)

    Member Function Documentation

    PortalItem::PortalItem(const QString &json, Esri::ArcGISRuntime::Portal *portal, QObject *parent = nullptr)

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Constructor that accepts JSON (json), a Portal (portal), and an optional parent. This constructor is obsolete, prefer to use fromJson function.

    QString PortalItem::accessAndUseConstraintsHtml() const

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Returns the access and use constraints HTML.

    This function is deprecated in 100.4.0. Use termsOfUse instead.

    void PortalItem::setType(Esri::ArcGISRuntime::PortalItemType type)

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Sets the item's type to type.

    This function is deprecated from 100.6 onwards. Use constructor with PortalItemType instead.

    Note: Beyond being deprecated, the setter also no longer functions and is a no-op method. This is because the Portal Rest API does not allow changing the type of an existing PortalItem.

    See also type().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close