Hello,
We are working on opening a specific contact within Dynamics Business Central from an url. The documentation on this page explains alot regarding how this is done.
Source: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-web-client-urls.
We currently use the following format for the web url to open to a specific contact page:
https://businesscentral.dynamics.com/Production?company=[CompanyId]&ID=[ContactId]&page=[PageId]
Example of working url for our specific test account:
https://businesscentral.dynamics.com/Production?company=CRONUS%20NL&ID=50fe2310-df3a-ed11-bbad-6045bd8e55aa&page=5050
We use an API to retrieve data so we can use the CompanyName and ContactId, But we can't figure out how we can retrieve the PageId. It seems to be a required value. We know it's possible to retrieve it from within the Business Central web application itself, but we are wondering if it is possible to retrieve all the page parameters through an API or similar automated processes. Information that would lead to opening a contact page from a url that would not require the page query parameter would also be welcome.
Looking forward to any answer that will point us in the right direction.