Skip to Content
0
Jun 08 at 09:13 PM

Editor error : Property 'MESSAGE_TYPE_ERROR' does not exist on type 'IGuiUtils'

327 Views

Hi,

We just migrated from SP10 to SP12 and the Personas script editor is now highlighting in red the following errors :

Property 'MESSAGE_TYPE_ERROR' does not exist on type 'IGuiUtils'

Property 'MESSAGE_OPTION_OK' does not exist on type 'IGuiUtils'.

for the code :

session.utils.showOptionDialog(" Error", "Error raised. Contact your support.", session.utils.MESSAGE_TYPE_ERROR, session.utils.MESSAGE_OPTION_OK,onOptionDialogClose, "1" );

It does not seem to cause problem at runtime but it is still annoying.

Do you know how to resolve this issue ?

Thank you