Design Manager In SharePoint 2013 & Office 365 – Part Seven


Welcome to an article on an important new functionality on our SharePoint 2013 and Office 365 site which is none other than “Design Manager”.

Before reading this article, I highly recommend reading my previous parts:

  • Design Manager in SharePoint 2013 / Office 365 – Part One
  • Design Manager In SharePoint 2013 & Office 365 – Part Two
  • Design Manager In SharePoint 2013 & Office 365: Part Three
  • Design Manager in SharePoint 2013 & Office 365- Part Four
  • Design Manager In SharePoint 2013 & Office 365 – Part Five
  • Design Manager In SharePoint 2013 & Office 365 – Part Six

Branding is everything now among all organizations. A site should have it all to attract its users. Earlier, SharePoint Designer was an extra tool to do so but now we have Design Manager right at your site collection.

You have to enable your publishing feature on your site collection and you will have a list of features available on your site settings of the site collection.

manager

  • Welcome
  • Manage Device Channels
  • Upload Design Files
  • Edit Master Pages
  • Edit Display Templates
  • Edit Page Layouts
  • Publish and Apply Design
  • Create Design Package

All the above have awesome functionalities which will help you to do a lot of things with your master pages, page layouts, html and css files all in here.

In this article we will start off with the seventh configuration “Publish and Apply Design”.

Publish and Apply Design

apply

Here under Publish and Apply Design, we will be able to publish and apply our design which we modified in the Design Manager.

Let’s see how we can do it.

  • Click on ‘Assign master page to your site based on device channel’.
  • You will come to the configuration here of Site Master Page Settings as per the screen below.

    master page

    Site Master Page

    Under this setting, you can either make your site inherit from the parent’s master page or select a new master page for this site.

    You can also make all the sub sites of this site to inherit the same master page as this.

    System Master Page

    Similarly under this setting, you can either make your site inherit from the parent’s system master page or select a new system master page for this site.

    You can also make all the sub sites of this site to inherit the same system master page as this.

    theme

    Theme

    You can choose the theme from the parent’s and can make all the sub sites of this site to inherit the same theme as this site.

    Alternate CSS URL

    Alternate CSS URL

    Here you can inherit the css of the site from the parent or use the default styles and css files associated with your master page or browse a new css file from your system.

    Here you can too make the sub sites inherit the css file as your current parent site.

Once your configuration is done, click on OK and your site will be set with the new master page, theme and the css file..

Here we saw an article on Design Manager in SharePoint 2013 & Office 365 with the seventh configuration panel ‘Publish and Apply Design’ on the list. There are more to come. Keep reading and keep learning!

Design Manager In SharePoint 2013 & Office 365 – Part Six


Welcome to an article on an important new functionality on our SharePoint 2013 and Office 365 site which is none other than “Design Manager”.

Before reading this article, I highly recommend reading my previous parts:

  • Design Manager in SharePoint 2013 / Office 365 – Part One
  • Design Manager In SharePoint 2013 & Office 365 – Part Two
  • Design Manager In SharePoint 2013 & Office 365: Part Three
  • Design Manager in SharePoint 2013 & Office 365- Part Four
  • Design Manager In SharePoint 2013 & Office 365 – Part Five

Branding is everything now among all organizations. A site should have it all to attract its users. Earlier, SharePoint Designer was an extra tool to do so but now we have Design Manager right at your site collection.

You have to enable your publishing feature on your site collection and you will have a list of features available on your site settings of the site collection.

manager

  • Welcome
  • Manage Device Channels
  • Upload Design Files
  • Edit Master Pages
  • Edit Display Templates
  • Edit Page Layouts
  • Publish and Apply Design
  • Create Design Package

All the above have awesome functionalities which will help you to do a lot of things with your master pages, page layouts, html and css files all in here.

In this article we will start off with the sixth configuration “Edit Page Layouts”.

Edit Page Layouts:

layout

Here under Edit Page Layouts, we will be able to create page layouts with your desired look and feel you want through your desired master page.

Let’s see how we can do it.

  • Click on ‘Create a Page Layout’.
  • Here you can fill in the configuration.

    create

Configuration:

  1. Name: Provide a name to your page layout.
  2. Master Page: Select which master page you want your page layout to inherit.
  3. Content Type: You can choose here among the following content types available while building your page layout.

    type

  • Article Page: Article Page is a content type template created by the Publishing feature. It is used for default page layouts which are used to create articles.
  • Enterprise Wiki Page: It is the default content type for the Enterprise Wiki site template. It provides a basic content area with ratings and defined categories.
  • Project Page: Project Page is a content type which is included with the Enterprise Wiki site template.
  • Welcome Page: Welcome Page content type template is used to create welcome pages in sites that have the Publishing feature enabled.
  • Error Page: Error Page is a content type template used to create error pages in sites.
  • Redirect Page: Redirect Page is a content type template used for the redirect page layout.

Once you configure your page layout, click on OK and your page layout will be created.

Here we saw today an article on Design Manager in SharePoint 2013 & Office 365 with the sixth configuration panel ‘Edit Page Layouts’ on the list. There are more to come. Keep reading and keep learning!

Design Manager In SharePoint 2013 & Office 365 – Part Five


Welcome to an article on the new functionality of our SharePoint 2013 and Office 365 site which is none other than “Design Manager”.

Before reading this article, I highly recommend reading my previous parts:

  • Design Manager in SharePoint 2013 / Office 365 – Part One
  • Design Manager In SharePoint 2013 & Office 365 – Part Two
  • Design Manager In SharePoint 2013 & Office 365: Part Three
  • Design Manager in SharePoint 2013 & Office 365- Part Four

Branding is everything now among all organizations. A site should have it all to attract its users. Earlier, SharePoint designer had an extra tool to do so but now we have Design Manager right at your site collection.

You have to enable your publishing feature on your site collection and you will have a list of features available on your site settings of the site collection.

design

  • Welcome
  • Manage Device Channels
  • Upload Design Files
  • Edit Master Pages
  • Edit Display Templates
  • Edit Page Layouts
  • Publish and Apply Design
  • Create Design Package

All of the above have awesome functionalities which will help you to do a lot of things with your master pages, page layouts, html and css files all in here.

In this article we will start off with the fifth configuration “Edit Display Templates”.

Edit Display Templates

edit

Here under Edit Display Templates, all the search web parts or the search result pages use default display templates which are used for the appearance and behavior of the search on SharePoint.

As you can see the control type has been divided into two,

  1. Content Web Parts
  2. Search hover Panels
  3. Search Results

Similarly the Content Type used here are,

  1. Control Display Template
  2. Item Display Template.

You can change it as per your requirement and create new html files but as a warning to prevent the template to get corrupted, use any of the ones out here as a base and edit them using a html editor.

It will allow you to do modifications on the html code as per your requirements.

Here we saw today an article on Design Manager in SharePoint 2013 & Office 365 with the fifth configuration panel ‘Edit Display Templates’ on the list. There are more to come. Keep reading and keep learning!

Design Manager In SharePoint 2013 & Office 365- Part Four


Welcome to an article on the most important new functionality of SharePoint 2013 and Office 365 site which is none other than “Design Manager”.

Before reading this article, I highly recommend reading my previous parts:

  • Design Manager in SharePoint 2013 / Office 365 – Part One
  • Design Manager In SharePoint 2013 & Office 365 – Part Two
  • Design Manager In SharePoint 2013 & Office 365: Part Three

Branding is everything now among all organizations. A site should have it all to attract its users. Earlier, SharePoint designer had an extra tool to do so but now we have Design Manager right at your site collection.

You have to enable your publishing feature on your site collection and you will have a list of features available on your site settings of the site collection.

Edit Mater Pages

  • Welcome
  • Manage Device Channels
  • Upload Design Files
  • Edit Master Pages
  • Edit Display Templates
  • Edit Page Layouts
  • Publish and Apply Design
  • Create Design Package

All the above have awesome functionalities which will help you to do a lot of things with your master pages, page layouts, html and CSS files all in here.

