Factbox with code

MortenSteengaard
Member Posts: 144
Hi experts,
We are talking about NAV 2015.
I have made a factbox with some lines in.
I would like that my code would be run, when the user press a button inside the factbox (on every line or one single button below the lines). The code should work with the active line in the factbox.
Otherwise the code may be run when the user double click on a line in the factbox.
How can I do something like that?
Best regards,
Morten
We are talking about NAV 2015.
I have made a factbox with some lines in.
I would like that my code would be run, when the user press a button inside the factbox (on every line or one single button below the lines). The code should work with the active line in the factbox.
Otherwise the code may be run when the user double click on a line in the factbox.
How can I do something like that?
Best regards,
Morten
0
Answers
-
The solution was to change the pagetype of the page to "Listpart" and make a page action.
Morten0 -
does it work in Cloud BC?0
-
Hi julkifli33,
I don't know if this works in BC. This is what happened in NAV 2015:
My new page with lines worked fine as a factbox. When I changed the pagetype to "Listpart", my page action button suddenly showed up.
But I couldn't find a way to make it work completely, so I made another solution.
The problem was that when the user pressed the action button, I wanted it to do something with the current record in the header page (which was also a list). I couldn't find out, how to connect the two pages.
And on a Microsoft forum, someone told me that double click is not an option in NAV.
Best regards,
Morten0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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