nextben
(Nextben)
February 4, 2016, 8:09am
1
Hello
I need to use a widget to display values of a custom variable i created. My url looks this "http://localhost:8888/piwik/index.php?module=Widgetize&action=iframe&widget=1&moduleToWidgetize=CustomVariables&actionToWidgetize=getCustomVariablesValuesFromNameId&idSubtable=1&idSite=1&period=day&date=yesterday&disableLink=1&widget=1 "
The values in the result widget are correct but when we click on the link “Open Row Evolution”, the popover displays the error message "Error: API returned an error: Please specify a value for ‘idSubtable’."
Am I doing wrong?
Thanks
Michal
February 10, 2016, 4:50pm
2
Hello,
It seems that the call itself is OK,
I’ve copied it into piwik demo:
http://demo.piwik.org/index.php?module=Widgetize&action=iframe&widget=1&moduleToWidgetize=CustomVariables&actionToWidgetize=getCustomVariablesValuesFromNameId&idSite=7&period=day&date=yesterday&disableLink=1&widget=1&idSubtable=1
and as you can see it works fine, and if I remove
idSubtable=1
from it, it returns the same error as the one you’ve experienced. Since you’re testing it on localhost I cannot really help you further, My advice is to check if the call is correct, maybe there is a typo somewhere?
Cheers,