In this article we will start off with the fourth configuration “Edit Mater Pages”.

Edit Mater Pages:

Design manager

Here under Edit Mater Pages, you have two functionalities.

  1. Convert an HTML file to a SharePoint master page.
  2. Create a minimal master page.

Convert an HTML file to a SharePoint master page

Here under Convert an HTML file to a SharePoint master page you can upload a html file which the design manager will convert  to a master page which you can use on your site.

add master page
Yes, it’s what you are thinking. When you upload the html file the Design Manager converts that file to a master page if there is no error. If they find any errors, the manager will assist you to help you understand what is causing an issue while converting and you will be able to resolve the issue thereby converting the html file to a SharePoint master page.

Create a minimal master page

When you click on, Create a minimal master page. It allows you to directly create a master page by typing in the name and you can create master page directly on one click.

Create master page

Just type in the name and the master page gets created on one click.

Isn’t it amazing!

Here we saw today an article on Design Manager in SharePoint 2013 & Office 365 with the fourth configuration panel ‘Edit Master Pages’ on the list. There are more to come. Keep reading and keep learning!

Design Manager In SharePoint 2013 & Office 365: Part Three


Before reading this article, I highly recommend reading my previous parts:

  • Design Manager in SharePoint 2013 / Office 365 – Part One
  • Design Manager In SharePoint 2013 & Office 365 – Part Two

Welcome to an article on the most important new functionality on our SharePoint 2013 and Office 365 site which is none other than “Design Manager.”

Branding is everything now among all organizations. A site should have it all to attract its users. Earlier, SharePoint Designer was an extra tool to do so, but now we have Design Manager right at your site collection.

You have to enable your publishing feature on your site collection and you will have a list of features available on your site settings of the site collection.

manager

  • Welcome
  • Manage Device Channels
  • Upload Design Files
  • Edit Master Pages
  • Edit Display Templates
  • Edit Page Layouts
  • Publish and Apply Design
  • Create Design Package

All the above have awesome functionalities which will help you to do a lot of things with your master pages, page layouts, html and css files all in here.

Upload Design Files:

upload

If I tell you that you just have to copy and paste your html files, CSS files, JS Files in a map drive and it’s done, I know you won’t believe it.

Once you copy the files, your files are in SharePoint ready to be inherited by your site.

You can see we have a link on the right corner of the screenshot, just copy that and map it. You can upload the HTML version of the master page you want to upload or your css and JavaScript files.

How do you map a site in your network drive

  • Click My Computer on your local machine.
  • Click Map network drive.

    map

  • Click on the option “Connect to a Web site that you can use to store your document and pictures.”.

    drive

  • Click on Next.

    next

  • Choose the option and Click on Next.

    next

  • You will be asked to provide your site link.

    link

  • Once added, click on next.

    next

  • Provide a name for your mapped site.

    finish

  • Here you are good to go.

Once you click on Finish, the library will be directly on your local folder where you can edit your files or copy or move them and it will directly get updated in SharePoint.

So pick up your machine and start uploading your design files. Isn’t it amazing!

Here we saw today an article on Design Manager in SharePoint 2013 & Office 365 with the third configuration panel ‘Upload Design Files’on the list. There are more to come. Keep reading and keep learning!

Design Manager In SharePoint 2013 & Office 365 – Part Two


Welcome to an article on the most important new functionality on our SharePoint 2013 and Office 365 site which is none other than “Design Manager.

Before reading this article, I highly recommend reading my previous part:

  • Design Manager in SharePoint 2013 / Office 365 – Part One

Branding is everything now among all organizations. A site should have it all to attract its users. Earlier, SharePoint Designer where anwas an extra tool to do so but now we have Design Manager right at your site collection.

You have to enable your publishing feature on your site collection and you will have a list of features available on your site settings of the site collection.

Design manager

  • Welcome
  • Manage Device Channels
  • Upload Design Files
  • Edit Master Pages
  • Edit Display Templates
  • Edit Page Layouts
  • Publish and Apply Design
  • Create Design Package

