8.03X refresh code

Hi,

I want to add refresh/refresh all/clear buttons on to my Dashboard Tracker View, but I don't know whee to start.

I have read the emails below, but Im still unclear how you assign the code to a button on the tracker view.

I also want to add a refresh all and clear button - does anyone know how to do this?

Also I have a dashboard/tracker view and no matter what I try the data won't display when I click the standard vantage refresh button - it worked 2 days ago but doesn't work now.

I have tried all sort. The BAQ itself behing the dashboard retrieves the information with no problems.

I am running


> > if it is in a Dashboard you do it as follows:
> >
> > Customize the tracker View Panel
> >
> > In the Tree on the left, select the Top Node that looks
> > like a strange number (GUID) it will be something like
> > 078df35b-7288- 41b6-ab23- f1ce94913eec                                          {{{If I select it, nothing happens and cant edit it.}}}
> >
> > Then Replace all of the "-" with "_"
> >
> > And Add "DBTVP_" to the start as follows:
> >
> > DBTVP_078df35b_ 7288_41b6_ ab23_f1ce94913ee c.RefreshDB( )
> >
> > DBTVP (Stands for Dashboard Tracker View Panel)
> >
> > ResfreshDB() is the method to refresh.

Cheers,


CHRIS THOMPSON



________________________________
From: Stephen Edginton <stephene@...>
To: vantage@yahoogroups.com
Sent: Tuesday, 17 March, 2009 22:18:42
Subject: RE: [Vantage] 8.03X refresh code


Aaron,

Change to code as follows:

Dim DBTVP As Object =
DBTVP_078df35b_ 7288_41b6_ ab23_f1ce94913ee c

DBTVP.GetType( ).GetMethod( "RefreshDB" ,System.Reflecti on.BindingFlags. Ins
tance Or System.Reflection. BindingFlags. NonPublic) .Invoke(DBTVP, Nothing)

Change the GUID to be that of your dashboard and this
should work.

Regards,

Stephen

From: vantage@yahoogroups .com [mailto:vantage@yahoogroups .com] On Behalf
Of Aaron Hoyt
Sent: 17 March 2009 21:09
To: vantage@yahoogroups .com
Subject: Re: [Vantage] 8.03X refresh code

I am using the second method and in Vantage 8.03.407A.
Progress at the latest patch for said Vantage level. Applied both just
over a week ago.
Aaron

Stephen Edginton wrote:
>
> What version are you running
>
> From: vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
<mailto:vantage% 40yahoogroups. com>
> [mailto:vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
<mailto:vantage% 40yahoogroups. com>] On
> Behalf
> Of Aaron Hoyt
> Sent: 17 March 2009 19:21
> To: vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
<mailto:vantage% 40yahoogroups. com>
> Subject: Re: [Vantage] 8.03X refresh code
>
> Stephen or another talented programmer,
> I think I am almost there following instructions below, but what if I
> get an error message containing the following portion that seems
> relevant...
> "System.MissingMemb erException: Public member 'RefreshDB' on type
> 'DashboardTrackerVi ewPanel' not found."
> Any thoughts?
> Aaron
>
> Stephen Edginton wrote:
> >
> > Aaron,
> >
> > If it is within a Form and not a Dashboard then you
> > would use
> >
> > oTrans.Refresh( )
> >
> > if it is in a Dashboard you do it as follows:
> >
> > Customize the tracker View Panel
> >
> > In the Tree on the left, select the Top Node that looks
> > like a strange number (GUID) it will be something like
> > 078df35b-7288- 41b6-ab23- f1ce94913eec
> >
> > Then Replace all of the "-" with "_"
> >
> > And Add "DBTVP_" to the start as follows:
> >
> > DBTVP_078df35b_ 7288_41b6_ ab23_f1ce94913ee c.RefreshDB( )
> >
> > DBTVP (Stands for Dashboard Tracker View Panel)
> >
> > ResfreshDB() is the method to refresh.
> >
> > Hope this helps
> >
> > Regards,
> >
> > Stephen
> >
> > From: vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
<mailto:vantage% 40yahoogroups. com>
> <mailto:vantage% 40yahoogroups. com>
> <mailto:vantage% 40yahoogroups. com>
> > [mailto:vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
<mailto:vantage% 40yahoogroups. com>
> <mailto:vantage% 40yahoogroups. com>
> <mailto:vantage% 40yahoogroups. com>] On
> > Behalf
> > Of Aaron Hoyt
> > Sent: 17 March 2009 15:01
> > To: vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
<mailto:vantage% 40yahoogroups. com>
> <mailto:vantage% 40yahoogroups. com>
> <mailto:vantage% 40yahoogroups. com>
> > Subject: [Vantage] 8.03X refresh code
> >
> > Can anyone fill me in on the appropriate code to add to a
> customization
> > that will execute a refresh (either just refresh or refresh all). I
> > want to create a refresh button on a dashboard, but I don't know
> VB.Net
> > well enough (or at all as the case may be). Any help would be
> > appreciated.
> > Thanks ahead of time,
> > Aaron Hoyt
> > Vantage Plastics
> >
> > [Non-text portions of this message have been removed]
> >
> >
>
> [Non-text portions of this message have been removed]
>
>

