Skip to content

Commit

Permalink
Setting ui page's icons with setter
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri-malec committed Nov 29, 2024
1 parent 87fa677 commit 3a6964b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,7 @@ segments_2i
# Files Generated by this integration
**/App_Data/Kentico.Xperience.SalesforceSalesCloud/*
/examples/DancingGoat/appsettings.Development.json

# Publishing profiles
*.pubxml
*.pubxml.user
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
uiPageType: typeof(CRMContactSyncItemListing),
name: "CRM contacts sync",
templateName: TemplateNames.LISTING,
order: 1000)]
order: 1000,
Icon = Icons.IntegrationScheme)]

namespace Kentico.Xperience.CRM.Common.Admin;

Expand Down
5 changes: 3 additions & 2 deletions src/Kentico.Xperience.CRM.Common/Admin/CRMSyncItemListing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
uiPageType: typeof(CRMSyncItemListing),
name: "CRM sync",
templateName: TemplateNames.LISTING,
order: 1000)]
order: 1000,
Icon = Icons.IntegrationScheme)]

namespace Kentico.Xperience.CRM.Common.Admin;

Expand Down Expand Up @@ -44,7 +45,7 @@ public CRMSyncItemListing(IContactFieldFromFormRetriever contactFieldFromFormRet
}

public override Task ConfigurePage()
{
{
PageConfiguration.ColumnConfigurations
.AddColumn(nameof(CRMSyncItemInfo.CRMSyncItemEntityID), formatter: (value, _) =>
{
Expand Down

0 comments on commit 3a6964b

Please sign in to comment.