Force an update of a Role Center page
AlbertoS
Member Posts: 3
Hi to all Mibuso people
,
I am new here and already have a question, but can someone help me with this:
Within a Role Center Page there is some need for me to display current information. The information on the Role Center Page displayed is static information from the moment of invocation of this page. To let the Role Center Page act more dynamic, it is desirable to offer more update moments. (In different parts of the RC, so forcing an update of the whole RC Page looks needed.)
After some investigation it seems this is not possible, within the possibilities of RC pages. Since there is no trigger code allowed in pages of the type Role Center.
Is this conclusion correct or are there other ways Dynamics NAV 2009 to provide parts of the Role Center with current database information?
( :idea: )
Tanks a lot!
Alberto Sturkenboom
a.sturkenboom@herke.nl
I am new here and already have a question, but can someone help me with this:
Within a Role Center Page there is some need for me to display current information. The information on the Role Center Page displayed is static information from the moment of invocation of this page. To let the Role Center Page act more dynamic, it is desirable to offer more update moments. (In different parts of the RC, so forcing an update of the whole RC Page looks needed.)
After some investigation it seems this is not possible, within the possibilities of RC pages. Since there is no trigger code allowed in pages of the type Role Center.
Is this conclusion correct or are there other ways Dynamics NAV 2009 to provide parts of the Role Center with current database information?
( :idea: )
Tanks a lot!
Alberto Sturkenboom
a.sturkenboom@herke.nl
0
Comments
-
I'm guessing you are looking for some type of timer that gets triggered?
You can look at addin and freddy has posted an example.
You can use the timer to trigger code in nav and write some code with windows scripting host object to hit F5.0 -
Hi Rashed,
Tanks for the reply, I am some steps further now.
The first problem was force a refresh on a Role Center Page, and I found that a reload(update) the Role Center Page is done by pressing SHIFT+F12. So with this code this can be done:IF ISCLEAR(wSHShell) THEN CREATE(wSHShell, TRUE, TRUE); wSHShell.SendKeys('+{f12}');
This works \:D/ but it would be nice if I could do this with a timer, like you said. Could not find the example from freddy...
But found something else a .NET-Based Timer .
It looks nice, but I want to have this timer running only when the user has the Role Center open. Maybe this can be done by obtaining the current navigationpath of the RTC. If this is [company] or [company]\home the timer is running and will update the RC page.
:?: Do you or someone else know how obtain current navigationpath of the RTC
Tanks a lot again
0 -
Take a look at Automation Navision.Timer
0 -
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

