AL icon indicating copy to clipboard operation
AL copied to clipboard

Hooks between two extensions

Open bachii1010 opened this issue 9 years ago • 5 comments

Hi,

If we have two extensions made and if they make use of same object and has a link between these two extenions.

Then how is it possible in extensions 2.0.

Can you suggest us regarding this.

Thanks Varun Reddy

bachii1010 avatar May 12 '17 09:05 bachii1010

How do you mean?

you can create "dependent" extensions - don't know if you mean that?

waldo1001 avatar May 12 '17 10:05 waldo1001

Last time I checked you had to put the NAVx file of the dependency extensions in your packages folder and then it lets you code against it.

ghost avatar May 12 '17 10:05 ghost

You can define the dependencies in the app.json file here:

image

If you install the main app, it will install the extensions that are defined here.

bvbeek avatar May 12 '17 11:05 bvbeek

yes indeed: change the app.json, put the navx in the packages folder, and off you go!

an example of what you would put in the "dependencies":

"dependencies": [ { "appId": "af3ad7a7-bd49-4897-be18-4ed63589323d", "name": "NameOfTheAppYouMakeADependencyOn", "publisher": “waldo", "version": "1.0.0.0" } ]

waldo1001 avatar May 12 '17 14:05 waldo1001

Hi all,

Thanks for the answers let me try to implement this and check

bachii1010 avatar May 16 '17 14:05 bachii1010