Portal Item
An object that represents a portal item.
See also
Constructors
Creates a new portal item object with the specified type for a specified portal. This constructor is used if you wish to create a new item that you will add to a portal.
Creates a portal item object for a specified portal and a specified item ID. Use this constructor to instantiate a PortalItem from an existing item using its unique ID.
Creates a portal item object. Use this object to create a portal item from a URL. The supported URL formats are:
Types
Properties
The type name of this portal item. Most generally the type name is the string representation of the enum PortalItemType returned by PortalItem.type. However if the type is PortalItemType.Unknown, the type name is set with the type found in the portal item JSON. This allows API to deal with new portal item types added since the latest API release.
Inherited properties
Functions
Adds a comment to the portal item. It is available only to authenticated users who have access to the item.
Makes a network request to fetch the comments for this portal item. The result is a list of PortalItemComments for this portal item.
Fetches the groups this portal item belongs to. Only those groups that are visible to the current portal user will be returned.
Fetches all related portal items with the specified relationship to this portal item.
Fetches all related portal items with any of the specified relationships to this portal item.
Shares this PortalItem with the specified portal groups. It's not necessary to load the PortalGroup objects that are passed to this method.
Unshares this item with everyone which will make the item PortalAccess.Private.
Stops sharing this PortalItem with the specified list of portal groups. It's not necessary to load the PortalGroup objects that are passed to this method.
Update the portal item with the given PortalItemContentParameters.
Executes an asynchronous operation to update any item properties that have been changed (using the setter methods). This causes the values that have been changed to be updated on the portal (for PortalItems) or on disk (for LocalItems).
Inherited functions
Cancels loading metadata for the Loadable object.
Sets the thumbnail of the item with the specified image. This method invokes Bitmap.compress and may be long running.