Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Calendar Date Range #5

Open
marsson opened this issue Jan 18, 2021 · 3 comments
Open

Create Calendar Date Range #5

marsson opened this issue Jan 18, 2021 · 3 comments
Assignees

Comments

@marsson
Copy link
Owner

marsson commented Jan 18, 2021

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
Copy link
Collaborator

Hi @marsson,

  • Range Name - We can use the field Label which is a standard field.

  • Start Date/Datetime field(Text) and End Date/Datetime field(Text) will these fields be Date or DateTime?

  • What will ** sequence number ** be used for?

@marsson
Copy link
Owner Author

marsson commented Feb 22, 2021

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
Copy link
Collaborator

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

beatrizrodriguesalencar added a commit that referenced this issue Feb 23, 2021
#5 Task
beatrizrodriguesalencar added a commit that referenced this issue Feb 23, 2021
Create Calendar Date Range #5 Task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants