web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Factbox with code

(0) ShareShare
ReportReport
Posted on by 555

Hi experts,

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

I have the same question (0)
  • Verified answer
    YUN ZHU Profile Picture
    95,085 Super User 2025 Season 2 on at
    RE: Factbox with code

    Hi, I think you can refer to Sales Line Subform and Customer Picture. There are some buttons here in the Part.
    Also, as far as I know, there is no double-click trigger in NAV, so you can't do double-click to run code. But if CardPageID is set, double-click can open the set Card Page.

    pastedimage1652226402821v1.png

    pastedimage1652226428418v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Morten Steengaard Profile Picture
    555 on at
    RE: Factbox with code

    Hi ZHU.

    Thank you very much. That was very helpful.

    Best regards,

    Morten

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,622

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 3,531 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,946 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans