Create Extra MetaData:
The CreateExtraMetaData node is designed to facilitate the addition of custom metadata to your projects, enhancing the richness and context of your data. This node allows you to define key-value pairs that can be used to store additional information, which can be particularly useful for tracking, categorizing, or annotating your work. By using this node, you can seamlessly integrate extra metadata into your workflow, ensuring that all relevant information is captured and easily accessible. The primary function of this node is to update an existing metadata dictionary with new entries, making it a versatile tool for managing metadata in a structured and organized manner.
Create Extra MetaData Input Parameters:
key1
key1 is a required input parameter that represents the first key in the key-value pair you wish to add to the metadata. It is a string input, and its primary function is to serve as an identifier for the corresponding value. The default value is an empty string, and it does not support multiline input. This parameter is crucial as it determines the label under which the associated value will be stored in the metadata.
value1
value1 is a required input parameter that represents the value associated with key1. It is also a string input, with a default value of an empty string and no multiline support. This parameter holds the actual data or information you want to store under the specified key, making it essential for the meaningful organization of metadata.
key2
key2 is an optional input parameter that allows you to specify a second key for additional metadata. Like key1, it is a string input with a default value of an empty string and no multiline support. This parameter provides flexibility by enabling you to add more metadata entries as needed.
value2
value2 is an optional input parameter that corresponds to key2. It is a string input with a default value of an empty string and no multiline support. This parameter allows you to store additional information under the second key, expanding the scope of your metadata.
key3
key3 is another optional input parameter for specifying a third key in your metadata. It follows the same format as the previous keys, being a string input with a default value of an empty string and no multiline support. This parameter is useful for further extending your metadata entries.
value3
value3 is an optional input parameter that pairs with key3. It is a string input with a default value of an empty string and no multiline support. This parameter allows you to add more detailed information to your metadata, enhancing its comprehensiveness.
key4
key4 is an optional input parameter for a fourth key in your metadata. It is a string input with a default value of an empty string and no multiline support. This parameter provides additional flexibility for organizing your metadata.
value4
value4 is an optional input parameter that corresponds to key4. It is a string input with a default value of an empty string and no multiline support. This parameter allows you to include further information in your metadata, ensuring all relevant data is captured.
extra_metadata
extra_metadata is an optional input parameter that represents an existing metadata dictionary. This parameter allows you to update the existing metadata with new key-value pairs, making it a powerful tool for managing and expanding your metadata collection.
Create Extra MetaData Output Parameters:
EXTRA_METADATA
The EXTRA_METADATA output parameter is the result of the node's operation, which is an updated metadata dictionary. This output contains all the key-value pairs specified in the input parameters, integrated into the existing metadata if provided. The EXTRA_METADATA output is crucial for maintaining a comprehensive and organized collection of metadata, allowing you to easily access and utilize the additional information in your projects.
Create Extra MetaData Usage Tips:
- Ensure that the keys you use are descriptive and unique to avoid conflicts and make it easier to identify the associated values in your metadata.
- Use the optional key-value pairs to add as much relevant information as possible, enhancing the utility and context of your metadata.
Create Extra MetaData Common Errors and Solutions:
Missing required key-value pair
- Explanation: The node requires at least
key1andvalue1to function properly. If these are not provided, the node cannot create metadata. - Solution: Ensure that you provide both
key1andvalue1with appropriate values before executing the node.
Duplicate keys in metadata
- Explanation: If a key already exists in the
extra_metadatadictionary, adding the same key again will overwrite the existing value. - Solution: Check the existing metadata for duplicate keys and decide whether to update the value or use a different key to avoid unintentional data loss.
