Hello All, Is there any way to only allow SCA user...
# suitecommerce
l
Hello All, Is there any way to only allow SCA user to use our extension, I mean in manifest.json file while deploying can I add specific target? So once I deployed this extension, SCS user will not see them..
s
Yes, set this in the manifest
Copy code
"target": "SCA"
l
That make sense, BUT while deploying tool asked me for "Set the target version of SCA" I entered >=18.1.0 and then it asked for "Set the target version of SCS", I enter nothing, still extension is showing for SCS site.
s
I’m pretty sure there’s a question before that asks what type of site you are targeting, and you should only answer ‘SCA’, no?
l
previous question was- Select supported products and the I selected "SuiteCommerce Online"
but there were not any question which says "type of site you are targeting?"
Below are the questions- ? Vendor: Vendor ? Name: MyExtension ? Fantasy Name: MyExtension ? Version: 1.0.0 ? Description: MyExtension ? Select supported products (Press <space> to select) SuiteCommerce Online ? Set the target version of SCA >=18.1.0 ? Set the target version of SCS and below is the manifest.json
Copy code
"name": "MyExtension",
"fantasyName": "MyExtension",
"vendor": "Vendor",
"type": "extension",
"target": "SCA,SCS",
"target_version": {
    "SCA": ">=18.1.0",
    "SCS": ""
}
with this setting extension is still visible for SCS