[Business Central 15] How to check publisher parameters

Yangten
Member Posts: 5
Hi everyone,
I've question about checking publisher parameters. For me it don't make sense, so I probably do something wrong.
For example:
When I create subscriber for OnResolveTextFilterToken publisher (Codeunit "Filter Tokens", BC15) I don't know how to check it's parameters:
1) IntelliSense in Visual Studio Code doesn't show any hint about it's parameters.
2) When I try "Go to definition" function I've message "No definition found for OnResolveTextFilterToken". Symbols have been downloaded.
3) This codeunit (41) is a system codeunit, so it's come from Microsoft_System_Application_ProperVersion.app. When I use "Open in AL Object Browser" function for this app I see this codeunit. Unfortunatelly, when I try use "Do to definition", I see empty / blank dal file (Filter%20Tokens.dal) - it's probably because it's system object.
So Microsoft give us a lot of useful codeunits but they are useless if we don't know how to use them. I don't get this. Do you have any solutions for this? I'm thinking about includeCSIDE parameter when I create container - maybe there codeunit 41 and functions will be visible but this is time consuming and unconfortable way to check parameters.
I've question about checking publisher parameters. For me it don't make sense, so I probably do something wrong.
For example:
When I create subscriber for OnResolveTextFilterToken publisher (Codeunit "Filter Tokens", BC15) I don't know how to check it's parameters:
1) IntelliSense in Visual Studio Code doesn't show any hint about it's parameters.
2) When I try "Go to definition" function I've message "No definition found for OnResolveTextFilterToken". Symbols have been downloaded.
3) This codeunit (41) is a system codeunit, so it's come from Microsoft_System_Application_ProperVersion.app. When I use "Open in AL Object Browser" function for this app I see this codeunit. Unfortunatelly, when I try use "Do to definition", I see empty / blank dal file (Filter%20Tokens.dal) - it's probably because it's system object.
So Microsoft give us a lot of useful codeunits but they are useless if we don't know how to use them. I don't get this. Do you have any solutions for this? I'm thinking about includeCSIDE parameter when I create container - maybe there codeunit 41 and functions will be visible but this is time consuming and unconfortable way to check parameters.
0
Best Answer
-
Intellisense does show the event parameters. You do need to make sure the subscription itself is correct first though.
Once the event parameters are set, put your cursor in the parameters section and hit Ctrl+Space. Arrow up if they don't show up in the screen right away, they are sometimes pushed down the order by other options
Here's a screenshot:
5
Answers
-
Intellisense does show the event parameters. You do need to make sure the subscription itself is correct first though.
Once the event parameters are set, put your cursor in the parameters section and hit Ctrl+Space. Arrow up if they don't show up in the screen right away, they are sometimes pushed down the order by other options
Here's a screenshot:
5 -
Yup, you have right. It works. Thank you very much.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