cancel
Showing results for 
Search instead for 
Did you mean: 

MDK calendar view is not working in web

sk_ramkumar
Participant
0 Kudos

Hi Experts, 

I am trying to build a calendar view in for iphone and web view. But it is not working in web view. I dont have any fancy code, just a simple calendar control but it is displaying empty page in web.

{
"Controls": [
{
"FilterFeedbackBar": {
"ShowAllFilters": false,
"_Type": "Control.Type.FilterFeedbackBar"
},
"_Type": "Control.Type.SectionedTable",
"_Name": "SectionedTable0",
"Sections": [
{
"Separators": {
"TopSectionSeparator": false,
"BottomSectionSeparator": true,
"HeaderSeparator": true,
"FooterSeparator": true,
"ControlSeparator": true
},
"_Type": "Section.Type.Calendar",
"_Name": "SectionCalendar0",
"Visible": true,
"CalendarType": "Month",
"StartDayOfWeek": "Sun",
"StartDate": "2024-02-25",
"IsPersistentSelection": true,
"SelectedDate": "2024-03-12"
}
]
}
],
"_Type": "Page",
"_Name": "TestCalendar",
"Caption": "TestCalendar",
"PrefersLargeCaption": true
}
Screenshot 2024-03-13 at 10.10.32 am.png

@Jitendra_Kansal  @bill_froelich any help would be great. 

Thanks,

Ram

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

@sk_ramkumar 

Calendar control functionality has been available in MDK since version 23.12.x onwards. I suspect that while deploying the MDK metadata to Cloud Foundry, you selected the Production option, which has not yet been updated for version 23.12.x. We are working updating it soon.

Please follow these steps:

  1. Delete the .project.json file in your MDK project.
  2. Deploy again to Cloud Foundry and select the Preview web runtime option.

The same page definition works for me when deployed to CF, selecting the preview web runtime option.

sk_ramkumar
Participant
0 Kudos
Thanks Jitendra, it is working now.
Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert

@sk_ramkumarProduction web runtime has also been updated with 23.12.1. You can choose either option for now.

Answers (0)