-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create AL Project from Template - Improvements #275
Comments
Would it be possible to provide some templates / samples on how to configure the mappings for the new 'Create AL Project from Template' command? I'm looking forward to this a lot and would like to know how to configure e.g. following scenarios and run some tests with it.
|
Hi @fvet, Yeah, I'm aware that a sample could be needed to understand how to use this. The template project we use internally has too much internal stuff in it so I cannot publish that template, and I just haven't had the time to mock up another template sample. If you zip a template project and attach here, I can configure an al.template.json file for that. Maybe that could be used as a starting point of a sample, possibly published on a wiki page in this repo, if you're fine with that? |
@fvet, I forgot to mention: All above should be possible to do with this command. |
Hi, enclosed a template I'm currently creating. Some additional things that need to be added:
The above will be covered by maintaining an 'All-In' project and let the user remove unwanted features (e.g. test app)
Based on your instructions / feedback above topics, I'll update the sample. |
Update template with some (dummy) objects containing some boilerplate code. |
@fvet I updated your (first) template files with a sample al.template.json: With that sample, you might be able to continue to improve that template yourself? I'll have to leave computer now, I will look at your new template later. A lot of interesting ideas you have with improvements of the template feature, I'll look into them later as well. 👍 Just let me know if my sample wasn't enough! |
@jwikman Thanks for your input, I was able to update my template. First results look promising ! Some additional feedback:
|
@fvet I'm glad you could move forward on this.
Very good idea, I added this to the initial comment in this issue.
Hmm... This was strange. I can see that I have a repro on this, let me investigate some more...
I see that @theschitz picked this idea directly! Let's see what he comes up with on this topic. 🙂 |
@theschitz, I think it's a very good idea. That would be easier to pick up on, compared to a wiki page. |
@fvet, this thread might already be hard to follow, but I'll try to address each of your suggestions here anyway
We do not have any support for conditions (yet?).
It seems as you're happy with these already. 👍
We include a yaml template file in our template, with settings replaced as any other
Tracked in #302 |
@jwikman If I've any new suggestions, I'll open separate new issues to ease tracking ;) For the template, I'll await the fix for the settings file and will duplicate my project and anonymize the settings (or add 'NAB' as publisher instead). |
Might be a good idea! 😅
Super! The settings fix should be available by now, does it not turn up for you if you select the "Install another Pre-Release version"? And a |
hidden
property on the mapping entity. #305/template-app
folder in this repo.The text was updated successfully, but these errors were encountered: