Get list of all custom fields on server (even if they are empty)

4 posts / 0 new
Last post
#1 Sun, 01/25/2015 - 19:21
john.williams43

Get list of all custom fields on server (even if they are empty)

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?

Sun, 01/25/2015 - 22:08
tpnsolutions
tpnsolutions's picture

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
Thu, 01/29/2015 - 18:49
john.williams43

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.

Fri, 01/30/2015 - 23:35
tpnsolutions
tpnsolutions's picture

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
Topic locked