OnAfterGetCurrRecord does not fire

Toddy_BoyToddy_Boy Member Posts: 231
I'm trying to update a factbox from a list using the OnAfterGetCurrRecord however this seems to fire very intermittently - I can see this through code coverage but cannot work out why the record will not fire when it gets focus.

Any advice?


Life is for enjoying ... if you find yourself frowning you're doing something wrong

Best Answer

Answers

  • Toddy_BoyToddy_Boy Member Posts: 231
    NAV 2013
    Life is for enjoying ... if you find yourself frowning you're doing something wrong
  • vremeni4vremeni4 Member Posts: 323
    Hi,

    Per definition factbox is supposed to be used only to show the data. If you look at Microsoft website it says.
    A FactBox displays additional information to the user in a pane located on the right of the main page display area.

    when you say in your email
    I'm trying to update a factbox fr
    I hope you mean you want to refresh the factbox.

    If you really want to update the factbox, then use a subpage or you can write a controladdin that will allow you to do this.

    In general if you setup the fact box correctly it will update when the record changes.
    Have a look at the providerID property
    https://msdn.microsoft.com/en-us/library/dd338635.aspx

    I hope this helps.
Sign In or Register to comment.