AL code - use file saved within AL project folder in the code

PurpleHaze
Member Posts: 42
Hey y`all,
Might be a dull question (Google didn`t help either), is it possible to use/reference a file (let`s say RapidStart package) which is stored within an AL project in a separate folder, and import it from code?
Thanks a lot in advance.
Might be a dull question (Google didn`t help either), is it possible to use/reference a file (let`s say RapidStart package) which is stored within an AL project in a separate folder, and import it from code?
Thanks a lot in advance.
0
Answers
-
So you want to execute the entire Rapid Start process via code?
Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Just to import it basically, for example OnInstall trigger I would like to import a RapidStart package (which would be included/saved in my extension package) - with relative path or something like that.0
-
Please don`t get cofused with RapidStart, it can be any type of file.
Let`s say I have a .txt file included in my AL project folder and I want to ship it together with my extension (.app) and reach it via code OnInstallAppPerCompany with "relative path" pointing to the file or something like that...
Would something like that be actually possible?0 -
I have had used these triggers but never utilized these for any processes wherein we have file dependency.
What is the error you getting right now?Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Well, there is no error
since I`m not sure how to point to/consume the file (included in my AL project) from code...
0
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