Hi,
SITUATION: I copy files from 'currentPath' to 'NewFilePath' (Text variables). The file paths are in a format like this example:
C:\My Folder\MyFile.txt.
PROBLEM: In Classic Client (v5.0) this works just fine, but in RTC the '\' char is recognized as a new line char.
Any suggestions which char to use for the RTC, or maybe some different approach?
10x in advance,
Dekito
0
Answers
Are you getting any error message?
Is it a 3-tier environment or single system?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
It's a 3-tier environment.
I think you know this..
RTC searches for file in service tier system where service is installed in 3-tier architecture..
We have to upload local txt file to temp path in service tier system and download to local system again in new path..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
In RTC when I try to attach a link this way it signals an invalid path.
When I attach a file without this functionality it works fine.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
And it's recommended to use Codeunit 419 '3-Tier Automation Mgt.';
functions 'SilentUpload' and 'DownloadToFile' will do the job.
I'm working in NAV2009 R2. I want to save report as PDF (using Bullzip PDF printer) and send it by email automatically.
Report doesn't have RTC layout so it runs Classic report only from RTC & wants to print it using Bullzip printer.
Problem is that It works perfectly in Classic Version but it considers '\' as new Line character in RTC.
I need to give some file path to Bullzip printer to save file.
Any solution please?
Thanks,
Mahesh Jain
Mahesh Jain
mahesh@reliconservices.com
If you're getting invalid path errors, look at where the logic is executing and code it accordingly. If it's executing on the server you can use the classic EXISTS and FILE.OPEN, etc. functions. If it's on the client, you need to upload and download, or use .net librairies instantiated client-side. In NAV 2013 there are functions for most things you will need to do client side in codeunit 419.
http://www.epimatic.com
I had the same problem. The biggest problem was not the filename... but to run a classic report from code in rtc.
I solved it by creating an RTC layout and then use the function REPORT.SAVEASPDF
/sbs
I'm able to get saved PDF file in specified path successfully in Classic without any message but Bullzip asks me where to save file in RTC.
Below is my code to save report in PDF.
and when i accesss printed file to send email after printing in RTC, it gives me below error. where it seems '\' has been considered as new character. Above code works perfectly in Classic
My question is that
Can Bullzip printer be used to print PDF report in RTC where report doesn't have RTC layout??
If No then should i assume that SAVEASPDF is only solution to get PDF file of report in "RTC" ? Of course, i will have to create RTC layout to user SAVEASPDF.
Best Regards,
Mahesh Jain
Mahesh Jain
mahesh@reliconservices.com
I understand that You can´t run a classic report in code from RTC - and therefore you cant use bullzip :-(
Its not fun to make the rtc-layout but you have to do it anyway sooner or later if they want to upgrade in the future :-)
/sbs