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

O365/csom Enable choosing default library/list experience #873

Closed
O365Tycho opened this issue Aug 14, 2016 · 2 comments
Closed

O365/csom Enable choosing default library/list experience #873

O365Tycho opened this issue Aug 14, 2016 · 2 comments

Comments

@O365Tycho
Copy link

Add support to set/choose the list/library experience in O365.
It looks like it's just activating/deactivating a new feature:
https://support.office.com/en-us/article/Switch-the-default-experience-for-lists-or-document-libraries-
from-new-or-classic-66dac24b-4177-4775-bf50-3d267318caa9

Didn't see it as a buildinfeatureid in 1.2.75b yet.

@SubPointSupport SubPointSupport self-assigned this Aug 14, 2016
@SubPointSupport SubPointSupport added this to the backlog-high milestone Aug 14, 2016
@SubPointSupport
Copy link
Contributor

Just use a hardcoded GUID, will add this one into buildinfeatureid class.

@SubPointSupport
Copy link
Contributor

Done. Added the following:

public static class BuiltInSiteFeatures {

/// <summary>
        /// This Feature enables default experience for lists or document libraries from new or classic on the site.
        /// https://support.office.com/en-us/article/Switch-the-default-experience-for-lists-or-document-libraries-from-new-or-classic-66dac24b-4177-4775-bf50-3d267318caa9?ui=en-US&rs=en-US&ad=US
        /// </summary>
        public static FeatureDefinition EnableDefaultListLibrarExperience = new FeatureDefinition
        {
            Title = "EnableDefaultListLibrarExperience",
            Id = new Guid("{E3540C7D-6BEA-403C-A224-1A12EAFEE4C4}"),
            Scope = FeatureDefinitionScope.Site,
            ForceActivate = false,
            Enable = false
        };
}

and the web one:

public static class BuiltInWebFeatures {

/// <summary>
        /// This Feature enables default experience for lists or document libraries from new or classic on the web.
        /// https://support.office.com/en-us/article/Switch-the-default-experience-for-lists-or-document-libraries-from-new-or-classic-66dac24b-4177-4775-bf50-3d267318caa9?ui=en-US&rs=en-US&ad=US
        /// </summary>
        public static FeatureDefinition EnableDefaultListLibrarExperience = new FeatureDefinition
        {
            Title = "EnableDefaultListLibrarExperience",
            Id = new Guid("{52E14B6F-B1BB-4969-B89B-C4FAA56745EF}"),
            Scope = FeatureDefinitionScope.Web,
            ForceActivate = false,
            Enable = false
        };

SubPointSupport added a commit that referenced this issue Aug 14, 2016
+ O365/csom Enable choosing default library/list experience  #873
+ 1.2.16227.1126 file version
+ full CSOM/SSOM regression testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants