Here is my custom dictionary example.
{âAdminâ: {âGov Adminâ: âYâ,
âImport Commentsâ: âYâ,
âRule Designerâ: âYâ,
âSDS Alert Configurationâ: âYâ,
âUser Managementâ: âYâ,
âVirtual Messageâ: âYâ,
âWorkflow Restrictionâ: âYâ},
âCDT Order Trayâ: {âAssign Userâ: âYâ, âAudit Trailâ: âYâ, âOrder Infoâ: âYâ},
âCarrier Weblink Historyâ: {âCarrier Weblink Historyâ: âYâ},
âDashboardâ: {âDashboardâ: âYâ},
âDellEMC Searchâ: {âAssign to Meâ: âYâ,
âContactâ: âYâ,
âDellEMC Searchâ: âYâ,
âEdit Master Dataâ: âYâ,
âEdit Workflowâ: âYâ,
âProduction Orderâ: âYâ,
âPurchase Orderâ: âYâ,
âSO Line Itemsâ: âYâ,
âShipmentâ: âYâ,
âWorkflowâ: âYâ},
âDocumentation Managementâ: {âCDT Data Uploadâ: âYâ,
âCDT Order Viewâ: âYâ,
âCDT Settingsâ: âYâ},
âEMC Order Trayâ: {âContactâ: âYâ,
âDeliveryâ: âYâ,
âGlo. Mat. Alloc.â: âYâ,
âMat. Constraintâ: âYâ,
âQuality Notif.â: âYâ,
âShipmentâ: âYâ},
âOrder Trayâ: {âAudit Trailâ: âYâ,
âBilling & Shippingâ: âYâ,
âDigital Fulfillmentâ: âYâ,
âGOV Order Cycleâ: âYâ,
âHoldâ: âYâ,
âOfs Detailsâ: âYâ,
âOfs Log Historyâ: âYâ,
âOrder Detailsâ: âYâ,
âOrder Life Cycleâ: âYâ,
âOrder Timelineâ: âYâ,
âPacking Slipâ: âYâ,
âPart Shortageâ: âYâ,
âSegment Informationâ: âYâ,
âService Tagâ: âYâ,
âTask/Hold Codeâ: âYâ,
âVendor Detailsâ: âYâ,
âWeb Carrierâ: âYâ,
âYoda Linkâ: âYâ},
âReportsâ: {âCDT Reportâ: âYâ,
âODM Reportâ: âYâ,
âOEM Reportâ: âYâ,
âVirtual Message Reportâ: âYâ},
âSearchâ: {âEmail Notificationâ: âYâ, âSearchâ: âYâ},
âWatch Listâ: {âWatch Listâ: âYâ}}
Now first i want to display buttons with first level keys.In this case it is (âAdminâ, âCDT Order Trayâ, âCarrier Weblink Historyâ, âDashboardâ, âDellEMC Searchâ, âDocumentation Managementâ, âEMC Order Trayâ, âOrder Trayâ, âReportsâ, âSearchâ, âWatch Listâ)
Next after that if user click on any of the above mentioned key button then i want to display 2nd level keys in form of buttons.In this case if the user selects âAdminâ then the buttons will be like (âGov Adminâ, âImport Commentsâ, âRule Designerâ, âSDS Alert Configurationâ, âUser Managementâ, âVirtual Messageâ, âWorkflow Restrictionâ).
I want to keep on doing that until the user reaches the last level of dictionary and ultimately fill the one slot again and again.
in my case i have made one slot in required_slots function.
I hope its clear.
I dont want to use multiple slots.