GETURL

kvb
Member Posts: 107
Hey, guys.
I am using Web client and it works well.
I want to generate a URL for every Purchase Order.
There is a GETURL function, but the problem is that for some reason the result of this function has 3 problems:
1. It has the 'http', not the 'https' prefix (why?);
2. It has 48900 port number and I have no idea where it coming from;
3. Domain name is also wrong.
Does anybody know what I have to configure to make that values correct?
On IIS everything is set up like i want it to be
(including the port number, domain name and https thing)
But GETURL returns a strange result.
If I manually change the problems above (1..3) in the GETURL result- it works perfectly.
Syntax i am using is:
GETURL(CLIENTTYPE::Web, COMPANYNAME, OBJECTTYPE::Page, 50, lr_PH, FALSE);
Please help.
I am using Web client and it works well.
I want to generate a URL for every Purchase Order.
There is a GETURL function, but the problem is that for some reason the result of this function has 3 problems:
1. It has the 'http', not the 'https' prefix (why?);
2. It has 48900 port number and I have no idea where it coming from;
3. Domain name is also wrong.
Does anybody know what I have to configure to make that values correct?
On IIS everything is set up like i want it to be
(including the port number, domain name and https thing)
But GETURL returns a strange result.
If I manually change the problems above (1..3) in the GETURL result- it works perfectly.
Syntax i am using is:
GETURL(CLIENTTYPE::Web, COMPANYNAME, OBJECTTYPE::Page, 50, lr_PH, FALSE);
Please help.
0
Best Answer
-
Please check the Web Client Base URL in the NST configuration.Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.5
Answers
-
Please check the Web Client Base URL in the NST configuration.Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.5 -
Please check the Web Client Base URL in the NST configuration.
thanks. It is in customSettings.config file.
Added 3 keys:
<add key="PublicODataBaseUrl" value="URLText" />
<add key="PublicSOAPBaseUrl" value="URLText" />
<add key="PublicWebBaseUrl" value="URLText" />
The file is by default for the BC is here:
\Program Files\Microsoft Dynamics 365 Business Central\140\Service0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions