Instead of current workspace+name tuple Use Layman and Map class (or UUID) in Layman code as reference to layers and maps instead of workspace+(type+)name tuples.
Instead of current workspace+name tuple
Use Layman and Map class (or UUID) in Layman code as reference to layers and maps instead of workspace+(type+)name tuples.