Use object in Extension from another Extension

JuhlJuhl Member Posts: 724
edited 2018-03-28 in NAV Three Tier
Hi guys
Just playing around with extensions on a D365BC preview Docker image, and ran in to a question.

Can i create a Extension with say a Codeunit with some functions in it.
And then create another Extension that uses these functions.

AL dosent see it, even when downloading symbols after the first extension is installed.

There is a command in AL to Download SourceCode, but it dosent work, and i dont know what its for.

Anyone??
Follow me on my blog juhl.blog

Best Answers

Answers

  • MesutGMesutG Member Posts: 19
    Hi,

    You can use extension objects . You must use "Run" function an "extension ID". For Example

    ccx080zcysj4.png
  • JuhlJuhl Member Posts: 724
    That works :-)

    But what if I want to call a function in that codeunit?
    Follow me on my blog juhl.blog
  • JuhlJuhl Member Posts: 724
    Ok, as a workaround.
    Follow me on my blog juhl.blog
  • JuhlJuhl Member Posts: 724
    Thanks Mohana
    Will check it out after Easter
    Follow me on my blog juhl.blog
  • DenSterDenSter Member Posts: 8,304
    By the way, when you set up the dependency, rebuilding the package for extension B will also get the symbols for extension A, and so does hitting F5 or Ctrl+F5. Try it, delete the .app file for extension A from the workspace for extension B and see what happens when you rebuild the .app file
  • JuhlJuhl Member Posts: 724
    Thanks :-)
    Follow me on my blog juhl.blog
Sign In or Register to comment.