[Non-text portions of this message have been removed]

__

[Non-text portions of this message have been removed]







[Non-text portions of this message have been removed]
Can anyone fill me in on the appropriate code to add to a customization
that will execute a refresh (either just refresh or refresh all). I
want to create a refresh button on a dashboard, but I don't know VB.Net
well enough (or at all as the case may be). Any help would be appreciated.
Thanks ahead of time,
Aaron Hoyt
Vantage Plastics
Aaron,

If it is within a Form and not a Dashboard then you
would use

oTrans.Refresh()



if it is in a Dashboard you do it as follows:



Customize the tracker View Panel

In the Tree on the left, select the Top Node that looks
like a strange number (GUID) it will be something like
078df35b-7288-41b6-ab23-f1ce94913eec

Then Replace all of the "-" with "_"

And Add "DBTVP_" to the start as follows:

DBTVP_078df35b_7288_41b6_ab23_f1ce94913eec.RefreshDB()



DBTVP (Stands for Dashboard Tracker View Panel)

ResfreshDB() is the method to refresh.



Hope this helps



Regards,

Stephen

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Aaron Hoyt
Sent: 17 March 2009 15:01
To: vantage@yahoogroups.com
Subject: [Vantage] 8.03X refresh code



Can anyone fill me in on the appropriate code to add to a customization
that will execute a refresh (either just refresh or refresh all). I
want to create a refresh button on a dashboard, but I don't know VB.Net
well enough (or at all as the case may be). Any help would be
appreciated.
Thanks ahead of time,
Aaron Hoyt
Vantage Plastics





[Non-text portions of this message have been removed]
Stephen or another talented programmer,
I think I am almost there following instructions below, but what if I
get an error message containing the following portion that seems
relevant...
"System.MissingMemberException: Public member 'RefreshDB' on type
'DashboardTrackerViewPanel' not found."
Any thoughts?
Aaron

Stephen Edginton wrote:
>
> Aaron,
>
> If it is within a Form and not a Dashboard then you
> would use
>
> oTrans.Refresh()
>
> if it is in a Dashboard you do it as follows:
>
> Customize the tracker View Panel
>
> In the Tree on the left, select the Top Node that looks
> like a strange number (GUID) it will be something like
> 078df35b-7288-41b6-ab23-f1ce94913eec
>
> Then Replace all of the "-" with "_"
>
> And Add "DBTVP_" to the start as follows:
>
> DBTVP_078df35b_7288_41b6_ab23_f1ce94913eec.RefreshDB()
>
> DBTVP (Stands for Dashboard Tracker View Panel)
>
> ResfreshDB() is the method to refresh.
>
> Hope this helps
>
> Regards,
>
> Stephen
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>] On
> Behalf
> Of Aaron Hoyt
> Sent: 17 March 2009 15:01
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] 8.03X refresh code
>
> Can anyone fill me in on the appropriate code to add to a customization
> that will execute a refresh (either just refresh or refresh all). I
> want to create a refresh button on a dashboard, but I don't know VB.Net
> well enough (or at all as the case may be). Any help would be
> appreciated.
> Thanks ahead of time,
> Aaron Hoyt
> Vantage Plastics
>
> [Non-text portions of this message have been removed]
>
>


[Non-text portions of this message have been removed]
What version are you running



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Aaron Hoyt
Sent: 17 March 2009 19:21
To: vantage@yahoogroups.com
Subject: Re: [Vantage] 8.03X refresh code



Stephen or another talented programmer,
I think I am almost there following instructions below, but what if I
get an error message containing the following portion that seems
relevant...
"System.MissingMemberException: Public member 'RefreshDB' on type
'DashboardTrackerViewPanel' not found."
Any thoughts?
Aaron

