Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Extension of the stand...
Finance forum
Answered

Extension of the standard calendar lookup

Posted on by 73
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 228,552 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 73 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 228,552 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans