DMT to Deploy Kinetic Layers onto Menu

Is there a way to deploy a bunch of layers to menu items via DMT?

I tried mirroring a manually set layer by setting the WebResourceURL to the
metafx/#/view/Erp.UI.{Program}?LAYER_NAME
and the DefaultFormType to Url

but it ends up keeping the url as layerVersion=0 and injects
LAYER_NAME?& deeper into the url.

Also tried setting CustomizationKinetic to the customization layer and leaving the weburl without the LAYER_NAME portion or the ?

Not a HUGE deal I can go through my list of 117 menu items that need to be deployed and use solution workbench in the future to get the entire menu item out, but thought it would be a quick dmt.

Erp.UI.ICommCodeEntry?channelid=937b1530-8aa1-48f0-a7a6-ad9871ac954a&layerVersion=0&baseAppVersion=0&company=UEINC&site=MfgSys&ExemptionCode_Kinetic=&pageId=IntrastatCommodityForm

Tried setting all 5,

Kinetic = True
CustomizationKinetic = ExemptionCode_Kinetic
ProgramKinetic = Erp.UI.ICommCodeEntry
WebResourceURL = metafx/#/view/Erp.UI.ICommCodeEntry?ExemptionCode_Kinetic
DefaultFormType = Url

Still has the random injection. Wish this was DMT-able, especially considering the fields are there

When we went live with Kinetic, we used the following DMT format

Company MenuID MenuDesc ParentMenuID Sequence OptionType OptionSubType SecCode DefaultFormType CustomizationKinetic CustomizationType Arguments WebResourceURL
EMMN1006 Indirect Labor EMMN1000 30 I M SEC180 Url IAIndirect Customization -KineticUI metafx/#/view/Erp.UI.IndirectEntry?layerNames=IAIndirect
BMMN1010 Part BMMN1000 20 I M SEC159 Url IAPartEntry Customization -KineticUI metafx/#/view/Erp.UI.PartEntry?layerNames=IAPartEntry
2 Likes

Worked like a charm - I was missing the “layerName=” in my line. Weird thing is in Menu Maintenance it doesn’t show that for me in the url.

1 Like