withUri static method

PortalItem? withUri(
  1. Uri uri
)

Creates a portal item from the specified portal item URL.

Use this object to create a portal item from a URL. The supported URL formats are:

Parameters:

  • uri — The URL to the portal item.