cns_changeViewName
Changes the ID of the given view.
Synopsis
bool cns_changeViewName(string id, string newId);
Parameters
Parameter | Description |
---|---|
id | ID path of the view |
newId | New ID of the view |
Return value
Possible return values:
-
TRUE => Name successfully changed
-
FALSE => An error occurred
Errors
Possible errors:
-
Given ID path does not exist
-
New ID is already used
Description
This function changes the ID of the given view.
main()
{
cns_changeViewName("MyFirstView:", "MySecondView");
}
Availability
UI, CTRL