Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Scroll To Top Scroll To Top
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Microsoft SharePoint
  • SPFx
  • Scroll To TopScroll To Top
  • Issues
  • #9

Closed
Open
Created Nov 05, 2020 by Laurent Sittler@lsittler©Owner2 of 2 tasks completed2/2 tasks

Script: manage duplicate custom actions

Summary

The scripts that allow to deploy and install the extension on site collection and apps catalog of the site collection does not manage duplicate custom actions.

Prerequisites

  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Your environment

Tenant Release
  • Standard
  • Targeted
Extension version 1.0.0
Deployment
  • Tenant App Catalog and install one whole Tenant
  • Tenant App Catalog and install per site collection
  • Site collection app catalog
Browser
Browser Version
Operating System Windows 10, Mac

Current behavior

  1. Connect to the SharePoint site via Bash or PnP PowerShell
  2. Enable site collection apps catalog
  3. Launch the setup script
  4. Get the custom action with scope site and web
  5. More than one custom actions existing

Expected behavior

  1. Connect to the SharePoint site via Bash or PnP PowerShell
  2. Enable site collection apps catalog
  3. Launch the setup script
  4. The script check the existing custom actions
  5. If already exist, remove existing from scope site AND web
  6. Create new custom action

Screenshots

Additional information

Expand for output related to your SharePoint Environment
Edited Nov 05, 2020 by Laurent Sittler
Assignee
Assign to
Time tracking