Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

Extension of the standard calendar lookup

Posted on by 77
These days the question arises whether the standard calendar lookup can be extended to additional show the calendar week.
The way I see it, there is a FormControl behind the lookup, which is implemented under Resources:
 

Behind it is an HTML and a JavaScript file:
 
 
2 questions:
Where/how is it defined in that the FormControl “Calendar” is used as the lookup for date fields? In general, the lookup is probably used “automatically” as soon as a date field is displayed somewhere on a form.
 
Is there a way to change / extend the standard HTML and JavaScript files? How would I then bring the changes into the DevOps repository?
 
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 229,316 Most Valuable Professional on at
    Extension of the standard calendar lookup
    Yes, I think you need to create a lookup form. Then you can, for example, put it to FormHelp property of an EDT to get your lookup form used for controls with this data type.
     
    For example, WHSImplementationTaskLinkLookup form uses a tree control instead of the usual grid, and it's linked to WHSImplementationAction EDT.
  • DerSascha Profile Picture
    DerSascha 77 on at
    Extension of the standard calendar lookup
    One more question. How can I use a custom created control as a lookup? Do I have to put the control on a form and use this form as a lookup form?
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 229,316 Most Valuable Professional on at
    Extension of the standard calendar lookup
    You aren't allowed to change objects in Microsoft packages, such as Application Foundation (where CalendarControl is defined). You can only create new objects (either independent ones or extensions) in your own packages. Therefore you can create your own calendar control, but if you want to change the standard one, you must ask Microsoft to do it.
     
    Note that there F&O doesn't allow changes of resources (such as the .htm file) through extensions.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,316 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans