I'm wondering if it's possible to use wildcards within the cd_ambient_conf.xml node (as documented here)
This would save me a ton of data entry, and it would be cool if that's how it worked :)
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI'm wondering if it's possible to use wildcards within the cd_ambient_conf.xml node (as documented here)
This would save me a ton of data entry, and it would be cool if that's how it worked :)
It sounds from your question that you want to specify a wildcard in a Globally Accepted Claim and allow processing any forwarded claims that match this wildcard.
Unfortunately you cannot specify wildcards and need to specify each Globally Accepted Claim individually.
Here is how it works: The ADF extracts the GloballyAcceptedClaims from the config and stores them in an list, where each claim is identified by its URI. When a claim comes in (i.e. is forwarded), the framework checks to see if the claim is contained within this list, e.g.:
if (this.globallyAcceptedClaims.contains(claimUri.toString()))
Your forwarded claim will have a specific URI, but an entry in the GloballyAcceptedClaims list will be a wildcard as per your desired config. The String.contains() method will return false in this case, and the claim won't be processed.