12-06-2010 03:32 AM
Hi,
I am trying to setup a generic user/role concept where the properties and rights should be stored in a database. Therefore I also have to call vi server properties dynamically. The property names and values shell be read from the database. Is it possible to make a vi server call in such dynamic manner - not only the value for the property shell be set - also the property name.
Best Regards,
--
Joachim
12-06-2010 04:03 AM
Joachim,
reading your post does not explain to me what you are up to.
Nevertheless, you cannot configure the property node to change the property you want to access to be dynamic. So if you need something like this, you have to limit the "accessable" properties to a certain set and use a case structure/state machine to address them.
hope this helps,
Norbert
12-06-2010 04:05 AM
Short answer - the Generic class does have a method called Set Property which does this, but it is private (so you can't access it) and it uses an index (which is undocumented, so you don't know which values to use). It's quite possible that it doesn't even work as you would expect.
You can try doing something like what the property saver does, but it will require quite a lot of work - http://www.kshif.com/lv/index.html
12-06-2010 04:07 AM
Norbert,
I think the case structure with a limit set of properties would be the solution for my problem. Thanks a lot for your answer.
Best Regards,
--
Joachim