Get Source Expression or Field Name with Field Caption in C/AL

Hi guys,

we have developed an addin for list pages. This addins search a specific value in a list. My problem with this is, that the microsoft dynamics nav framework dll does not know which field is focused. The dll only knows the caption of the list. This is a big problem, because if we transfer the caption back to NAV, we are not sure, which field of the page was focused.

My idea: Get the information in C/AL -> read the object blob reference to get the source expression with the control ID or the control caption. Unfortunately the blob reference is decoded.

Has anybody any idea, to get more information with C/AL to page controls? I know, that there is a new virtual table in Dynamics NAV 2018 "Page Control Field". I can solve my problem with this table in Dynamics NAV 2018, because I can transfer the control ID from the addin back to NAV. I am also looking for other solutions, because I need a solution for NAV 2013 to NAV 2018.

I also thought about exporting the object as text file, but this will only work with a developer licence.

Any hint will be appreciated. Thanks.

Best Answer

Answers

Sign In or Register to comment.