SubPointSolutions / spmeta2

SharePoint artifact provision for .NET platform. Supports SharePoint Online, SharePoint 2019, 2016 and 2013 via CSOM/SSOM.
http://subpointsolutions.com/spmeta2
134 stars 56 forks source link

Definitions for SharePoint 2016 Suite Bar #1052

Closed andreasblueher closed 7 years ago

andreasblueher commented 7 years ago

Hello,

I was wondering if you're planning to add suite bar support to SPMeta?

https://code.msdn.microsoft.com/office/SharePoint-2016-SuiteBar-9f9d8304#content

I would like to add them to my pool of definitions :)

SubPointSupport commented 7 years ago

With the recent release we added SuiteNavDefinition: https://github.com/subpointsolutions/spmeta2/issues/852

It needs some love to make it work with SharePoint 2016 due to new props introduced. if-def conditions might help but it must work well for both SP2016 and SP2013 using new props or failing back and skipping props which aren't available in SP2013.

Have a look, let us know what is missed. It's relatively small fix, SSOM only, straight props and implementation. The heavy lifting was already done.

SubPointSupport commented 7 years ago

@andreasblueher, just checking on this one. Would you be keen to enhance this definition or at least feedback on the missing properties so that we can add them?

andreasblueher commented 7 years ago

Tbh I was expecting way more from SuiteNav elements than Microsoft implemented. I hoped to be able to add tiles to the "365 like navigation" in the upper left corner, but it appears that's not what SuiteNavDefinition is for.

In addition to my not fulfilled expectations I'm really wondering why I would want to define my SuiteNav on WebApplication level? Wouldn't it make more sense to have this kind of settings on sitecollection level? Maybe even SPWeb?

We found a way to use JavaScript to add tiles having a MicroServices which ultimately is what I was trying to do. Too bad Microsoft allow this to be done through other code. From my point of view, you can close this issue.

SubPointSupport commented 7 years ago

Agree on everything said.