PS - Are Custom Layers on System apps supposed to export? Like, I have a layer on Sales Order Entry and a layer on Project Entry but only got your Ice.UI.ExportAllTheThingsTemplate and my Ice.UIDbd.etc but no custom layers for Erp.UI.etc
Iāll have to go look at the code, donāt remember.
No rush. Nice solution! If only we could import/export Solution Workbench solutionsā¦
It looks like it should, but when I have time Iāll play with it.
Iām not an expert on exporting all this new stuff, I just made plugins for what I could figure out at the time.
Can confirm custom layers on Erp.UI apps are not included in either the AllKineticCustomLayers export, nor in the ExportAllKineticSystemLayers export.
Might be something special I need to do with the request / search options.
I think - as an amateur C# developer - that this section in the ExportAllKineticCustomLayers controls which applicationsā layers get exported
foreach(var item in applications.Where(x => x.SystemFlag == false))
{
applicationList.Add(new Epicor.MetaFX.Core.Models.Layers.EpMetaFxLayerForApplication() { Id = item.Id });
}
I tried removing the SystemFlag qualifier:
foreach(var item in applications)
{
applicationList.Add(new Epicor.MetaFX.Core.Models.Layers.EpMetaFxLayerForApplication() { Id = item.Id });
}
That resulted in a lot more files (Erp.UI apps were included in the export), but I wasnāt able to figure out the syntax to a) pull only files that have an active layer and b) format the output to mimic an App Studio export (i.e. MetaUIs/Layers/[App Name]/[layerName].jsonc).
Was thinking maybe the SystemFlag on Application level was the problematic filter. Thanks for trying and sharing.
Awesome work @klincecum!
Iām only new to Kinetic but I like the idea of the Dynamic Kinetic App allowing you to add functionality without having to continually fight with Application Studio.
I have been looking into Epicor Source Control and CI/CD options. This post has been helpful so thank you for sharing.
Iāve started on the Source Control to keep track of changes over time. We setup an Automation App Server with a daily job to pull data using Epicor REST API, transform (xml, c#, json, txt) and commit using Azure DevOps REST API. So far we are committing PROD Function Libraries and Iām currently working on the BPMs with other customisations to follow.
Hello Kevin,
So, SSRS reports and Data Definitions. Also, how about a āroll-upā thatāll let you check the extensions you want to process, and itāll do them all at once in a single download?
Best regards,
Kevin
Could you explain that in more detail?
You probably are not asking about āReport Styleā or āReport Data Definition.ā However, to cover all bases, Iāll refer to them as Epicor Kinetic does.
Regarding your inquiry, load a specific extension designed to combine the rest of them after loading all other extensions or before loading any extensions.
This extension could allow users to select which types of exports (BAQs, functions, UDCodes, etc.) they want to include or include them all in a single file.
Essentially, it would provide a one-and-done option for streamlining the process further.
Ohhh, bonus thought: it would be exceedingly cool if a sliding panel was loaded that let users select specific exports and/or types of exports to include or exclude. Perhaps radio control for āSelect individual elementsā or āInclude all elements.ā
Please let me know if you have any specific aspects you want me to elaborate on.
Thanks for creating and sharing this, its fantastic!
The modular structure is awesome and allowed me to make use of the functions in our powershell script to copy Live to Test. I called the functions to export some of our custom things (functions, Data Directives and Method Directives) from Test before the Live data is copied over. I have had to restore a few backups recently to recover functions that we forgot to export before we copied Live to Testā¦ Not anymore
I wasnāt able to get the kinetic UI working (this is the first Kinetic custom thing I have done). When I run in App Studio it looks like thisā¦ missing all the export things
I changed the company access on the functions and I can run them so itās not that.
Anyway the functions are awesome and I will have a smile everytime we copy Live to Test.
Cheers
Brett
It canāt be run in app studio. It has to be deployed and run from a menu.
Hi Kevin,
This is exactly what I was after (appreciate I am late to the party!).
We struggle keeping Dev and Test UpToDate - this sounds brilliant.
We are on 2023.2.33 - it wouldnāt import for us. Do you have the code or an older version I could use. We are not planning to upgrade for a few months.
Really do appreciate this.
Kind regards
Mark
Been super busy, but if I can find a spare minute, Iāll break out some more helpful info.
Perfect - Thanks Kevin, really appreciate this (and all the hard you have done in creating this)
You could replace the Version and EpicorVersion in the efxj with your current version and attempt to import it to a test DB. Do so at your own risk.