Skip to content

[FEATURE] Allow dependencies with Add-PnPSiteDesignTask #3453

Open
@paylord

Description

@paylord

Is your feature request related to a problem? Please describe.
When creating a new site, I sometimes need to be able to apply 2 separate Site Designs where the second is dependent on the first.

Describe the solution you'd like
Is it possible to add a dependency or potentially an order of processing when using Add-PnPSiteDesignTask to add more than one task?

Describe alternatives you've considered
I am currently applying the first then testing in a loop until I know it has applied then I trigger the second. While it works it feels rather clunky and that there should be a better way. I appreciate these are likely async calls so was hoping there could be some way to indicate the second was dependent on the first or similar.

Understand I can use Get-PnPSiteDesignRun but as far as I can tell this would still need to be called in a loop until it showed success.

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions