Page

Hi All

is it possible to add button on a page. If it isn’t how can I disable some action (ex. some action under Related Information)

Thanks

Button means we can add action and Promote it…

To Disable, Open Page in design mode,

Select last blank line, click View–>Page Actions

Select Action, set Visible = FALSE

but I need to do that with code ( if certain conditions are met then action is enabled, otherwise not)IF…Action enabled else action disabled

I need this code wich appears in the form to be modified for page

IF … THEN

CurrForm.SomeButton.ENABLED(FALSE)

ELSE

CurrForm.SomeButton .ENABLED(TRUE)

You can add a boolean variable with IncludeInDataset to yes(in properties)

and add the boolean in Action Visible Property

Write your codition in OnOpen Page…

I guess it works only from OnOpen Page…

Mohana

Is it possible action to be visible but non functional. so

If…Then Action functional

ELSE

Action non functional but visible

Thanks

You can check the condition onPush trigger of action and ececute code if condition true…