Stephen Edginton wrote:
>
> Aaron,
>
> If it is within a Form and not a Dashboard then you
> would use
>
> oTrans.Refresh()
>
> if it is in a Dashboard you do it as follows:
>
> Customize the tracker View Panel
>
> In the Tree on the left, select the Top Node that looks
> like a strange number (GUID) it will be something like
> 078df35b-7288-41b6-ab23-f1ce94913eec
>
> Then Replace all of the "-" with "_"
>
> And Add "DBTVP_" to the start as follows:
>
> DBTVP_078df35b_7288_41b6_ab23_f1ce94913eec.RefreshDB()
>
> DBTVP (Stands for Dashboard Tracker View Panel)
>
> ResfreshDB() is the method to refresh.
>
> Hope this helps
>
> Regards,
>
> Stephen
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>] On
> Behalf
> Of Aaron Hoyt
> Sent: 17 March 2009 15:01
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] 8.03X refresh code
>
> Can anyone fill me in on the appropriate code to add to a
customization
> that will execute a refresh (either just refresh or refresh all). I
> want to create a refresh button on a dashboard, but I don't know
VB.Net
> well enough (or at all as the case may be). Any help would be
> appreciated.
> Thanks ahead of time,
> Aaron Hoyt
> Vantage Plastics
>
> [Non-text portions of this message have been removed]
>
>





[Non-text portions of this message have been removed]
Otrans.refresh() method is not supported with appropriate BOs in many trackers.

Some trackers are little more than a hodgepodge of of dashboards so you have to use the second technique Stephen described for dashboards.

Rob

--- On Tue, 3/17/09, Aaron Hoyt <aaron.hoyt@...> wrote:

From: Aaron Hoyt <aaron.hoyt@...>
Subject: Re: [Vantage] 8.03X refresh code
To: vantage@yahoogroups.com
Date: Tuesday, March 17, 2009, 3:21 PM






Stephen or another talented programmer,
I think I am almost there following instructions below, but what if I
get an error message containing the following portion that seems
relevant...
"System.MissingMemb erException: Public member 'RefreshDB' on type
'DashboardTrackerVi ewPanel' not found."
Any thoughts?
Aaron

Stephen Edginton wrote:
>
> Aaron,
>
> If it is within a Form and not a Dashboard then you
> would use
>
> oTrans.Refresh( )
>
> if it is in a Dashboard you do it as follows:
>
> Customize the tracker View Panel
>
> In the Tree on the left, select the Top Node that looks
> like a strange number (GUID) it will be something like
> 078df35b-7288- 41b6-ab23- f1ce94913eec
>
> Then Replace all of the "-" with "_"
>
> And Add "DBTVP_" to the start as follows:
>
> DBTVP_078df35b_ 7288_41b6_ ab23_f1ce94913ee c.RefreshDB( )
>
> DBTVP (Stands for Dashboard Tracker View Panel)
>
> ResfreshDB() is the method to refresh.
>
> Hope this helps
>
> Regards,
>
> Stephen
>
> From: vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
> [mailto:vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>] On
> Behalf
> Of Aaron Hoyt
> Sent: 17 March 2009 15:01
> To: vantage@yahoogroups .com <mailto:vantage% 40yahoogroups. com>
> Subject: [Vantage] 8.03X refresh code
>
> Can anyone fill me in on the appropriate code to add to a customization
> that will execute a refresh (either just refresh or refresh all). I
> want to create a refresh button on a dashboard, but I don't know VB.Net
> well enough (or at all as the case may be). Any help would be
> appreciated.
> Thanks ahead of time,
> Aaron Hoyt
> Vantage Plastics
>
> [Non-text portions of this message have been removed]
>
>

[Non-text portions of this message have been removed]
I am using the second method and in Vantage 8.03.407A.
Progress at the latest patch for said Vantage level. Applied both just
over a week ago.
Aaron


