These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Get list of all custom fields on server (even if they are empty) on the new forum.
Using the virtualmin api, its great. However I am looking for a remote call to get a list of all the custom fields on a server.
Using list-custom I only get a list of domain fields with entries included. I need to get a list of all custom fields even if they are empty.
Is this possible. Any other ideas on how to get a list of all custom-fields on a server via the remote api?
Hi,
Can you provide a a few "custom fields" as an example which are currently not available?
Best Regards,
Peter Knowles
TPN Solutions
Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com
Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Thanks Peter, I ended up copying and editing /usr/share/webmin/virtual-server/list-custom.pl script to display all fields even if there were no values attributed for each respective domain.
John,
Sounds good!
Best Regards,
Peter Knowles
TPN Solutions
Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com
Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist