Converts the input to a PortalItem object.
The input to convert.
ArgumentError - If the input can't be converted. Use () to determine if the input can be converted if the input is unknown.
Converts the input to a PortalItem object.