al-code-outline icon indicating copy to clipboard operation
al-code-outline copied to clipboard

Integrate object wizards with AL Object ID Ninja

Open anzwdev opened this issue 4 years ago • 1 comments

anzwdev avatar Sep 13 '21 21:09 anzwdev

@anzwdev Any chance on supporting this in a next release? Thx!

fvet avatar Sep 14 '22 18:09 fvet

Yes, I will focus on this task first

anzwdev avatar Jan 10 '23 21:01 anzwdev

Solution is almost ready. It requires "AL Object ID Ninja" to expose reservation API to other vs code extensions. I've created a new pull request with proposed solution in the AL Object ID Ninja repository, we have to wait for it to be accepted or modified and released.

anzwdev avatar Jan 29 '23 18:01 anzwdev

I've seen #276 listed in the changelog of v3.0.42

However, when trying to enable the feature, I got the error below:

image

fvet avatar Mar 13 '23 14:03 fvet

It is my mistake, I forgot to remove it from the changelog before the release. It is not ready yet. I've added support for other "id providers", but "AL Object ID Ninja" provider implementation still needs pull request to AL Object ID Ninja repository to be approved and merged.

anzwdev avatar Mar 13 '23 18:03 anzwdev

Hey @anzwdev, i have set the setting ""alOutline.idReservationProvider": "ALObjectIdNinja",". The integration seems to work well. But unfortunately not for TableExtensions. There i have no Field for the Id Provider.

Edit: What the hack.. now at the third try, i got the button and an id. Perhaps there is a bug inside? Hard to reproduce :-(

SBiernat avatar Apr 21 '23 12:04 SBiernat

Hi @SBiernat

Thank you for reporting the issue. Yes, there is a bug, I am calling async function without await. Fix will be ready in the next release.

anzwdev avatar Apr 27 '23 20:04 anzwdev