All the above have awesome functionalities which will help you to so a lot of things with your master pages, page layouts, html and css files all in here.

As we saw the first configuration panel ‘Welcome’ in my previous article, and in this article we will start off with the second configuration, “Manage Device Channels”.

Manage Device Channels

Manage Device Channels

Here under Manage Device Channels, you have two functionalities.

  1. Create a channel
  2. Edit or re order channels

Create a channel

As on our televisions, we have multiple channels with each purpose such as entertainment, sports or news similarly, you can create a channel to display content based on your browser and device.

Let’s see how we do it.

Create a channel

Active

Configuration

Here when you click on Create a channel, you are pointed to the following form with the data fields as below:

  • Name: Provide a name to your channel which should be unique and can be easily identified.
  • Alias: Provide an alias or a variable value which will be used by SharePoint to identify your channel in the code.
  • Description: Provide a basic description to let other developers know what is the purpose.
  • Device Inclusion Rules: Choose the device you want to use this channel as in Windows OS or IOS or any device like phone or desktop so that when the site is rendered on any device , it will go and validate which channel is required to open under which device OS.
  • Active: Mark as Active when in use.

Once you configure, the channel will be saved.

Edit or re order channels

When you click on, you will be directed to sites/DeviceChannels/AllItems.aspx which is a list to maintain the device channels and you can edit or change anything on them.

device channels

Currently, we already have a device channel as default to be used for all devices but when you specify your own channel it will work with respect to the devices you configure.

Isn’t it amazing!

Here we saw today an article on Design Manager in SharePoint 2013 & Office 365 with the second configuration panel ‘Manage Device Channels’ on the list. There are more to come. Keep reading and keep learning!

Design Manager in SharePoint 2013 / Office 365 – Part One


Branding is everything now among all organizations. A site should have it all to attract users. Earlier, SharePoint Designer had an extra tool to do so but now we have Design Manager right at your site collection.

You have to enable your publishing feature on your site collection and you will have a list of features available on your site settings of the site collection.

design manager

  • Welcome
  • Manage Device Channels
  • Upload Design Files
  • Edit Master Pages
  • Edit Display Templates
  • Edit Page Layouts
  • Publish and Apply Design
  • Create Design Package

All the above have awesome functionalities which will help you to do a lot of things with your master pages, page layouts, html and css files.

In this article we will start off with the first configuration “Welcome” which welcomes you all to the Design Manager.

Welcome

Welcome

Here under welcome, you have two functionalities.

  1. Import a complete design package.
  2. Pick a pre-installed look.

Import a complete design package

While using this this feature, if you have any design package which you would like to make your site inherit from, it can be uploaded here and once you upload your design package, you can activate it and make the site inherit.

Just choose the file and upload it in here.

choose the file

Pick a pre- installed look

Second option is to use functionality from the SharePoint itself which is “Change the look.” Once you click on it, you will come here.

  • You will reach the screen with various options of color and layout options. Choose the one as per your requirement and click on it.

    Site setting

  • Once you select, you will see the options below with a layout of the site as visible on the screenshot below,

    layout

Drop an image here

You can add an image here as a background of the site when browsing it from your computer.

Drop an image

Colors

You can choose the color of the site here with combinations as per the screen below.

Colors

Choose one of the master pages to inherit your site; as per now, we have two default site layouts as in Seattle and Oslo.

Seattle

Choose the fonts you want your site to have from the option below.

fonts

Select font

Once you have configured your theme, Click on ‘Try it Out’ on the right side of the panel.

Try it Out

You will see the preview of the site.

If you like it, click on ‘Yes, keep it’ and if you don’t, click on ‘No, not quite there’.

Yes keep it

Here we saw today an article on Design Manager in SharePoint 2013 & Office 365 with the first configuration panel ‘Welcome’ on the list. There are more to come. Keep reading and keep learning!

Check Group Properties Using REST API In SharePoint Online And Office 365


