How to get device internal temperature in Data Field

Hey everyone,

I’d like to display the device’s temperature in my Data Field. I noticed that Sensor.Info.temperature seems to be the closest match, but when I added it to my program, I got the following error:

Error: Permission Required
Details: Symbol 'enableSensorEvents' not available to 'Data Field'

So,Is there any way to access temperature data within a Data Field program?Thinking