You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 24, 2021. It is now read-only.
There is an issue with the foreach loop to remove the custom actions in PnP / Samples / Branding.CustomCSS / Branding.CustomCSSWeb / Pages / Default.aspx.cs , one lines 93 and 131.
This code works, which similar to the code in the Branding.UIElementPersonalizationWeb sample.
var actions = existingActions.ToArray();
foreach (var action in actions)
{
if (action.Name.Equals(actionName, StringComparison.InvariantCultureIgnoreCase))
{
action.DeleteObject();
clientContext.ExecuteQuery();
}
}
There is an issue with the foreach loop to remove the custom actions in PnP / Samples / Branding.CustomCSS / Branding.CustomCSSWeb / Pages / Default.aspx.cs , one lines 93 and 131.
This code works, which similar to the code in the Branding.UIElementPersonalizationWeb sample.