Find content via ExtendedAttributes?

I have an extended attribute in my content with a key of "somekey".  Each content item has this key with a unique value like "someuniquevalue123".

Is it possible to look up that content item using the in-process API (or any other API) by the extended attribute value?

Note: these values need to be hidden, so it isn't appropriate to use them as a tag name or other viewable property.

Thanks.

  • There's not a way to get content by extended attribute value. You may be able to partially accomplish this with search, but that seems unreliable.

    If you are trying to implement a lookup for a custom unique key for content, it might be easier to create a custom data store to link your custom unique keys to content Id / content type Id pairs to retrieve the content using ids.