Skip to content

SAP-Custom-Widget/QuickDateWidget

Repository files navigation

SAP Custom Widget: Quick Date Widget

SAC Custom Widget to get date,month, week, quarter, day from date

preview

Installation

To use this widget in your SAP application, follow these steps:

  • Download the QuickDateWidget.json file from the URLs specified in the webcomponents property of the JSON.
  • Go to your SAC Portal, select Analytic Application from the left side bar, and then go to the Custom Widget tab.
  • Click on the + icon on the right side and select the QuickDateWidget.json file that you downloaded.
  • You're done! You can now use it in your app.

Methods

The widget has the following methods:

Set Methods

Method Parameter Type Description
setDate(date) string Set Enter Date
setBoxcolor(boxcolor) string Set Color of Box

get Methods

Method Return Type Description
getDate() string return Enter Date
getYear() string return Year of date
getMonth() string return Month of date
getQuarter() string return Quarter of date
getDay() string return Day of date
getWeek() string return Week of date
getDateof() string return Date Day of Date
getBoxcolor() string return Color of Box

About

This widget is developed by Rohit Chouhan

About

SAC Custom Widget to get date, month, week, quarter, day from date

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors