Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add-PnPPageSection does not support VerticalSectionZoneEmphasis #2350

Closed
1 of 6 tasks
navkri789 opened this issue Sep 16, 2022 · 2 comments · Fixed by #3129
Closed
1 of 6 tasks

[Enhancement] Add-PnPPageSection does not support VerticalSectionZoneEmphasis #2350

navkri789 opened this issue Sep 16, 2022 · 2 comments · Fixed by #3129
Assignees
Labels
enhancement New feature or request

Comments

@navkri789
Copy link

navkri789 commented Sep 16, 2022

Reporting an Issue or Missing Feature

Missing Feature

Expected behavior

Add-PnPPageSection should be able to set the Zone Emphasis of a Vertical Section

Actual behavior

No way to currently do it

Steps to reproduce behavior

Add-PnPPageSection -Page $pageName -SectionTemplate OneColumnVerticalSection -Order 0 -ZoneEmphasis 2 -VerticalSectionZoneEmphasis 1

What is the version of the Cmdlet module you are running?

1.11.0

Which operating system/environment are you running PnP PowerShell on?

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
@navkri789 navkri789 added the bug Something isn't working label Sep 16, 2022
@gautamdsheth gautamdsheth added enhancement New feature or request and removed bug Something isn't working labels Sep 16, 2022
@gautamdsheth gautamdsheth changed the title [BUG] Add-PnPPageSection does not support VerticalSectionZoneEmphasis [Enhancement] Add-PnPPageSection does not support VerticalSectionZoneEmphasis Sep 16, 2022
@milanholemans
Copy link
Contributor

Hi @navkri789

Currently you can set the zone emphasis of the vertical section by using -ZoneEmphasis. Both the normal section and the vertical section will get a background color. It is true that you cannot explicitly choose the color of only the vertical section but this is because we are limited by what the CSOM API is offering us.

@gautamdsheth gautamdsheth self-assigned this May 22, 2023
gautamdsheth pushed a commit to gautamdsheth/powershell that referenced this issue May 22, 2023
gautamdsheth added a commit that referenced this issue May 27, 2023
Feature #2350 - Add support for vertical column emphasis
@gautamdsheth
Copy link
Collaborator

Closing it as we have merged it via a PR.
It will be available from tomorrow's nightly builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants