SP.FeatureCollection.getById(featureId) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Applies To
Remarks
Gets the feature with the specified feature ID.
var value = SP.FeatureCollection.getById(featureId);
Parameters
- featureId
The ID of the feature.
Type: SP.Guid
Return Value
Type: SP.Feature
The feature with the specified ID.
Applies To
Exceptions
- UnauthorizedAccessException
The current user has insufficient permissions. Error code: -2147024891.
Remarks
Returns null if no feature is available for the given feature identifier.