class RenderListDataOverrideParameters
A parameter class for overriding SharePoint list data rendering options, inheriting from ClientValue to represent client-side values in SharePoint operations.
/tf/active/vicechatdev/SPFCsync/venv/lib64/python3.11/site-packages/office365/sharepoint/lists/render_override_parameters.py
4 - 10
simple
Purpose
This class serves as a data transfer object (DTO) for specifying override parameters when rendering SharePoint list data. It extends ClientValue to integrate with the Office365 SharePoint client library's type system, allowing customization of how list data is rendered or retrieved. The class is primarily used in SharePoint API calls that require RenderListDataOverrideParameters to modify default rendering behavior.
Source Code
class RenderListDataOverrideParameters(ClientValue):
def __init__(self):
super(RenderListDataOverrideParameters, self).__init__()
@property
def entity_type_name(self):
return "SP.RenderListDataOverrideParameters"
Parameters
| Name | Type | Default | Kind |
|---|---|---|---|
bases |
ClientValue | - |
Parameter Details
__init__: The constructor takes no parameters. It initializes the parent ClientValue class, setting up the basic infrastructure for representing this object as a client-side value in SharePoint operations.
Return Value
Instantiation returns a RenderListDataOverrideParameters object that can be used to configure list data rendering operations. The entity_type_name property returns the string 'SP.RenderListDataOverrideParameters', which identifies this object's type in the SharePoint REST API type system.
Class Interface
Methods
__init__(self) -> None
Purpose: Initializes a new instance of RenderListDataOverrideParameters by calling the parent ClientValue constructor
Returns: None - constructor initializes the object
@property entity_type_name(self) -> str
property
Purpose: Returns the SharePoint entity type name that identifies this object in the SharePoint REST API type system
Returns: String 'SP.RenderListDataOverrideParameters' representing the SharePoint entity type
Attributes
| Name | Type | Description | Scope |
|---|---|---|---|
entity_type_name |
str | Read-only property that returns the SharePoint entity type identifier 'SP.RenderListDataOverrideParameters' | instance |
Dependencies
office365
Required Imports
from office365.runtime.client_value import ClientValue
Usage Example
from office365.runtime.client_value import ClientValue
from office365.sharepoint.listitems.render_list_data_override_parameters import RenderListDataOverrideParameters
# Instantiate the parameters object
override_params = RenderListDataOverrideParameters()
# The object can now be used with SharePoint list rendering operations
# Typically passed to methods that accept override parameters
# Example context (requires proper SharePoint context setup):
# list_obj = ctx.web.lists.get_by_title('MyList')
# result = list_obj.render_list_data_as_stream(override_params)
# Check the entity type name
print(override_params.entity_type_name) # Output: SP.RenderListDataOverrideParameters
Best Practices
- This class is designed to be instantiated with no arguments and used as-is for basic override scenarios
- The class follows the ClientValue pattern from the office365 library, making it serializable for SharePoint REST API calls
- Typically used in conjunction with SharePoint list rendering methods that accept override parameters
- The entity_type_name property should not be modified as it identifies the object type in SharePoint's type system
- This is a lightweight parameter object with no state management concerns - create new instances as needed
- Subclass this class if you need to add custom override parameters for specific SharePoint list rendering scenarios
Similar Components
AI-powered semantic similarity - components with related functionality:
-
class ListItemUpdateParameters 74.1% similar
-
class ListItemDeleteParameters 68.6% similar
-
class GetListsParameters 68.2% similar
-
class GetListItemVersionsParameters 66.7% similar
-
class ListDataSource 61.7% similar