This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Is it possible to change the plane of a page?
#2
Hi,

You cannot change the plan ID as it is related to the DB ID that is auto created when the plan, layout or widget is created, the objects on a page are also linked to this ID so changing the ID would result in missing references from visobjects on the page. If you create a plan this will get ID1, when creating a layout after that is will get ID2, adding another plan will get ID3 and adding a widget will get ID4, if you delete the first plan and recreate it it will get ID5 and ID1 will not exist anymore.

To get a list with ID's you can use this command:
Code:
result = db:getall('SELECT id, name, type FROM visfloors')
log(result)
A plan has no type (null) in the DB, otherwise type is layout or widget.

BR,

Erwin
Reply


Messages In This Thread
RE: Is it possible to change the plane of a page? - by Erwin van der Zwart - 16.04.2020, 20:41

Forum Jump: