Summary
lc_next_conf Does Not Retrieve All the Feature Names
Question
Why are not all features listed when using the lc_next_conf for retrieving feature list and feature information?
list = lc_feat_list(job, LM_FLIST_ALL_FILES, NULL);
for (i=0; list; i++)
{
conf = lc_next_conf(job, list, &c);
if(conf)
printf("Number %d. Detected feature \"%s\"\n", i, conf->feature);
else
printf("Number %d. Fail to detect feature \"%s\"\n", i, list);
}
Answer
We recommend using lc_get_config in place of lc_next_conf for retreiving feature information.
ex:
list = lc_feat_list(lm_job, LM_FLIST_ALL_FILES, 0);
for (i=0; list; i++)
{
conf = lc_get_config(lm_job, list);
if(conf)
printf("Number %d. Detected feature \"%s\"\n", i, conf->feature);
else
printf("Number %d. Fail to detect feature \"%s\"\n", i, list);
}
NOTE: lc_get_config and lc_next_conf do NOT retrieve authenticated data.
Additional Information
You can use lc_feat_list() to obtain the list of all available features from the server. After that, use lc_next_conf (starting with pos=0) in a loop to retrieve the CONFIGs for each feature.
Related Articles
"Could not retrieve dashboard" error in IT Visibility 20Number of Views Retrieve and Display List of Machine Names and IP Addresses On Domain To User 4Number of Views What is the meaning of received time in /features response of CLS REST API? 8Number of Views Can a license file contain two or more FEATURE lines for the SAME feature-name? 6Number of Views How Can a Client Program Determine That a Feature Was Checked Out From a FlexID Dongle? 7Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago