Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / MPOS connection status...
Commerce forum
Unanswered

MPOS connection status online or offline in POS commerce run time extensions

Posted on by 15

Hi, How I can check MPOS connection status currently It is online or offline in MPOS commerce run time extensions

  • Waqar Mehmood Profile Picture
    Waqar Mehmood 22 on at
    RE: MPOS connection status online or offline in POS commerce run time extensions

    //Check online status

               return this.context.runtime.executeAsync<GetConnectionStatusClientResponse>(new GetConnectionStatusClientRequest())

                   .then((connectionStatus: ClientEntities.ICancelableDataResult<GetConnectionStatusClientResponse>) => {

                       if (connectionStatus.data.result == ClientEntities.ConnectionStatusType.Online)

                       {

                       }

                       else

                       {

                       }

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans