Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9276049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:44:26+00:00 2026-06-18T16:44:26+00:00

Can I have a confirmation box in a synchronous (or asynchronous) plug-in. I need

  • 0

Can I have a confirmation box in a synchronous (or asynchronous) plug-in.
I need some confirmation for an import:
3 new products will be created
2 new departments will be created
(Click OK to Proceed)

Currently there is a staging entity for periodic price list imports from excel;
the plug-in is registered ‘On Create’ of this entity and creates or updates products and price list items (and creates, but does not update, departments, accounts, and classifications)

The user does not want to have to perform multiple imports every time the supplier releases a new price list; is there a better way to handle the whole situation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:44:28+00:00Added an answer on June 18, 2026 at 4:44 pm

    I don’t think you can have a message box (or any other UI interaction in a plug in. Sometimes, a plugin will be invoked by a service or a workflow with no users logged in at all. What would happen to the output window in such case?

    As far my understanding goes, if you wish to communicate with the user, you need to rely on JS. The nice coding of .NET is, in CRM, reserved for server operations.

    In case the number of operations to perform is large (or likely to grow larger and larger, as in your case), I’d go with the following approach.

    Since the process is supposed to be invoked upon user interaction, I’d go with JavaScript, and implement an appropriate onSomeEvent method that creates a single instance of an auxiliary entity Hazaa (or perhaps ProducLineSetter*, to be more explicit on what it does).

    Then, I’d deploy a plugin that responds to Create message and does all the magic for me. That includes creating/configuring all the required entities (prices, products and what not).

    I love C#, so to keep my answer moderate I feel that I also need to add that the second step could be also resolved by a number of calls in JavaScript too. In such case, for the love of god, place it in a separate JS file and add it as a web resource. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some dynamically generated checklist-items. When user deletes them, confirmation box should appear.
i have an confirmation box where user can select OK to continue or Cancel
I have some action with confirmation box (e.g: delete action), but when user click
We have an email confirmation page for registration which can be hit with a
I have a confirmation message box for the user in one of my apps.
I want to have a confirmation message box pop up when a user clicks
I'm looking to create a generic confirmation box that can be used by multiple
I am new to JQuery and trying to display a Yes/No confirmation dialog box
We can have many handlers: touches handler, UIControl handler (buttons, sliders), performSelector, CADisplayLink, NSTimer
How can have a div which contain multiple multiple div it may 4-6-8 how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.