in

Dot Net Mafia

Group site for developer blogs dealing with (usually) Ionic, .NET, SharePoint, Office 365, Mobile Development, and other Microsoft products, as well as some discussion of general programming related concepts.

This Blog

Syndication

Archives

Corey Roth [MVP]

A SharePoint MVP bringing you the latest time saving tips for Ionic, SharePoint, and Office 365.

May 2018 - Posts

  • How to: Default a date field to today's date in PowerApps

    When you add a date field in PowerApps, I find that the current default date of 12/31/2001 is not very useful for me.

    PowerAppsDefaultDate

    Changing the default date is not hard but you have to know where to look.  First, you have to realize a date field is actually three different controls DateValue, HourValue, and MinuteValue.  The default has to be set on each one. 

    Start by clicking on the Date Value where is says 12/31/2001.  In the properties, go to the Advanced Tab and click the Unlock button. Now, iIn the property selector, look for DefaultDate and change the value to Now().

    PowerAppsDefaultDateSelected

    You'll notice the date changes to today's date now.  You can also use date manipulation functions if you want to choose another date.  Now, if you don't like the time defaulting to midnight, we can change that too.  Click on the HourValue and choose Default in the property selector.  Notice the formula it has.

    PowerAppsDefaultDateHourBeforeChange

    Let's change that to use today's date and time to get the default value with the following formula.

    Text(Hour(Now()), "00")

    You'll notice the hour has now updated.  PowerApps may apply a region identifier to your string when you update it.  That won't mess anything up.

    PowerAppsDefaultDateHourBeforeChange

    Now repeat the process for the MinuteValue with the following formula

    Text(Minute(Now()), "00")

    PowerAppsDefaultDateMinuteValueChanged

    That's all there is to it.  It may take a few extra steps than you expected but the process is pretty easy to follow.

  • Getting started with the new Microsoft Teams & Skype for Business Admin Center

    The new Microsoft Teams & Skype for Business Admin Center is starting to roll out to first release.  This post will show you some of the highlights and how to get started.  First, you have to know where to find it.  Currently, the Microsoft Teams & Skype for Business Admin Center does not show up in the list of Admin Centers on your Tenant.  To find it in your Admin Center, go to Settings -> Services & add-ins and then Microsoft Teams

    TeamsAdminCenterSettingsLink

    If the new admin center has been provisioned on your tenant, you will see a message at the top warning you that some settings are only available in the new admin center.

    TeamsAdminSettingsMigrated

    Click on the link to take you to the new admin center.  It will take you to the URL below.

    https://admin.teams.microsoft.com/

    The will take you a dashboard that looks a bit incomplete for the moment.  It lets you quickly get to your users as well as some help videos.

    TeamsAdminCenterDashboard

    On the Users page, you can see a dashboard of users, phone numbers (if any) and that one policy has been defined.  It looks like the RestrictedAnonymousAccess policy is assigned to everyone by default.

    TeamsAdminCenterUsers

    When you click on a user, you see a screen with some general information including the conference bridge and phone number (if assigned).  Here you can reset the conference ID or PIIN, set policies, and set defaults.

    TeamsAdminCenterUser

    If you click Edit next to Assigned policies, it will let you change the Teams Messaging policy but you cannot change the Teams Meeting Policy yet.  The option simply isn't present when you click on it.  I suspect that will come later in the future.

    TeamsAdminCenterUserPolicy

    If you click Edit next to Microsoft Teams, you can set the Default calling app and the Default chat appEach one has a value of Teams, Skype for Business, or Default.  However, when you try to change the Default calling app, you get an error:

    This combination of preferred applications isn't allowed.

    TeamsAdminCenterUserDefaults

    I suspect this will be resolved in the future as more of the Interop features on the roadmap are launched.

    Under Meetings, you can now manage your conference bridge phone numbers.  This is a welcome change from the old Skype for Business audio conference settings.

    TeamsAdminCenterMeetings

    Clicking Settings takes you to bridge settings include entry and exit notifications and PIN length.

    TeamsAdminCenterMeetingsSettings

    In reality, not that many settings have been migrated to the new admin center yet.  The most noticeable move will be the Messaging settings.

    TeamsAdminMessagingMoved

    Here you will see the new expanded Teams messaging policy with the ability to set more than one policy now.

    TeamsAdminCenterMessagingPolicies

    You can control External Access under Org-wide settings.  This is where you can turn off communication to external Skype (consumer) users.  By the way, Secure Score actually recommends you turn off communication to Skype users now.

    TeamsAdminCenterExternalAccess

    Under Guest Access you can control all of the settings that you allow guests of your Teams to do.

    TeamsAdminCenterGuestAccess

    That's all of the new settings for now.  Like the new SharePoint Admin Center, many of the legacy settings will take some time to migrate over to this new experience.  If you can't find the setting you are looking for, go back to the Skype for Business admin center or the Teams Settings menu.

2018 dotnetmafia.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems