GithubHelp home page GithubHelp logo

Comments (4)

erwinvanhunen avatar erwinvanhunen commented on June 5, 2024

This is related to the way the provisioning engine generates the template, and we have implemented a fix. This fix will be released on Friday after we have done some more thorough testing.

from pnp-powershell.

PieterVeenstra avatar PieterVeenstra commented on June 5, 2024

Hi Erwin,
Should this fix be included in this morning's release? I just tried the export of an out of the box blog site again and the above category content type is still set to 0x

Thanks,

Pieter

from pnp-powershell.

PieterVeenstra avatar PieterVeenstra commented on June 5, 2024

Hi Erwin,
Today I found a related issue when I exported a site with the MicroFeed list. This list has 4 list content types.

As PnP is assuming site collection content types on all lists and therefore taking the parent content type as the one to be included in the template I'm getting a Content Type binding that looks like this:

< pnp:ContentTypeBindings>
< pnp:ContentTypeBinding ContentTypeID="0x01" Default="true" />
< pnp:ContentTypeBinding ContentTypeID="0x01" Default="true" />
< pnp:ContentTypeBinding ContentTypeID="0x01" Default="true" />
< pnp:ContentTypeBinding ContentTypeID="0x01" Default="true" />
< /pnp:ContentTypeBindings>

During the import you will then get an error as Item is added multiple times.

Are there any plans to support list content types?

from pnp-powershell.

erwinvanhunen avatar erwinvanhunen commented on June 5, 2024

I just tested this both on a subweb and a rootweb running the BLOG#0 template and cannot reproduce this issue. I will close this issue, but if you feel the issue is still present then do not hesitate to reopen the issue.

from pnp-powershell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.