0 Replies Latest reply on Sep 16, 2017 7:27 PM by taohui

    when edit extension_src and rezip it and i got "Error Jive package missing meta.json and definition.json"

    taohui

      i have a custom add-on which contains multiple apps. But i want to remove one app, so i edit the extension_src file like below:

      extension_src -> definition.json

      before edit:

      {

         "integrationUser": {

         "systemAdmin": true,
         "jiveServiceSignature": "cGueDqVBBlRYONUJpBIBa08RtYo="
         },
         "osapps": [

        {

         "name": "GroupReport",
         "id": "cc3e09ec-95af-557a-88f6-99f2ff1097fd",
         "appPath": "cc3e09ec95af557a88f699f2ff1097fd",
         "url": "%serviceURL%/osapp/activity_report/app.xml"
         },

         {

         "name": "bulk_add_users_app",
         "id": "7e9c54a4-2b44-57a6-a177-8aebaab9a615",
         "appPath": "7e9c54a42b4457a6a1778aebaab9a615",
         "url": "%serviceURL%/osapp/bulk_add_users/app.xml"
         }

        ]

      }

       

      after edit:

      {

         "integrationUser": {

         "systemAdmin": true,
         "jiveServiceSignature": "cGueDqVBBlRYONUJpBIBa08RtYo="
         },
         "osapps": [

         {

         "name": "bulk_add_users_app",
         "id": "7e9c54a4-2b44-57a6-a177-8aebaab9a615",
         "appPath": "7e9c54a42b4457a6a1778aebaab9a615",
         "url": "%serviceURL%/osapp/bulk_add_users/app.xml"
         }

        ]

      }

       

      All i did is just remove the GroupReport from osapps.  And then, rezip the extension_src file. when i try to install the package, i got error:

      "Jive package missing meta.json and definition.json".

       

      Did i do anything wrong?

       

      Thanks,