Disabling Personalize option on the List Page form using X++ in Dynamics AX 2012 R3

Hi Guys,

How to disable the personalize option on the ListPAge form using in X++ In AX 2012 r3

Thanks in Advance

Based on the current record I need to disable

override the init method and put the following code

element.blockpersonlization(true)