I would like to get token form header and put it in field iframe in studio.
Is it possible to do like this?
I would like to get token form header and put it in field iframe in studio.
Is it possible to do like this?
If you are referring to the OAuth-Token value, you can just read it from localstorage. You don't need to read the header per se.
var aToken = localStorage.getItem('prod:SugarCRM:AuthAccessToken');
Work! thank you
var aToken = localStorage.getItem('prod:SugarCRM:AuthAccessToken');
Work! thank you