Hello All, Whenever I upload any new code changes ...
# suitecommerce
l
Hello All, Whenever I upload any new code changes to an extension, it get disappears from the extension manager then I delete the "Target_version" version from the record and it appears. Do we have any permanent solution for this?
s
Extensions that specify a target version that are incompatible with the site will be hidden, so you've either set a target version that is excluding the extension (ie working as intended) or you've written it in such a way that it is incorrect. Perhaps you could share your metadata and what version your site is?
l
I am on 2019.2.0, But I would like to make sure my extension should work for all version after 2019.1.0, So I added that >= in target version. am I missing something here? Or doing anything wrong? here is my matadata.....
Copy code
{
  "name": "XXXX",
  "fantasyName": "XXXX",
  "vendor": "ABC",
  "type": "extension",
  "target": "SCA,SCS",
  "target_version": {
    "SCA": ">=2019.1.0",
    "SCS": ">=2019.1.0"
  },
  "version": "1.0.0",
  "description": "XXXX",
  "assets": {
    "img": {
      "files": []
    },
    "fonts": {
      "files": []
    },
    "services": {
      "files": [
        "services/XXXX.Service.ss"
      ]
    }
  },
  "configuration": {
    "files": [
      "Modules/XXXX/Configuration/XXXX.json"
    ]
  },
  "templates": {
    "application": {
      "myaccount": {
        "files": [
          "Modules/XXXX/Templates/myview_myview.tpl"
        ]
      }
    }
  },
  "sass": {
    "entry_points": {
      "myaccount": "Modules/XXXX/Sass/_myview-myview.scss"
    },
    "files": [
      "Modules/XXXX/Sass/_myview-myview.scss"
    ]
  },
  "javascript": {
    "entry_points": {
      "myaccount": "Modules/XXXX/JavaScript/ABC.XXXX.XXXX.js"
    },
    "application": {
      "myaccount": {
        "files": [
          "Modules/XXXX/JavaScript/ABC.XXXX.XXXX.js",
          "Modules/XXXX/JavaScript/XXXX.View.js",
          "Modules/XXXX/JavaScript/ABC.XXXX.XXXX.Model.js",
          "Modules/XXXX/JavaScript/ABC.XXXX.XXXX.SS2Model.js"
        ]
      }
    }
  },
  "ssp-libraries": {
    "entry_point": "Modules/XXXX/SuiteScript/ABC.XXXX.XXXX.js",
    "files": [
      "Modules/XXXX/SuiteScript/ABC.XXXX.XXXX.js",
      "Modules/XXXX/SuiteScript/XXXX.ServiceController.js"
    ]
  },
  "suitescript2": {
    "files": [
      "Modules/XXXX/SuiteScript2/XXXX.Service.ss"
    ]
  }
}
s
It should be >=19.1.0 -- not >=2019.1.0
l
You rocks, That was very silly mistake, Thanks you so much..
netsuite halo 1