Context Sensitive Help not working on Page Extensions
Describe the bug Defined ContextSensitiveHelpURL in App.Json and also defined second part of URL on Customer Card Page Extension but the issue is when we are running the customer card page and clicking Learn More on Extension fields on Customer, it is still opening Microsoft Help page not the added help url.
To Reproduce Steps and to reproduce the behavior:
-
Define ContextSensitiveHelpURL in App.Json

-
Define ContextSensitiveHelpPage on Customer Card Extension

Expected behavior When clicking Ctrl+F1 on Customer Card on the extension fields, system should open the defined Help URL but it is opening the microsoft help documentation
Screenshots
Open Customer Card-> Click on Learn More on extension field

Default Microsoft Opens

Versions:
- AL Language: 3.0.126610
- Business Central: Version: Platform 14.0.29530.31705 + Application 31808 (W1 14.0)
Hi @Rachit14, is the field "Mobile No" defined in your page extension or in the base page you are extending?
The property ContextSensitiveHelpPage on page extensions does not re-direct the help links for page fields defined in the base or another page extension, but defines the help link for the new page fields created in this page extension. This is mentioned in our online documentation:
For page extensions, the value of the ContextSensitiveHelpPage property will apply only to the controls that the page extension adds to the extended page objects. For example, if your page extension adds two new controls to the base application's Customer Card page, then the Learn more links in the tooltips for those two controls will go to the Help page that you have specified, and the Learn more links in the rest of the controls will go to the default Help that is specified in the base application. This way, multiple apps can extend the same page object and each apply their own content-sensitive Help link without overwriting the context-sensitive links for other apps
Hi @qutreson
Yes "Mobile No" is defined new in our page extension. It is not the base field.
Hi @Rachit14, is the field "Mobile No" defined in your page extension or in the base page you are extending?
The property ContextSensitiveHelpPage on page extensions does not re-direct the help links for page fields defined in the base or another page extension, but defines the help link for the new page fields created in this page extension. This is mentioned in our online documentation:
For page extensions, the value of the ContextSensitiveHelpPage property will apply only to the controls that the page extension adds to the extended page objects. For example, if your page extension adds two new controls to the base application's Customer Card page, then the Learn more links in the tooltips for those two controls will go to the Help page that you have specified, and the Learn more links in the rest of the controls will go to the default Help that is specified in the base application. This way, multiple apps can extend the same page object and each apply their own content-sensitive Help link without overwriting the context-sensitive links for other apps
Hi @qutreson Looking forward to hear from you. I have been able to research a little bit about this topic further. I found out that context-help is working for the extension fields which are not added in any group on the page extension like when field is directly placed onafter any current field on page it is working. But unfortunately the application we are working on has a group design on 80% of page extension for better and clean view to the user. Kindly let me know if any other properties needs to be set on group to enable context-help?
Hi @Rachit14, thank you for your investigation, I will have a look and see if I can reproduce the issue. There shouldn't be any other properties to set on the group level. It sounds like a bug.
I could reproduce the issue based on your investigation. It is the bug in the compiler.
I could reproduce the issue based on your investigation. It is the bug in the compiler.
Thanks for confirmation. When we can expect this to be resolved?
I'm fixing it now in our master branch and will backport it so that it will be available with one of the CUs of the Spring 19 release. My guess is that it will be coming with CU 2.
The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 33236 and VS Code Extension Version 4.0.140004.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read: https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/ https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/