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:
- Include StoreHoursSample in project
- Uncomment StoreHoursSample in tsconfig.json
- Added "BaseUrl": "StoreHoursSample" under extensionPackages in extensions.json
- Added "Store Hours" operation in POS operations screen and matched operation ID to entries in the manifest.json and StoreHoursOperationRequest.ts files
- Added a button to a button grid that has "Store Hours" set as the Action
- 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?