Discussions

Ask a Question
Back to All

Updating Asset Attributes

Hi! Can you please provide me with a sample of how I would update an asset attribute value? I tried to do it using the AssetAttribute entity and attribute ID and value, but I received the error below. It correctly identified the asset to whom the attribute ID belonged. I just need to see where both items fit to make it work.

Error:
Asset Attribute modifications must be performed in parentâs context; parent ID #1830

Also, is it possible to use Descriptor IDs to update asset attribute values rather than individual asset-level attribute IDs. It would save me the step of finding the attribute ID for the particular asset before I can update it. I would already have the Descriptor ID and Asset ID.

Thank you!