Preview Config Options

Hi

Using PHPMaker 2020

I have setup a Masterdetail Page and am using the Preview Extension so when I go to the list page - duration_lookup10list.php I have the Plus Sign and when clicked it expandsand shows the relevant records

I have added an edit option so when logged in i get an options button which has the Edit Option but it also has a coincidence option which opens up the records - can I just have the Edit Option and hide the other ?

Regards

John

I have added an edit option

Did you add the option in ListOptions_Load/Rendered server event? You may post your code for discussion.

Hi

No I simply ticked the edit box on the table Options


Regards

John B

You may try to set the permissions of the detail table, e.g. you may try to use Page_Load() server event of the Preview page of the detail table and set:

Security()->setCanView(FALSE);

Thanks, it did not seem to make any difference

Regards

John B

johnberman wrote:

and hide the other ?

Please explain it in more detail for more discussion.