marsson / LWCRangeCalendar

Creative Commons Zero v1.0 Universal
2 stars 1 forks source link

Create Calendar Date Range #5

Open marsson opened 3 years ago

marsson commented 3 years ago

As a system administrator I want to be able to create new date ranges representation.

Create a new custom metadata setting named: Calendar Date Range: The Custom metadata type should have the following fields: Range Name : Test(40) Range Color :(Text)=> Set validation rule-> The field should be one of the basic css colors (black,silver,gray,white,maroon,red,purple,fuchsia,green,lime,olive,yellow,navy,blue,teal,aqua) OR a color in the #000000 RGB value using reg. Expressions. Start Date/Datetime field(Text): (Help text=> API name of the field that represents the Range START); End Date/Datetime field(Text): (Help text=> API name of the field that represents the Range FINISH); Sequence Number(Decimal2,0)

beatrizrodriguesalencar commented 3 years ago

Hi @marsson,

marsson commented 3 years ago

Hey @beatrizrodriguesalencar , The Label field is used by SF to generate the metadata and write it to the repository, making it sort of "unique". Our use-case foresees multiple different calendars with dates with the same name, what makes using the label field unviable... :) The use for the Sequence field is to define the visualization order of the dates on the label section.

beatrizrodriguesalencar commented 3 years ago

@marsson Oh yes, now I remembered it. Start Date/Datetime field and End Date/Datetime field will these fields be Date or DateTime?