Creating a computer extension attribute generates a variable that can be used to populate configuration profile settings. The variable is $EXTENSIONATTRIBUTE_#, where # is the extension attribute ID.
For information about using payload variables for configuration profiles, see Computer Configuration Profiles.
For extension attributes that use a text field, pop-up menu, or script input type, the ID number is found in the extension attribute URL. In the example URL below, "id=2" indicates the extension attribute ID number:
https://JAMF_PRO_URL.jamfcloud.com/computerExtensionAttributes.html?id=2&o=r
For extension attributes with the Directory Service attribute mapping input type, the ID number is displayed in the Directory Service Attribute Variable field after you save the extension attribute.