Creates part data.
eOk if successful or the appropriate error code otherwise.
A value map is a map of attribute names mapped to their values.