-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set-PnPList, added support for Color and Icons (#4409)
* π¨ - Initial work on Set-PnPList Color and Icon paramaters * π - Set the int value of color and icon as a string * Added explaining text to the example --------- Co-authored-by: Gautam Sheth <[email protected]>
- Loading branch information
1 parent
cb0fed3
commit 7268de8
Showing
4 changed files
with
111 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
ο»Ώusing System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace PnP.PowerShell.Commands.Enums | ||
{ | ||
public enum ListColor : short | ||
{ | ||
DarkRed = 0, | ||
Red = 1, | ||
Orange = 2, | ||
Green = 3, | ||
DarkGreen = 4, | ||
Teal = 5, | ||
Blue = 6, | ||
NavyBlue = 7, | ||
BluePurple = 8, | ||
DarkBlue = 9, | ||
Lavender = 10, | ||
Pink = 11, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
ο»Ώusing System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace PnP.PowerShell.Commands.Enums | ||
{ | ||
public enum ListIcon : short | ||
{ | ||
Bug = 0, | ||
Calendar = 1, | ||
Target = 2, | ||
Clipboard = 3, | ||
Plane = 4, | ||
Rocket = 5, | ||
ColorPalette = 6, | ||
Lightbulb = 7, | ||
Cube = 8, | ||
Beaker = 9, | ||
Robot = 10, | ||
PiggyBank = 11, | ||
Playlist = 12, | ||
Hospital = 13, | ||
Bank = 14, | ||
MapPin = 15, | ||
CoffeCup = 16, | ||
ShoppingCart = 17, | ||
BirthdayCake = 18 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters