Interface IVivaDashboard
Represents Viva Dashboard page
Namespace: PnP.Core.Model.SharePoint
Assembly: PnP.Core.dll
Syntax
public interface IVivaDashboard
Represents Viva Dashboard page
public interface IVivaDashboard
Returns list of ACEs added to the Dashboard
List<AdaptiveCardExtension> ACEs { get; }
Pn
|
Adds new ACE
void AddACE(AdaptiveCardExtension ace)
Adaptive ACE to add |
Adds new ACE
void AddACE(AdaptiveCardExtension ace, int order)
Adaptive ACE to add |
System. Order of the ACE in the dashboard |
Creates a new ACE for adding on the dashboard based upon the default settings of the
AdaptiveCardExtension NewACE(Guid aceId, CardSize cardSize = default(CardSize))
Guid
aceId
ID of the ace to instantiate |
Card Card to use when the ACE is added to the dashboard |
Adaptive Configured ACE, ready for customization and adding |
Creates a new ACE for adding on the dashboard based upon the default settings of the
AdaptiveCardExtension NewACE(DefaultACE defaultACE, CardSize cardSize = default(CardSize))
Default OOB ace to instantiate |
Card Card to use when the ACE is added to the dashboard |
Adaptive Configured ACE, ready for customization and adding |
Allows Dashboard to read custom Adaptive Card Extension as a custom ACE with custom properties. Once used You can access custom ACEs by dashboard.ACEs.OfTypeT();
void RegisterCustomACEFactory(ACEFactory aceFactory)
ACEFactory
aceFactory
An implementation of ACEFactory for your custom ACE |
Removes ACE with provided Guid from the Dashboard
void RemoveACE(Guid instanceId)
Guid
instanceId
|
Saves changes made to ACEs by persisting the dashboard
void Save()
Saves changes made to ACEs by persisting the dashboard
Task SaveAsync()
Task
|
Updates an existing dashboard ACE
void UpdateACE(AdaptiveCardExtension ace)
Adaptive ACE to update |
Updates an existing dashboard ACE
void UpdateACE(AdaptiveCardExtension ace, int order)
Adaptive ACE to update |
System. Order of the ACE in the dashboard |