views { addlast { view(Invoicing) { Caption = 'Invoicing'; Visible = true; SharedLayout = false; OrderBy = descending(...); Filters = where(...); layout { // hide modify("Opportunity No.") { Visible = false; } // show modify("Bill-to Customer No.") { Visible = true; } modify("Bill-to Name") { Visible = true; } } } }
Answers
Create a function on your page like: Then calling the page OnDrillDown with:
It's not the fanciest code but worked for me before.
And i hope it works in AL!
I hoped for something to do CurrPage.ActivateView() or <viewname>.Enable, but i cant find anything like this.
Also there is the property "AccessByPermission" but I haven't used this for just a field. So I dont know if it will hide it definitely or just pop an error when the user open the page.