Submitted by melinda on Wed, 09/28/2022 - 22:40
With help from the awesome Ryan!
'profession' => [
'#type' => 'select',
'#title' => $this->t('Professional Category'),
'#required' => TRUE,
'#empty_option' => $this->t('- Select -'),
'#options' => $professions,
'#default_value' => isset($user) ? $user->get('field_profession')->target_id : '',
],
Profession is the custom user field.
:)
Submitted by melinda on Thu, 09/22/2022 - 13:27
Diff Tool
You can use you Console or edit the config file directly. Either will work.
IN GIT
Run this:
git config --global diff.tool subl
("l" is and lowercase L)
Then run this:
git config --global difftool.subl.cmd "subl --wait --diff $LOCAL $REMOTE"
OR
Submitted by melinda on Thu, 09/08/2022 - 13:46
Just an easy fix for me, hope it is for you as well.
When your path for Visual Studio Code in the command prompt when configuring Git isn't working and it is a new VS install... restart your computer after installing Visual Studio Code. It should set the path and "code" will work in command prompt.
Submitted by melinda on Thu, 08/25/2022 - 11:03
Put the below in your "Text" property:
Text(ThisItem.YourColumnName,"hh:mm AM/PM")
Example and below results:
Text(ThisItem.BackToHHSDTime,"hh:mm AM/PM")
Submitted by melinda on Wed, 08/24/2022 - 10:07
In the forms "OnSuccess" Property.
If(DataCardValue62_6.Selected.Value = "Approved", Navigate('Success-Approved-HS',ScreenTransition.Fade), If(DataCardValue62_6.Selected.Value = "Denied", Navigate('Success-Denied-HS'),ScreenTransition.Fade),true,false)=true
Submitted by melinda on Wed, 08/24/2022 - 09:28
1. Insert Drop Down to Date Data Card, within the card.
Submitted by melinda on Tue, 08/23/2022 - 11:08
When you need to convert the time a certain time zone. :)
Submitted by melinda on Fri, 08/19/2022 - 11:16
So in HTML tables it doesn't seem like you can use convert time zone step to format the date the way you would like it so I did this and it works like a charm.
In dynamic content click the expression tab and enter this
formatDateTime(item()?['YourField/Column'],'dd-MM-yyyy hh:mm tt')
formatDateTime(item()?['BackToHHSDTime'],'dd-MM-yyyy hh:mm tt')
Submitted by melinda on Wed, 08/10/2022 - 14:08
This particular screen gives the AD assistants a quick glance at all the trips they have in the next 7 days. (8 if you include today. :)
Sort(Filter('YourSharePointList', ColumnYouWantToFilterBy.Value = "High School"And DATECOLUMN >= Today() And tripdate < DateAdd(Today(), 8, Days) ),DATECOLUMN,Ascending )
Sort(Filter('22-23-AthleticTrips', pickupbuilding.Value = "High School"And tripdate >= Today() And tripdate < DateAdd(Today(), 8, Days) ),tripdate,Ascending )
Submitted by melinda on Wed, 08/10/2022 - 14:01
Sort(Filter('SharePointList', YourColumn.Value = "Text Value"),DateColumn,Ascending)
Sort(Filter('22-23-AthleticTrips', pickupbuilding.Value = "High School"),tripdate,Ascending)
Pages