cancel
Showing results for 
Search instead for 
Did you mean: 

Repeated message - Fetching authentication token in Asset Manager 2105

neha_mahanty
Active Participant
0 Kudos

Dear All,

I am working on SAP Asset Manager 2105 and recently I have build the branded client using MDK 5.2.3.

When the application opens and syncs to initiate the connection , there is an additional message which is displayed "Fetching authentication token" . This usually displays like it syncs and happens almost 6-7 times and during this time , I cannot make any change and have to just wait for this to get completed.

Can anyone guide how to solve this issue.

Many thanks in advance for your guidance and support

Thanks and Regards

Neha Mahanty

Accepted Solutions (0)

Answers (2)

Answers (2)

muhammad_rafay
Advisor
Advisor

Hi Neha, this is happening because of the Esri Map. The map is using an external ESRI service to fetch the authentication token for security. As a workaround, If you are not using map, you can remove it from Overview page and should not see this message.

neha_mahanty
Active Participant
0 Kudos

Hi Muhammad,

Yes you are right , I am using GEF integration and I am also using the Field Operation Worker component which uses the routes feature in map. The token was missing in the FOW component and was also crashing the app when I used to select route

I got a fix from SAP which solved this issue.

/extensions/extension-MapFramework/plugin/Plugin-MapFramework/Common/MapControlDelegate.android.ts

alter line 40 from

if (this._controlExtension) {

to

if (this._controlExtension && actionInfoJson && actionInfoJson.Action) {

Thanks and Regards

Neha Mahanty