hyperlink
Belias
Member Posts: 2,998
in order to create links to pages in reporting services, we have to write odd url like this
="DynamicsNav://DN-NWS01:7046/DynamicsNAV/mycompany/runpage?page=18038646&mode=view&bookmark=" + Fields!FORMAT_PatientRecRef_RECORDID_0_10_.Value
is there a way to retrieve this part ([url=DynamicsNav://DN-NWS01:7046/DynamicsNAV/mycompany/runpage]DynamicsNav://DN-NWS01:7046/DynamicsNAV ... ny/runpage[/url]?) automatically from the system?like nav does for record links.
thanks for your suggestions
="DynamicsNav://DN-NWS01:7046/DynamicsNAV/mycompany/runpage?page=18038646&mode=view&bookmark=" + Fields!FORMAT_PatientRecRef_RECORDID_0_10_.Value
is there a way to retrieve this part ([url=DynamicsNav://DN-NWS01:7046/DynamicsNAV/mycompany/runpage]DynamicsNav://DN-NWS01:7046/DynamicsNAV ... ny/runpage[/url]?) automatically from the system?like nav does for record links.
thanks for your suggestions
0
Answers
-
The only thing that is dynamics is the service name and Company Name. You can get those in CSide and pass them as datasource.
In Report layout on the properties of the text box in the Navision Tab Select Jump to URL and
set the expression to
= "DynamicsNav://" & Fields!ServerName & ":7046/DynamicsNAV/" & Fields!CompanyName & "/runpage?page="0 -
:-k
i guess it's better than nothing...the problem is that reports with hyperlink working in development db, can fail (i mean, only the hyperling is going to fail) if the production database have a different service name
0 -
Have you thought of storing the link in a setup table?
Then you have a different value in development than in production.Sleep on it... The best solutions come at 2am0 -
Yes, this is also good solution...it's only one setup, but things can change (e.g. the company reorganizes the hardware, giving different server/service names) or that report is developed for an addon (thus deployed for multiple customers) and the setup must be revisited every time...
how in the hell nav get that nice address in the recordlink table?
it has to catch it from somewhere, hasn't it? :-k0 -
There is another post that shows you how to get the service tier name.0
-
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
