This guide is from Samsung 1:1 Q&A support to open App details page on App Store (smarthub) from your current app.
function launchSmartHub() {
var appName = 'com.samsung.tv.store';
var subMenu = 'detail';
var widgetID = 'xxxxx'; //Target app id on App Store, 13 numbers of App ID
var callerID = 'yyyyy'; //Current app ID. 13 numbers of App ID
var appControl = new window.tizen.ApplicationControl('http://tizen.org/appcontrol/operation/view', null, null, null, [
new window.tizen.ApplicationControlData("Sub_Menu", [subMenu]),
new window.tizen.ApplicationControlData("widget_id", [widgetID]),
new window.tizen.ApplicationControlData("caller_id", [callerID])
]);
window.tizen.application.launchAppControl(appControl, appName, function onLaunchSuccess() {
console.error("Launched Successfully---------------------");
}, function onLaunchError(e) {
console.error(e, "Error on AppControl Launch");
}, {
onsuccess: function() {
console.error("Reply Here");
}
});
/*
URL to app store is different per each year;
•2016 org.volt.apps
•2017 org.volt.apps
•2018 com.samsung.tv.store
•2019 com.samsung.tv.store
•2020 com.samsung.tv.store
•2021 com.samsung.tv.store
*/