Thanks to both Brian & Ted
I now have this working. Really appreciate the help
Adrian
I now have this working. Really appreciate the help
Adrian
--- In vantage@yahoogroups.com, Ted Koch <tkoch77@...> wrote:
>
> This is how to create the options to pass to a form.
>
> Dim opts As LaunchFormOptions = New LaunchFormOptions()
> opts.ValueIn = "ProjectID"
>
> ProcessCaller,LaunchForm(oTrans,"Epicor.Mfg.UIProc.GenerateAnalysis.dll", opts)
>
>
> ________________________________
> From: adrian.lauchlan <adrianlauchlan@...>
> To: vantage@yahoogroups.com
> Sent: Monday, March 12, 2012 6:01 PM
> Subject: [Vantage] Re: Add a process to a Dashboard
>
> Got it!
>
> Instead of the call I replaced it with
>
> ProcessCaller,LaunchForm(oTrans,"Epicor.Mfg.UIProc.GenerateAnalysis.dll")
>
> Only problem is I can't filter so just need to work out how to pass a parameter to it to identify the Project that needs a rebuild
>
> Suggestions?
>
> --- In vantage@yahoogroups.com, "adrian.lauchlan" <adrianlauchlan@> wrote:
> >
> > Nearly there!
> >
> > Got the Action Item but getting a syntax on the tool.
> > Error: CS1002 - line 100 (230) - ; expected
> >Â Error: CS1525 - line 100 (230) - Invalid expression term '.'
> >Â Error: CS1002 - line 100 (230) - ; expected
> >Â
> > Line 100 is the call
> >
> > Code so far below
> >
> > private static void MainController_Load(object sender, EventArgs args)
> > Â Â Â {
> > Â Â Â Â Â Â // Add Event Handler Code
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // add Build Analysis to actions menu
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Infragistics.Win.UltraWinToolbars.ButtonTool buildanalysis = new Infragistics.Win.UltraWinToolbars.ButtonTool("Build Analysis");
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â buildanalysis.SharedProps.Caption = "Build Analysis";
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â if (baseToolbarsManager.Tools.Exists("Build Analysis") == false)
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â baseToolbarsManager.Tools.Add(buildanalysis);
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Infragistics.Win.UltraWinToolbars.PopupMenuTool pop = default(Infragistics.Win.UltraWinToolbars.PopupMenuTool);
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â pop = (Infragistics.Win.UltraWinToolbars.PopupMenuTool)baseToolbarsManager.Tools["ActionsMenu"];
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â pop.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] { buildanalysis });
> > Â Â Â
> > Â Â Â
> > Â Â Â }
> >
> >
> > Â Â Â private static void baseToolbarsManager_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs args)
> > Â Â Â {
> > Â Â Â Â Â Â switch (args.Tool.Key)Â Â Â Â Â Â {
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â case "Build Analysis":
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â call Epicor.Mfg.UIProc.GenerateAnalysis.dll;
> > Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â break;
> > Â Â Â Â Â Â }
> > Â Â Â
> > Â Â Â }
> >
> > --- In vantage@yahoogroups.com, "Brian Roberts" <broberts@> wrote:
> > >
> > > Assuming you're comfortable with developer mode... the sample code below
> > > goes in the form load method, you'll need to change names etc. Its not
> > > from a dashboard, but should work identically. Then handle the tool
> > > click method, which is called when somebody clicks on that button
> > > (=actions menu item). There have been other action menu examples posted
> > > on this list in the past, if you want more examples.
> > >
> > >Â
> > >
> > > Brian.
> > >
> > >Â
> > >
> > >Â
> > >
> > > In form load:
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â // add Method Tracker to actions menu
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â Infragistics.Win.UltraWinToolbars.ButtonTool
> > > methodtracker = new
> > > Infragistics.Win.UltraWinToolbars.ButtonTool("MethodTracker");
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â methodtracker.SharedProps.Caption = "Method
> > > Tracker";
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â if
> > > (baseToolbarsManager.Tools.Exists("MethodTracker") == false)
> > >
> > >Â
> > > baseToolbarsManager.Tools.Add(methodtracker);
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â Infragistics.Win.UltraWinToolbars.PopupMenuTool
> > > pop = default(Infragistics.Win.UltraWinToolbars.PopupMenuTool);
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â pop =
> > > (Infragistics.Win.UltraWinToolbars.PopupMenuTool)baseToolbarsManager.Too
> > > ls["ActionsMenu"];
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â pop.Tools.AddRange(new
> > > Infragistics.Win.UltraWinToolbars.ToolBase[] { methodtracker });
> > >
> > >Â
> > >
> > > And in tool click:
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â switch (args.Tool.Key) {
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â case "MethodTracker":
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â callMethodTracker();
> > >
> > >Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â break;
> > >
> > >Â
> > >
> > > ________________________________
> > >
> > > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> > > Of adrian.lauchlan
> > > Sent: Monday, March 12, 2012 4:01 PM
> > > To: vantage@yahoogroups.com
> > > Subject: [Vantage] Re: Add a process to a Dashboard
> > >
> > >Â
> > >
> > >Â
> > >
> > > Thanks Brian
> > >
> > > I have deployed the Dashboard as described - how do I now add a process
> > > to the Action Menu?
> > >
> > > --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
> > > "Brian Roberts" <broberts@> wrote:
> > > >
> > > > Deploy the dashboard as a "smart client application" DLL on the menu
> > > --
> > > > not using the dashboard runtime. Then you can customize it like any
> > > > other Epicor screen using developer mode, which should include adding
> > > > items to the action menu.
> > > >
> > > >
> > > >
> > > > Brian.
> > > >
> > > >
> > > >
> > > > ________________________________
> > > >
> > > > From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> > > [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
> > > Behalf
> > > > Of adrian.lauchlan
> > > > Sent: Saturday, March 10, 2012 6:47 AM
> > > > To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> > > > Subject: [Vantage] Add a process to a Dashboard
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Is it possible to add a process to a dashboard. I have created a
> > > > dashboard to display jobs within a project which shows the Project
> > > Cost
> > > > and the individual Job Costs within that project. However the project
> > > > cost only gets updated after running Build Project Analysis in the
> > > > Project Entry screen under actions so the dashboard is not always up
> > > to
> > > > date.
> > > >
> > > > I would like to put this in the dashboard as an action or in a context
> > > > menu - is this possible?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
>
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note:Â You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.%c2%a0
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
> [Non-text portions of this message have been removed]
>