Harley
02/07/2021, 11:58 AMHeader.Logo.View using the addToViewContextDefinition function of the extensibility API:
INVALID_PARAM: The specified view_id (Header.Logo.View) is not valid for the current component or the callback is not a function.
However I can use the exact same code but change it to the Header.Profile.View and it executes fine. Is there something I'm missing about the Logo view? Has anyone else had this issue before?
Here is my code snippet:
layout.addToViewContextDefinition('Header.Logo.View', 'basel', 'object', function() {
var header = container.getConfig('baselTheme.header') || {};
return {
resizeId: header.logoResizeId
};
});
I have attempted adding a console log within the callback function at the start, but it doesn't even get to the log before the error above is thrown.
Any assistance appreciated.Greg
02/07/2021, 4:27 PMkkennedydesign
02/07/2021, 5:45 PMHarley
02/07/2021, 10:33 PMgetContext function to circumnavigate the issue?kkennedydesign
02/07/2021, 10:50 PMMohammad Sharaf Ali
02/12/2021, 1:20 AM