getfeaturelist does not list all features?

nesanjoseph

Active Member
Dec 31, 2010
31
0
56
Hi,

I was trying to get the list of features available in cPanel using call "getfeaturelist". But in the output XML received, I could not see many features in the XML content. I added a new cPanel plugin and I could see that in WHM console (in feature list), but not in the XML returned by getfeaturelist. Am I missing something or this is the expected behavior?

Many thanks,
Nesan Joseph R.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi,

I was trying to get the list of features available in cPanel using call "getfeaturelist". But in the output XML received, I could not see many features in the XML content. I added a new cPanel plugin and I could see that in WHM console (in feature list), but not in the XML returned by getfeaturelist. Am I missing something or this is the expected behavior?

Many thanks,
Nesan Joseph R.
Your cPanel Plugin, when you go to edit a Feature List in WHM (WHM -> Packages -> Feature Manager), is it listed there?
 

nesanjoseph

Active Member
Dec 31, 2010
31
0
56
Hi,

I am able to see the plugin I installed in WHM console (in feature manager), but it is not getting listed when using the API call getfeaturelist. Is there a way I can check through API if a plugin is installed or not by giving the plugin name? Or by seeing a location ? any other workaround?

Many thanks,
Nesan Joseph R.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi,

I am able to see the plugin I installed in WHM console (in feature manager), but it is not getting listed when using the API call getfeaturelist. Is there a way I can check through API if a plugin is installed or not by giving the plugin name? Or by seeing a location ? any other workaround?

Many thanks,
Nesan Joseph R.
Hmm, that's an inconsistency. I recommend getting a ticket in about this so we can investigate more closely as we may need to fix something in our code - feel welcome to post or PM me your ticket number once it's in the system.
 

nesanjoseph

Active Member
Dec 31, 2010
31
0
56
Hi,

I contacted the support and they confirmed there is no issue in the API call. "getfeaturelist" gets the list from the WHM master feature list whereas I was expecting my cPanel plugin (dynamicui) to be listed in that API request! :cool:

Regards,
Nesan Joseph R.