We’re trying to determine whether there’s a way to review how customized layers are stacked and interact within App Studio. Ie. Preview w/ layer stack?
In our case, we’ve created two layers that are applied together through Menu Maintenance. They don’t appear to be interacting as expected, and we’re looking for a clearer way to understand how they’re behaving when combined.
Right now, our approach has been to toggle layers on and off in Menu Maintenance and review them individually in App Studio, which has been time consuming.
Is there any functionality or recommended approach that would help us better visualize or troubleshoot how these layers interact?
It’s a bit of a hack, but inside AppStudio you can create a new Merged Layer (and save it as ‘delete_me’ or similar) with the two underlying layers. As far as I’ve been able to tell, Merge Layer and the at-runtime layer merge seem to follow the same rules, if not call the same underlying system directly.
Once you’ve merged the layers into ‘delete_me’, you can preview ‘delete_me’ the same as the individual layers. It’s a little jank but it works and it’s faster than changing it in Menu Maintenance and flushing your cache.
You actually get that in AppStudio too, it’s just not really signposted very well.
The drag-handles in the 1st screenshot correspond to the Order column in Menu Maintenance, as far as I’ve been able to tell.
When Merging Layers in AppStudio, lower entries in the merge list are applied after higher entries, the same as the Order box in Menu Maintenance.
Assuming you match the two, I haven’t run into a circumstance where a manually-merged layer behaves differently than a runtime-merged layer, though I might have missed something. YMMV.
I haven’t used merge in AppStudio so good idea for that. In menu maintenance, I know out layer 2 overrides layer 1 as both retitled the page to display a version number, ie: Order Entry v1.23