Stephen Edginton wrote:
>
> What version are you running
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>] On
> Behalf
> Of Aaron Hoyt
> Sent: 17 March 2009 19:21
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: Re: [Vantage] 8.03X refresh code
>
> Stephen or another talented programmer,
> I think I am almost there following instructions below, but what if I
> get an error message containing the following portion that seems
> relevant...
> "System.MissingMemberException: Public member 'RefreshDB' on type
> 'DashboardTrackerViewPanel' not found."
> Any thoughts?
> Aaron
>
> Stephen Edginton wrote:
> >
> > Aaron,
> >
> > If it is within a Form and not a Dashboard then you
> > would use
> >
> > oTrans.Refresh()
> >
> > if it is in a Dashboard you do it as follows:
> >
> > Customize the tracker View Panel
> >
> > In the Tree on the left, select the Top Node that looks
> > like a strange number (GUID) it will be something like
> > 078df35b-7288-41b6-ab23-f1ce94913eec
> >
> > Then Replace all of the "-" with "_"
> >
> > And Add "DBTVP_" to the start as follows:
> >
> > DBTVP_078df35b_7288_41b6_ab23_f1ce94913eec.RefreshDB()
> >
> > DBTVP (Stands for Dashboard Tracker View Panel)
> >
> > ResfreshDB() is the method to refresh.
> >
> > Hope this helps
> >
> > Regards,
> >
> > Stephen
> >
> > From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> > [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>] On
> > Behalf
> > Of Aaron Hoyt
> > Sent: 17 March 2009 15:01
> > To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] 8.03X refresh code
> >
> > Can anyone fill me in on the appropriate code to add to a
> customization
> > that will execute a refresh (either just refresh or refresh all). I
> > want to create a refresh button on a dashboard, but I don't know
> VB.Net
> > well enough (or at all as the case may be). Any help would be
> > appreciated.
> > Thanks ahead of time,
> > Aaron Hoyt
> > Vantage Plastics
> >
> > [Non-text portions of this message have been removed]
> >
> >
>
> [Non-text portions of this message have been removed]
>
>


[Non-text portions of this message have been removed]
Aaron,

Change to code as follows:



Dim DBTVP As Object =
DBTVP_078df35b_7288_41b6_ab23_f1ce94913eec

DBTVP.GetType().GetMethod("RefreshDB",System.Reflection.BindingFlags.Ins
tance Or System.Reflection.BindingFlags.NonPublic).Invoke(DBTVP,Nothing)



Change the GUID to be that of your dashboard and this
should work.



Regards,

Stephen



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Aaron Hoyt
Sent: 17 March 2009 21:09
To: vantage@yahoogroups.com
Subject: Re: [Vantage] 8.03X refresh code



I am using the second method and in Vantage 8.03.407A.
Progress at the latest patch for said Vantage level. Applied both just
over a week ago.
Aaron

Stephen Edginton wrote:
>
> What version are you running
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>] On
> Behalf
> Of Aaron Hoyt
> Sent: 17 March 2009 19:21
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> Subject: Re: [Vantage] 8.03X refresh code
>
> Stephen or another talented programmer,
> I think I am almost there following instructions below, but what if I
> get an error message containing the following portion that seems
> relevant...
> "System.MissingMemberException: Public member 'RefreshDB' on type
> 'DashboardTrackerViewPanel' not found."
> Any thoughts?
> Aaron
>
> Stephen Edginton wrote:
> >
> > Aaron,
> >
> > If it is within a Form and not a Dashboard then you
> > would use
> >
> > oTrans.Refresh()
> >
> > if it is in a Dashboard you do it as follows:
> >
> > Customize the tracker View Panel
> >
> > In the Tree on the left, select the Top Node that looks
> > like a strange number (GUID) it will be something like
> > 078df35b-7288-41b6-ab23-f1ce94913eec
> >
> > Then Replace all of the "-" with "_"
> >
> > And Add "DBTVP_" to the start as follows:
> >
> > DBTVP_078df35b_7288_41b6_ab23_f1ce94913eec.RefreshDB()
> >
> > DBTVP (Stands for Dashboard Tracker View Panel)
> >
> > ResfreshDB() is the method to refresh.
> >
> > Hope this helps
> >
> > Regards,
> >
> > Stephen
> >
> > From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> > [mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>] On
> > Behalf
> > Of Aaron Hoyt
> > Sent: 17 March 2009 15:01
> > To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> <mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] 8.03X refresh code
> >
> > Can anyone fill me in on the appropriate code to add to a
> customization
> > that will execute a refresh (either just refresh or refresh all). I
> > want to create a refresh button on a dashboard, but I don't know
> VB.Net
> > well enough (or at all as the case may be). Any help would be
> > appreciated.
> > Thanks ahead of time,
> > Aaron Hoyt
> > Vantage Plastics
> >
> > [Non-text portions of this message have been removed]
> >
> >
>
> [Non-text portions of this message have been removed]
>
>

[Non-text portions of this message have been removed]

__



[Non-text portions of this message have been removed]