Skip to main content

In our Consumer Goods Cloud offline mobile app, users select delivery dates for both the order header and individual order items. On iOS, the current picker uses scrolling wheels. Users would prefer a traditional month view showing weekdays and the whole month, as this would help reduce date-selection errors. 

 

The order header and item detail use Modeler `DatePickerField` controls. The item list also has an editable date binding. I reviewed Salesforce’s [Date and Time Picker Component documentation](

https://help.salesforce.com/s/articleView?id=ind.modeler_vscode_datetimepicker.htm&type=5

), but couldn’t find an option for the picker layout. 

 

Is there a supported Modeler setting or control that forces a month-grid calendar on iOS?** If not, is there a supported way to use a custom calendar that writes the selected date back to both order and order-item fields while retaining their existing save and validation behavior? We also want a consistent Nordic-style displayed date format; can that be configured independently of the stored date? 

Current date picker: 

Can CG Cloud Offline Modeler show a month-grid date picker instead of the iOS wheel picker?

 

 

Expected:  

Expected Date Picker.jpeg

 

 

 

#Consumer Goods Cloud  #Field Service Lightning

1 réponse
  1. 29 oct., 21:41

    In the Consumer Goods Cloud offline mobile app, the native DatePickerField relies directly on the operating system's default UI component, which defaults to the wheel-style picker on iOS. Unfortunately, Modeler does not currently provide an out-of-the-box configuration attribute or property to force a month-grid calendar layout over the system wheel picker on iOS devices. If a month-grid view is a strict business requirement to minimize selection errors, the supported workaround is building a custom UI component within Modeler. You can design a custom dialog or modal that renders the calendar grid and writes the chosen date back to your target datasources on both the order header and order item levels, preserving your existing validation and save business logic. For the display format, you can handle the Nordic-style visual representation independently through UI formatting rules or binding masks without altering the underlying ISO date value stored in the database.

0/9000