I would like to make sure that above code should w...
# suitecommerce
l
I would like to make sure that above code should work for all version of SCA starting from denali to 2021.2, can any one please comment on this? in this code I only have child view called in two different ways.. Reason why I am asking that I am working on "Extension" and we don't know which version of SCA client is using....
s
For starters, you use the extensibility API, which is not available in versions before Aconcagua (2018.1)
And for versions newer than Aconcagua, you use core SCA modules which we don't recommend in SC extensions
l
got it, is there any way to check if site is using SCA or SC?
s
Yes, there is a
RELEASE_METADATA
property in the environment object; but as an extension developer you can also pre-emptively set the scope of your extension to only apply to certain types and versions of sites.
l
Sure, Make sense.. Thanks Steve