Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How i can show Working hours calendar to appear in the page load

(0) ShareShare
ReportReport
Posted on by 135

Dears 

How I can show Working hours calendar to appear in the page load instead of press small arrow and hit working hours 

58006.1.jpg

0677.2.jpg

8664.3.jpg

So I need to let this calendar appear once the page load instead of press the small arrow and hit Work Hours

I used this code but it's not working I always get an error

function nafcontrol() {
Xrm.Page.ui.navigation.items.forEach(function (item, index) {
var itemLabel = item.getLabel();
if (itemLabel == "Work Hours")

{
//item.setVisible(false);
item.setFocus();

}

}
});
}

please help and thanks for advance

*This post is locked for comments

  • Hani Adel Profile Picture
    Hani Adel 135 on at
    RE: How i can show Working hours calendar to appear in the page load

    Thank you for your response but i was read this lead many time and i dont understand it, i dont have i can implment it, in my last questtion i use your suggestion and i implement Bookable resource and i use the Work hours but the problem now that the user need to make many steps to reach these Work hours so I am trying to get anything that let this bookable resource on the page load appear the Work hours instead of hit it from the small arrow. :( :(

  • Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: How i can show Working hours calendar to appear in the page load

    Hi Hani,

    You can try using the url action instead of the name to navigate to the associated view.

    I hope this gives you some lead : community.dynamics.com/.../134363

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans