web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Commerce forum / Operation Not Supporte...
Commerce forum

Operation Not Supported When Creating Custom Button in POS

(0) ShareShare
ReportReport
Posted on by 25

I'm new to POS and trying to figure out how to create custom buttons for MPOS/CPOS in the Retail SDK for Dynamics 365 for Retail. I'm starting with the Store Operations example in the SDK. I did the following:

  1. Include StoreHoursSample in project
  2. Uncomment StoreHoursSample in tsconfig.json
  3. Added "BaseUrl": "StoreHoursSample" under extensionPackages in extensions.json
  4. Added "Store Hours" operation in POS operations screen and matched operation ID to entries in the manifest.json and StoreHoursOperationRequest.ts files
  5. Added a button to a button grid that has "Store Hours" set as the Action
  6. Ran 1090 schedule

Now, when I run the MPOS from Visual Studio, when I click on the Store Hours button I created, I get an "Operation not supported" error message and nothing else happens. I can see no errors in Event Viewer, just a message indicating the button was pushed in the MPOS event viewer.

I must be missing something, but I can't figure out what. Can someone help?

  • Aniket1231 Profile Picture
    75 on at

    You can check event log for exact error. Also, you need to build the retail server and CRT solution for Store Hour sample and make required changes in config files. You can refer to below link for help.

    docs.microsoft.com/.../commerce-runtime-extensibility

    - Aniket

  • Robert Sammut Profile Picture
    456 on at

    Hi Barret, did you ever manage to resolve this? I'm having the same issue.

    Event Log is saying "Individual message displayed to the user: Message type: 'Error'; Resource IDs: 'unknown;string_29802;unknown;unknown;en-US'; Title: 'undefined'; Message: 'Operation is not supported.'; Additional info: 'undefined'; Correlation Id: '22dc6ebc-36b5-a382-0775-5021e593a443'"

  • Pankaj_93 Profile Picture
    396 on at

    Hi Robert,

    Your extension would not be loaded properly. So this type of error you are getting.

    Check your manifest.json file whether the operation id is mention or not as well as check in the request.ts files also.

    To check what are the extensions loaded in your pos, click in the setting of the mpos and scroll to right and you will find the extension details.

  • Retha Profile Picture
    1,461 on at

    I got the same error and the operationID was the same as what was in the request.ts and the POS operations in HQ.

    At closer inspection I then discovered that I misspelled the name of the Factory typescript file in the Manifest.json file for the new operationID.

    So make also sure the path and name of the Factory and Handler typeScripts files are correct in the manifest file.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Commerce

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans