cnsChangeViewName

Changes the ID of the given view.

Synopsis

bool cnsChangeViewName(string view, langString newViewName);

Parameters

Parameter Description
view The ID path of the view
newViewName The new ID of the view

Return value

Returns TRUE if successful or FALSE in case of an error.

Errors

-

Description

This function changes the ID of the given view.

main()
{
  cnsChangeViewName("System1.ViewA:", "ViewB");
}

Availability

UI, CTRL