[InDataSet] is going Obsolete…
My Usecase: PageA lists records of TableA. Factbox (has SubPageLink with PageA) is located on PageA. TableA/Field1 (integer) shall be Visible only if value>0. Factbox shall be updated on record selection in PageA.
“global Boolean variable bound to Visible, usually marked with [InDataSet], and set in OnAfterGetCurrRecord or OnOpenPage, often followed by CurrPage.Update(false) so the client refreshes” → does not work for me
“If the condition depends on context (where it’s opened from), expose a public procedure on the FactBox and call it from the host page.” → public procedure on the factbox side and using a CurrPage.Factbox.Page.PublicProcedure(Rec) would NOT work either.
Seems that only fields' values are being updated while selecting another record in the main page. Everything visual only gets loaded OnPageOpen(). I also could update it OnInit().