You need the application.launch
privilege.
config.xml
<tizen:privilege name="http://tizen.org/privilege/application.launch"/>
Once the privilege is set, you can use window.tizen.launchAppControl()
.
const appIdFromSellerOffice = '0343289392' // You should know this and it also writes in the URL of the seller office
const appControl = new window.tizen.ApplicationControl(
'http://tizen.org/appcontrol/operation/view',
null,
null,
null,
[
new window.tizen.ApplicationControlData('Sub_Menu', ['detail']),
new window.tizen.ApplicationControlData('widget_id', [appIdFromSellerOffice]),
new window.tizen.ApplicationControlData('caller_id', [appIdFromSellerOffice]),
],
)
window.tizen.application.launchAppControl(appControl, 'com.samsung.tv.store', nullonSuccess, onError, null)