I have create one EntryPoint and now I have to call API from my EntryPoint page.
I have call API without user authentication.
How its possible please suggest.
I have create one EntryPoint and now I have to call API from my EntryPoint page.
I have call API without user authentication.
How its possible please suggest.
if your are using entryPoint then why its require API call ??
you can use any Sugar Functionality in Entry Point ...
Here's what you want:
Incidentally, if you use the same username/password as your current user, then you might logout your current user. So to avoid that, you can get the access token clientside using:
localStorage.getItem('prod:SugarCRM:AuthAccessToken');
You can then pass that back to the server in your entrypoint, instead of logging in the traditional way.
You shouldn't keep/store this value anywhere except your browser storage. So, for your security you shouldn't store the token in the field or expose it elsewhere.
Let me know if this makes sense.
Here's what you want:
Incidentally, if you use the same username/password as your current user, then you might logout your current user. So to avoid that, you can get the access token clientside using:
localStorage.getItem('prod:SugarCRM:AuthAccessToken');
You can then pass that back to the server in your entrypoint, instead of logging in the traditional way.
You shouldn't keep/store this value anywhere except your browser storage. So, for your security you shouldn't store the token in the field or expose it elsewhere.
Let me know if this makes sense.
Incidentally, if you use the same username/password as your current user, then you might logout your current user. So to avoid that, you can get the access token clientside using:
I have same logout issue. so please explain detail how to use
localStorage.getItem('prod:SugarCRM:AuthAccessToken');
You should correct the Dennis Wangerin answer .not yours ..