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 :
Microsoft Dynamics GP (Archived)

Webclient Message box not working

(0) ShareShare
ReportReport
Posted on by 15

Hi,

when i try to implement message box in Webclient, it's not working same code is working in Desktop application.

Code :

namespace DotNetCustomization
{
[SupportedDexPlatforms(DexPlatforms.DesktopClient | DexPlatforms.WebClient)]
public class GPAddIn : IDexterityAddIn
{
public static IvItemMaintenanceForm ItemMaintenanceForm = Dynamics.Forms.IvItemMaintenance;
private IvItemMaintenanceForm.IvItemMaintenanceWindow
ItemMaintenanceWindow = ItemMaintenanceForm.IvItemMaintenance;


public void Initialize()
{
ItemMaintenanceForm.OpenAfterOriginal += new EventHandler(ItemMaintenaceForm_OpenAfterOriginal);
}

private void ItemMaintenaceForm_OpenAfterOriginal(object sender, EventArgs e)
{
Int16 answer;
answer = Dynamics.Forms.SyVisualStudioHelper.Functions.DexAsk.Invoke("RS test - please ignore", "Yes", "No", "Cancel");
this.ItemMaintenanceWindow.ItemDescription.Value = "RS Test";
}
}
}

*This post is locked for comments

I have the same question (0)
  • SJ-25070822-0 Profile Picture
    on at
    I feel your pain.  I've found that despite the [SupportedDexPlatforms(DexPlatforms.DesktopClient | DexPlatforms.WebClient)] attribute, the add in does not seem to be being used by the webclient.

    Did you ever find a solution to your issue.
  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,095 Most Valuable Professional on at
    Hi Guys
     
    The Supported Dex Platforms should work. I use
     
       [SupportedDexPlatforms(DexPlatforms.DesktopClient | DexPlatforms.WebClient | DexPlatforms.Service)]
     
    You cannot display a WinForm or .Net dialog, but using the SyVisualStudioHelper form or the more powerful Visual Studio Integration Toolkit suite of over 200 helper functions should work when displaying a Dexterity system dialog.
     
    Silly question, but is your addin DLL installed on the instance of the GP application where the webclient is running from?
     
    Regards
     
    David
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans