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.

Get config
#1
Hi
Please help me. I'm looking for a function which returns 'config' table. A function which is opposite to grp.create(config).
Or at least enums part of the config table.
What I want to do is a function that copies settings of one group object to another.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply
#2
Hi,

I think you are searching for grp.find(address), this returns all parameters of the found object.

By using a db.update you should be able to transfer values from the found object to another target object.

But why don’t you use the mass edit option for this?

BR,

Erwin
Reply
#3
grp.find doesn't return enums. Or maybe there's a way how to get it but I don't know how.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Reply


Forum Jump: