Get Components on SCA Domains

We can get components based on https://system.netsuite.com/help/helpcenter/en_US/APIs/SuiteCommerce/Extensibility/Frontend/index.html added screenshot below for reference

var container = SC.Application(‘Shopping’)
var profile = container.getComponent(‘UserProfile’)

profile.getUserProfile().then(function(e){
console.log(e)
})

Leave a comment

Your email address will not be published. Required fields are marked *