data

Creates an instance of PortalItemContentParameters to use when adding a portal item for which the content data is a file.

Return

an instance of PortalItemContentParameters

Since

200.0.0

Parameters

fileData

the content data for the item

fileName

the file name to use to store the data; must be unique within the particular user's folder to which the item is added