hougaard / Simple-Object-Designer

Issue tracking for the Simple Object Designer for Business Central
7 stars 0 forks source link

Downloading Source error #269

Open PFRYCAC opened 11 months ago

PFRYCAC commented 11 months ago

Hi Erik,

I've got the full version registered, and am trying to deploy the features I've built.

I am having issues with lookup fields, and it is hard for me to figure out which is my error and which might be a bug.

I had one Lookup field with an error I could not solve, and in the end I found that deleting this field and re-adding it solved the issue. I have another similar issue I can't get past (I've deleted and re-added everything related) and I was going to send the code to my dev to check but I cannot download it due to this error:

_The effective policies for this package do not allow you to download the source code. Contact the extension provider for more information.

Internal session ID: 92a5ca06-c9e1-47f2-aaf3-af81cefb8433

Application Insights session ID: c44bff3e-39fd-4a2d-afe5-0465ced91ec5

Client activity id: 16b4bb9c-fa0a-4f1a-80a1-e9039ed30214

Time stamp on error: 2023-08-22T11:07:25.1603708Z

AL call stack: "Extension Operation Impl"(CodeUnit 2503).GetExtensionSource line 19 - System Application by Microsoft "Extension Operation Impl"(CodeUnit 2503).DownloadExtensionSource line 6 - System Application by Microsoft "Extension Management"(Page 2500)."Download Source - OnAction"(Trigger) line 2 - System Application by Microsoft_

Thanks

hougaard commented 11 months ago

That would indicate the extension is created with the trial version of SOD, not a licensed SOD

PFRYCAC commented 11 months ago

image

hougaard commented 11 months ago

Click publish again...

PFRYCAC commented 11 months ago

Rookie. Thanks Erik.

PFRYCAC commented 11 months ago

Hi Erik, is it correct that I cannot view the source code?

hougaard commented 11 months ago

You can click "Download Source" from the SOD Setup page to get a ZIP file with all the generated source code as Visual Studio AL project.

PFRYCAC commented 11 months ago

(sorry, I was downloading from the extension management, not SOD Setup!)

Nabeel-Shahid commented 10 months ago

Have Trial installed on sandbox env. but cannot download customizations source from SOD setup (button is disabled)

image

Nabeel-Shahid commented 10 months ago

Have Trial installed on sandbox env. but cannot download customizations source from SOD setup (button is disabled)

image

is that because trial version is expired, installed 6 weeks back.

hougaard commented 10 months ago

You're not running on a licensed SOD, those functions are only available with a valid license, never in the trial version.

hougaard commented 10 months ago

Our trials never "expire", they just only work in sandboxes.

Nabeel-Shahid commented 10 months ago

Ok, so "Download Source" functionality only works with licensed version. I will ask my team to proceed with purchase.

thanks for clarification @hougaard