Welcome to an article on “How to Check Group Properties using REST API in SharePoint Online and Office 365” where we will see the steps of checking the group properties of a SharePoint group using REST API.

  • Open the “NAPA” Office 365 Development Tools through your SharePoint store.
  • Click on Add New Project.
  • It will ask you, what type of app do you want to build?app
  • Select SharePoint Add-in and provide a name to your app and click on Create.click on Create
  • You will see the screen below on the app,Content
  • Click on Default.aspx and paste the code below under the “<asp:ContentContentPlaceHolderID=”PlaceHolderMain” runat=”server”>”.Code:
    1.       Group Properties
    2.       “text” value=“Group Name” id=“grouptextbox” />
    3.       “groupclick”>Check Group Properties
  • Now on the navigation click on the App.js file and paste the code below removing the previous code completely.Code:
    1. ‘use strict’;
    2. varhostweblink;
    3. varapplink;
    4. // Get the links on the page load
    5. $(document).ready(function()
    6. {
    7.     hostweblink = decodeURIComponent(getQueryStringParameter(“SPHostUrl”));
    8.     applink = decodeURIComponent(getQueryStringParameter(“SPAppWebUrl”));
    9.     //Add the click event
    10.     $(“#groupclick”).click(function(event)
    11.     {
    12.         groupdetails();
    13.         event.preventDefault();
    14.     });
    15.     varscriptlink = hostweblink + “/_layouts/15/”;
    16.     $.getScript(scriptlink + “SP.RequestExecutor.js”);
    17. });
    18. functiongetQueryStringParameter(paramToRetrieve)
    19. {
    20.     varparamsval = document.URL.split(“?”)[1].split(“&”);
    21.     for (vari = 0; i < paramsval.length; i = i + 1)
    22.     {
    23.         var param1 = paramsval[i].split(“=”);
    24.         if (param1[0] == paramToRetrieve) return param1[1];
    25.     }
    26. }
    27. // Get the group content
    28. functiongroupdetails()
    29. {
    30.     vargrouptextval = document.getElementById(“grouptextbox”).value;
    31.     var play;
    32.     // Initialize execution
    33.     play = new SP.RequestExecutor(applink);
    34.     play.executeAsync(
    35.     {
    36.         url: applink + “/_api/SP.AppContextSite(@target)/web/sitegroups/getbyname(‘” + grouptextval + “‘)?@target='” + hostweblink + “‘”,
    37.         method: “GET”,
    38.         headers:
    39.         {
    40.             “Accept”“application/json; odata=verbose”
    41.         },
    42.         success: groupexecutedsuccess,
    43.         error: groupexecutedfailure
    44.     });
    45. }
    46.  // Group Executed Completed
    47. functiongroupexecutedsuccess(data)
    48. {
    49.     varjsonObjectval = JSON.parse(data.body);
    50.     varpropertiesval = ‘Group Properties:\n’;
    51.     propertiesval += “Title : “ + jsonObjectval.d.Title + ‘\n’;
    52.     propertiesval += “Description : “ + jsonObjectval.d.Description + ‘\n’;
    53.     propertiesval += “LoginName : “ + jsonObjectval.d.LoginName + ‘\n’;
    54.     propertiesval += “OwnerTitle : “ + jsonObjectval.d.OwnerTitle + ‘\n’;
    55.     alert(propertiesval);
    56. }
    57. // Group Executed Failed
    58. functiongroupexecutedfailure(data, errorCode, errorMessage)
    59. {
    60.     alert(“Error loading properties: “ + errorMessage);
    61. }
  • Click on the settings icon on the tool on the left.settings
  • Under the properties, select Permissions and provide full control to the app on the Site Collection level.select Permissions
  • Click on the deploy button on the left and run the project.run the project
  • Click on the launch button.Click on the launch button
  • Accept the trust and click on ‘Trust It’.Trust It
  • Your app will be deployed and open for you as per the following screenshot:view group
  • Provide the name of the group whom you want to check the properties.
  • Click on ‘Check Group Properties’ and you will find all the details as per screen below of your group.run

Here we saw today how to check Group Properties using REST API in SharePoint Online and Office 365. You will love your app. Keep reading and keep learning!