Before you add your scripts to extend the story, you create the BTN_Add button and the POPUP_Add popup. You add and configure the required widgets to meet the business requirements, making note of all of the ID names for your script.
Popup Settings
You plan to use custom buttons in the popup dialog. When you create the popup, you add four buttons:
- Save & Close: Saves the new member and closes the popup.
- Save & New: Saves the new member but keeps the popup open.
- Cancel: Closes the popup without saving.
- Clear All Attributes: Allows the planner to clear existing values after choosing Save & New.
Description
The INF_Article_Desc input field widget is configured so that planners can enter free text into the field.
Brand
The DD_Article_Brand dropdown widget is configured so that planners can select from a list of valid values. You initially set it to Not assigned because you will add scripting to pull the values from the public dimension.
Leather
The RB_Article_Leather radio button widget is configured so that planners can select between two options.
Clothing Moment
The DD_Article_Clothingmoment dropdown widget is configured so that planners select from the options created in the Builder panel.
Planning Models
The PlanningModel model contains the brand and the article dimensions. However, you could have a scenario, for example, where the brand is read from one model and articles created in another.
New articles that are created using the Create Article button are added to the PlanningModel, which in the scenario is Product_Sales_MD.