0

When i try to create a formual field on an object to diplay my custom metadata type, everything is working with this syntax :

$CustomMetadata.CustomMetadataObject__mdt.Record.Value__c

But when i try to create an Object link (from "Buttons, Links and Actions" in object manager) including this CustomMetadata Type I have an error :

The link formula:

/one/one.app#/alohaRedirect/0MI/e?territoryModelId={$CustomMetadata.CustomMetadataObject__mdt.Record.Value__c}&Name={!Cercle__c.Name}

The error :

Error: Field $CustomMetadata.CustomMetadataObject__mdt.Record.Value__c does not exist. Check spelling.

Any idea if this is possible ton include CMT in object link ?

0
1

Unfortunately, you cannot refer custom metadata type in custom links. Custom metadata type can be referred only in Formulas, Default Values, and Validation Rules.

Check more details here.

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.