Open object in design-mode

Nosta
Member Posts: 31
Hi all,
does anyone know the way to open any NAV object (form/report/dataport) in design mode (Ctrl+F2)?
SendKeys method and so on are not suitable in my case. Obviously, some add-on could be used for this purposes, just want to ensure that there are no standard methods to do this. Would be happy if I'm wrong
Now I'm playing around with winapi32, but it seems to be exhausting a bit.
br\Gennadii
does anyone know the way to open any NAV object (form/report/dataport) in design mode (Ctrl+F2)?
SendKeys method and so on are not suitable in my case. Obviously, some add-on could be used for this purposes, just want to ensure that there are no standard methods to do this. Would be happy if I'm wrong

Now I'm playing around with winapi32, but it seems to be exhausting a bit.
br\Gennadii
0
Answers
-
Since you're asking for "how to open any object in design mode"
You can go to the menu tools, and select object designer (ctrl+F12)
Then you select the object of your desire and press the design button (alt+d)0 -
Perfect!
your answer is absolutely correct, but my question is not )
Sorry, I forgot to mention that I need to do so from C/AL.0 -
There is no standard way of doing so.
If you succeed in this task I presume that your the first one to achieve this.
IF your goal is to change the code on runtime and use the new object THEN
I would suggest to stop searching now;
Try to analyse your problem from a different kind of view;
END ELSE
Go ahead try to open them, but I fear it is not impossible;
(alterd post to make more sense)0 -
I don't want to change the code, just open forms and(or) reports in design mode, make some manipulations and close them without any changes.0
-
Nosta wrote:make some manipulations and close them without any changes.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
by "manipulations" I meant a need to show some dialogboxes, make a screenshot, for example, etc., but do not make any changes in "designed" objects.0
-
I see: you want to create some technical documentation of the NAV objects, automatically created by the system :-kNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Yes, you're right ) I develop a tool to generate technical documentation on selected NAV objects. and I need to run particular object in design mode. as for now, I'm using SendKeys from 'Windows Script Host Object Model' library, but it works with active window only and doesn't allow user to switch input focus to any other application, thus. Moreover, it will not work on Vista and Server 2008. that's why I'm looking for any other workaround.
now, when I laid my cards on the table, do you have any ideas how it could be done by C/AL?0
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