Hi everyone,
I have developed a new app extension and I have pushed it into the app source. we have developed with licenses in specific ranges (object ID: 1,000,000-69,999,999, 70,000,000-74,999,999).
My application is based on Rest API.
The app is working fine for our customers in sandbox.
But i have some customers who have the on-premise version. we need to install the app. and i have two issues there:
1- Installing the app: I know it is not possible to install from the app source and because of the reach it is not allowed to push/upload the app directly.
=> I read in some forums that it is possible to create a new instance with development license and push the app and remove the instance later. Is there any other suggestion for this problem?
2- In my app extension, I developed page API and was needed to define the property of the URL: APIPublish, APIGroup and APIVersion.
I have set the APIVersion to V2.0. the URL work fine in the sandbox and I don't have any problem there.
But when I try my app in the on-premise version, it was not the case, I have an error message:
{
"Error: {
"code": "Unknown",
"message": "Sequence contains more than one matching item"
}
}
the only URL that works fine in the on-premises version when I removed the APIVersion and in the URL, I used "beta".
Is there any idea about this issue I need to set the same API for both versions sandbox or on-premise?
I have tested in BC 20 on-premise and in BC 21.5 sandbox.
Hello Rayene- We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
I will open this up to the community in case they have something to add.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156