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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Commerce forum / Dynamics 365 for Retai...
Commerce forum

Dynamics 365 for Retail | Error while calling Dialog from Triggers in CPOS

(0) ShareShare
ReportReport
Posted on by 1,147

Hi,

I am facing an error when I am calling the dialog box from triggers in CPOS. 

"ExtensionTemplatedDialogBase can only run in extension views."

As I understand from error that dialogs can only run in extension views but what in case we have to validate the user with OTP while making the payment. 

Please help in case anyone has information on the same.

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Neeraj,

    1. Add infocode on payment to capture information, validate the infocode information in CRT using pretrigger for addtenderline operation. By throwing exception we can stop the workflow.

    2. If More fields/  information need to captured, extend view with dialog to capture information and then call addtenderline api with details.

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