Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Is there a way to independently access each of the two controls (date picker and time drop down box) that are part of the scheduledstart (Start Time) field on the appointment entity?

Posted on by 1,579

Is there a way to independently access each of the two controls that are part of the  scheduledstart (Start Time) field on the appointment entity?

I need to set focus to the time control once the date is set via the date control. 

Is there some way to do formContext.getControl(fieldname.controlname).setFocus() ?

Specifically, when the date is set via the date control, I need to issue some kind of command like formContext.getControl(scheduledstart.timecontrol).setFocus()

I know the field name is scheduledstart but what is the control name?

If there is a way to access the specific controls, that would be helpful. 

CX2.png

*This post is locked for comments

  • Verified answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Is there a way to independently access each of the two controls (date picker and time drop down box) that are part of the scheduledstart (Start Time) field on the appointment entity?

    Hello,

    There is no supported way of doing that.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans