Powered by Blogger.
🌏World roaming Software Technology Evangelist. Proud Indian, Bought up from Coimbatore, Tamilnadu, INDIA. Pointing towards share of Knowledge. 😎
  • Programming ▼
    • DotNet
      • C# Coding Standards
    • Cloud
    • Microsoft 365/ SharePoint
    • SQL
    • Angular / ReactJS / NodeJS
    • Salesforce
    • Magento
    • Python
    • Mobile App Development
    • Database
    • DevOps
    • Automation Testing
    • User Experience
  • Learning ▼
    • Roadmap
    • Trainings
    • E-Books
    • Quick References
    • Certifications
    • Self Improvement
    • Productivity
    • TED Talks
    • Kids Programming
  • SW Engineering ▼
    • Agile
    • Software Design
    • Architecture Samples
    • Best Practises
    • Technologies and Tools
    • Open Sources
    • Free Softwares
  • Leadership ▼
    • Program Management
    • Product Management
    • Project Management
    • People Management
  • Job Search ▼
    • Interview Tips
    • Career Handbook
    • Resume Templates
    • Sample Profiles
    • Cover Letter Samples
    • HR Interview Questions
    • Job Websites List
    • Coding Site Links
    • TedEx Talks
    • International Jobs
  • Emerging ▼
    • Innovation
    • Machine Learning
    • Artificial Intelligence
    • Generative AI
    • AI Tools
    • Big Data
    • Data Science
    • Data Analytics & Visualization
    • Cyber Security
    • Microsoft Azure
    • Amazon Web Services
    • Cryptography
    • ChatBots
    • Internet of Things (IoT)
    • Mixed Reality /AR/VR
  • Misc. ▼
    • Travel
    • Photography
    • Health Tips
    • Medical Tips
    • Home Designs
    • Gardening
  • Samples ▼
    • GitHub
    • Executive Dashboard
    • Chatbot
    • Image Generator
    • Jay's Link Tree
  • Favourites▼
    • Saran Kitchen Hut
    • World of Akshu
    • Saran & Akshu - Other Links

1.  Adding Group to group collection


  using (ClientContext clientContext = new ClientContext(siteCollectionUrl))
                {
                    // SharePoint Online Credentials
                    clientContext.Credentials = credentials;
                    try
                    {
                        // Loading the site collection root web
                        Web web = clientContext.Site.RootWeb;
                        clientContext.Load(clientContext.Site.RootWeb);
                        clientContext.ExecuteQuery();

                        // Getting the SiteCollection groups
                        GroupCollection siteGroups = clientContext.Web.SiteGroups;

                        // Getting the group on basis of group name
                        Group group = siteGroups.GetByName(groupName);

                        // Getting User Creation Information
                        User user = web.EnsureUser(domainGroup);

                        // Adding the domain group to group
                        group.Users.AddUser(user);
                        clientContext.Load(user, t => t.Title);
                        clientContext.ExecuteQuery();

                        // Logging the success
                    }
                    catch (Exception exception)
                    {
                    }
}

2.  Page Check through CSOM


  using (ClientContext clientContext = new ClientContext(siteCollectionUrl))
                {
                    // SharePoint Online Credentials
                    clientContext.Credentials = credentials;
                    try
                    {

Web oWebsite = clientContext.Web;
clientContext.Load(oWebsite, website => website.Webs, website => website.Title);
clientContext.ExecuteQuery();
List pages = web.Lists.GetByTitle(libraryName);
clientContext.Load(pages);
clientContext.ExecuteQuery();
ListItemCollection existingPages = pages.GetItems(CamlQuery.CreateAllItemsQuery());
clientContext.Load(existingPages);
clientContext.ExecuteQuery();
foreach (ListItem page in existingPages)
{
       clientContext.Load(page.File);
              clientContext.ExecuteQuery();
              if (page.File.CheckOutType != CheckOutType.None)
              {
                     // Checkin and publish file
                     page.File.CheckIn("Check In Page", CheckinType.MajorCheckIn);
                     page.File.Publish("Publish Page");
                     clientContext.ExecuteQuery();
Console.WriteLine("Page is Published : " + page.File.Title);
              }
                    catch (Exception exception)
                    {
                    }
}

3.  Reset Master Page for Subsites  


   string masterPageUrl = string.Empty;
   string customPageUrl = string.Empty;
   string alternateCssUrl = string.Empty;
   string themeUrl = string.Empty;
   string fontSchemeUrl = string.Empty;
      
   using (ClientContext clientContext = new ClientContext(siteUrl))
   {
    ////Connecting to the site url
    clientContext.Credentials = credentials;
    if(isRootWeb)
    {
    Web web = clientContext.Site.RootWeb;
    ThemeInfo rootWebThemeInfo = web.ThemeInfo;
    clientContext.Load(web, t => t.MasterUrl, t=> t.CustomMasterUrl, t=> t.AlternateCssUrl, t=> t.ThemeInfo, t => t.ServerRelativeUrl);
 clientContext.Load(rootWebThemeInfo, t => t.ThemeBackgroundImageUri);
 clientContext.ExecuteQuery();

 masterPageUrl = web.MasterUrl.ToString();
 customPageUrl = web.CustomMasterUrl.ToString();
 alternateCssUrl = web.AlternateCssUrl.ToString();
 themeUrl = web.ServerRelativeUrl + "/_catalogs/theme/15/palette001ks.spcolor";
 fontSchemeUrl = web.ServerRelativeUrl + "/_catalogs/theme/15/fontscheme001ks.spfont";
                       
 }

 if (isAllWebs)
 {
       Web oWebsite = clientContext.Web;
       clientContext.Load(oWebsite, website => website.Webs, website => website.Title, website => website.Url);
       clientContext.ExecuteQuery();

       foreach (Web childWebsite in oWebsite.Webs)
       {
              try
              {
                     childWebsite.MasterUrl = masterPageUrl;
                     childWebsite.CustomMasterUrl = customPageUrl;
                     childWebsite.AlternateCssUrl = alternateCssUrl;
                     childWebsite.Update();
                     clientContext.ExecuteQuery();
childWebsite.ApplyTheme(themeUrl, fontSchemeUrl,null,false);
                     clientContext.ExecuteQuery();
              }
              catch (Exception exception)
                     {
                     }
                }
     }
     }

4.  Remove Default Site Collection Term Set


 using (ClientContext clientContext = new ClientContext(siteUrl))
{
clientContext.Credentials = sharePointOnlineCredentails;
       Site site = clientContext.Site;

// Getting the Taxonomy Session
       TaxonomySession taxonomySession = TaxonomySession.GetTaxonomySession(clientContext);

       // Getting the default site collection term store
       TermStore termStore = taxonomySession.GetDefaultSiteCollectionTermStore();

       // Getting the term group and getting all the termsets
       TermGroup termGroup = termStore.GetSiteCollectionGroup(site, false);
       clientContext.Load(termGroup.TermSets);
       clientContext.ExecuteQuery();

       // Iterate through all the termsets and delete the termsets
       foreach (TermSet termSet in termGroup.TermSets)
       {
              // Deleting the termset
              termSet.DeleteObject();
              clientContext.ExecuteQuery();
} 
   
       // Deleting the term group
       termGroup.DeleteObject();
       clientContext.ExecuteQuery();
            
       // Setting the Navigation for publishing web
       clientContext.Load(clientContext.Web);
       clientContext.ExecuteQuery();

       try
       {
       WebNavigationSettings webNavigationSetting = new WebNavigationSettings(clientContext, clientContext.Web);
       PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(clientContext, clientContext.Web);
       var currentNavigation = webNavigationSetting.CurrentNavigation;
       var globalNavigation = webNavigationSetting.GlobalNavigation;
clientContext.ExecuteQuery();
currentNavigation.Source = Microsoft.SharePoint.Client.Publishing.Navigation.StandardNavigationSource.PortalProvider;
       globalNavigation.Source = Microsoft.SharePoint.Client.Publishing.Navigation.StandardNavigationSource.PortalProvider;
       webNavigationSetting.Update(taxonomySession);
       clientContext.ExecuteQuery();
       }
       catch (Exception ex)
       {
       }          

       }
Referred Link - https://www.linkedin.com/pulse/sending-good-emails-evan-frank?trk=pulse-det-nav_art

Sending good emails

Sending good emails can be the most effective way to communicate across an organization. But it can also be one of the most value-destructive & efficiency-killing activities when wrong. Modern methods of communicating - e.g. quick one-liner iPhone responses with autocorrecting - only make organizations more susceptible to bad emails. 
Sending good emails at its core is all about empathy, and will make your organization run more smoothly by not wasting time trying to interpret email meanings, not being unnecessarily overly looped in, and not spending time actioning the wrong thing due to poor word choice. 
Here are some email best practices to ensure we’re sending good rather than bad emails.
Email basics: use of to, cc, bcc, subject fields
  • to: who the email is being specifically sent to and you are expecting a reply from. This should then be reenforced in the body of the email - e.g. ‘Hi John, (Jane, Jim on cc)’
  • cc: people who need to be aware of the content of the email, but do not need to respond
  • bcc: people who need to be aware of the email, but for various reasons the sender doesn’t want to expose this to the group
  • subject: keep the subject a concise description of the topic at hand. If the topic morphs or changes over time, take the lead in changing the subject, too
  • Both the to and cc fields should be kept as short as possible. If you aren’t sure who to include, do some research beforehand to see who should be accountable
  • When adding people to an email string, include a (+ John); when subtracting, a (- John)
Body format and reply convention
Internal email communication is not prose - its technical communication designed to resolve an issue, inform others more efficiently than an in-person discussion, or recap what’s been agreed following a discussion or meeting. Spend as little time as possible trying to make your email ’sound good’, and reinvest that time in careful word choices to remove any ambiguity from the message. Organizations should set the expectation that terse or direct internal communication is acceptable, encouraged and free of judgment, as the goal for internal email is extreme clarity of intention. And less time composing internal emails frees up time for higher value activities.
The recipient of the email (e.g. who was in the ‘to’ field of the email) should formally acknowledge receipt and confirm actions - e.g.
‘Got it - I will call Joe’
And once the task is completed, a further email should be sent to recap, and put the issue to bed - e.g. 
‘Spoke to Joe. This issue is now resolved - thank you.’
If you as the sender haven’t received this confirmation, its still your problem - stay on top of it until its confirmed that the issue has been firmly picked up by someone else.
If in doubt on whether or not you should reply (if you are cc’ed / not directly referred to), really ask yourself:
‘Do I have something to say that is going to add value to this discussion?’
If not, best to sit on the sidelines.
After a decision on a specific issue has been made, have the self-discipline send around a recap email with what’s been decided. It always surprises me how much time is spent going back and forth over email or in-person about an issue, but the final step of solidifying a decision with a recap isn’t taken. Establishing a clear, final paper trail is important.
Some other tips that I use for effective emailing & communication
  • Try and keep one email per topic, with a clearly corresponding subject. Multiple topics embedded in the same email often leads to too many recipients on the email and unclear actions. I will often send successive emails to the same recipients with different topics and subjects to keep issues separate.  
  • Reread your email before hitting send and ask yourself: am I being as clear as I can be? If sending an email on the go, make sure your phone hasn’t autocorrected any words that the recipient is going to be confused by.
  • Email is an effective way of communicating - until it isn’t. If the email is escalating to an emotionally-charged place, or the issue at hand is becoming too intricate, take the communication offline (person or phone). Then send a email recap. And remember - emails live forever, so act accordingly!
50 Productivity Hacks to Boost Your Brainpower (Infographic)
Referred Link - https://www.linkedin.com/pulse/managing-meetings-eric-douglas?trk=pulse-det-nav_art

The Five Types of Meetings

  • Is your goal to deal with a tough, multifaceted issue?
  • Or is to exchange information? Is it a “get to know you” meeting?
  • Or are you looking for creative input?
These different goals each require a different type of meeting, and a different style of communication.

Essentially, there are five types of meetings:

  • Informational – people exchange information
  • Problem-solving – people try to solve a specific problem
  • Brain-storming – people define objectives and generate ideas
  • Performance review – people review individual and group performance
  • Strategic – people wrestle with large issues cutting to the heart of the organization’s future, and set goals and priorities
As you might guess, different styles of communicating work best in each type of meeting. This point has an important corollary:
Each style prefers a certain type of meeting.
If a particular style prevails at a meeting, it can cause the meeting to shift suddenly. 
This causes a disconnect in people’s minds.
  • A brain-storming meeting called by a Director becomes strategic.
  • An information-sharing meeting called by an Expresser begins generating ideas.
People come to a meeting thinking it’s one type, only to discover they’ve somehow stumbled into a different universe.
People can derail a meeting due to their style.
  • Directors’ meetings can be so short/sweet you’ve barely sat down before it’s time to go.
  • Expressers’ meetings can drift off into what is charitably referred to as “creative time.”
  • Thinkers follow an agenda, and will stick to it even if a million dollar idea comes up.
  • Harmonizers may keep things at such a comfortable pace that people start to snooze.
Protocols for Meetings
Skilled communicators know how to modify their style appropriately from meeting to meeting. They also know that a meeting needs preparation in order to be productive.

Preparation can include:

  • Giving participants at least two days advance notice (or as much as possible)
  • Preparing an agenda and distributing it in advance
  • Setting the standard that the meeting will begin on time
  • Maintaining a time limit for each item on the agenda
  • Agreeing to change the agenda only with participants’ consent
  • Agreeing to communicate what transpires at the meeting
  • Assigning a meeting coordinator. This person:
    • Sends out the agenda
    • Arranges the room
    • Starts the meeting on time
    • Monitors the clock
    • Keeps the minutes
    • Pushes the group toward action
    • Sees that minutes are distributed within 24 hours
    • Makes sure the group decides how to share the information from the meeting
By following these protocols, in conjunction with understanding the different types of meetings, your organization can use meetings in productive ways.
Conclusion
This post has illustrated the importance of distinguishing the five types of meetings – and the needs served by each. It has also shown how certain communication styles are more suitable for certain types of meetings. It also described how people try to shift a meeting into one that matches their style.
This underscores the need to be able to identify not only individual styles, but also group styles. The productivity of a meeting is directly related to how well managed it is. Meetings that ramble result from a failure to follow sound protocols and lay down ground rules.
Newer Posts
Older Posts

Total Posts

Search this Site

Connect with Me

Translate Articles

Total Pageviews


Contributors

My photo
Jayavel Chakravarthy Srinivasan
Professional:I'm a Software Techie, Specialized in Microsoft technologies. Worked in CMM Level 5 organizations like EPAM, KPMG, Bosch, Honeywell, ValueLabs, Capgemini and HCL. I have done freelancing. My interests are Software Development, Graphics design and Photography.
Certifications:I hold PMP, SAFe 6, CSPO, CSM, Six Sigma Green Belt, Microsoft and CCNA Certifications.
Academic:All my schooling life was spent in Coimbatore and I have good friends for life. I completed my post graduate in computers(MCA). Plus a lot of self learning, inspirations and perspiration are the ingredients of the person what i am now.
Personal Life:I am a simple person and proud son of Coimbatore. I studied and grew up there. My mom and wife are proud home-makers and greatest cook on earth. My kiddo in her junior school.
Finally:I am a film buff and like to travel a lot. I visited 3 countries - United States of America, Norway and United Kingdom. I believe in honesty after learning a lot of lessons the hard way around. I love to read books & articles, Definitely not journals. :)
View my complete profile

My Achievements

My Achievements

My Favorite Links

  • Saran & Akshu Links
  • Saran Kitchen Hut
  • World of Akshu
  • Ashok Raja Blog

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments

Contact Form

Name

Email *

Message *

Blog Archive

  • ▼  2026 (37)
    • ▼  October (1)
      • Reliable Response Design Tips for User’s question ...
    • ►  September (2)
    • ►  July (1)
    • ►  June (6)
    • ►  May (7)
    • ►  April (7)
    • ►  March (7)
    • ►  February (5)
    • ►  January (1)
  • ►  2025 (65)
    • ►  December (4)
    • ►  November (3)
    • ►  October (3)
    • ►  August (1)
    • ►  July (6)
    • ►  June (7)
    • ►  May (26)
    • ►  April (1)
    • ►  March (3)
    • ►  February (1)
    • ►  January (10)
  • ►  2024 (134)
    • ►  December (3)
    • ►  November (8)
    • ►  October (11)
    • ►  September (2)
    • ►  August (1)
    • ►  July (39)
    • ►  June (8)
    • ►  May (4)
    • ►  April (9)
    • ►  March (6)
    • ►  February (33)
    • ►  January (10)
  • ►  2023 (16)
    • ►  December (12)
    • ►  August (2)
    • ►  March (1)
    • ►  January (1)
  • ►  2022 (14)
    • ►  December (1)
    • ►  August (6)
    • ►  July (3)
    • ►  June (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2021 (16)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)
    • ►  August (1)
    • ►  July (2)
    • ►  June (2)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2020 (36)
    • ►  December (1)
    • ►  November (15)
    • ►  October (2)
    • ►  September (1)
    • ►  July (1)
    • ►  June (2)
    • ►  May (4)
    • ►  March (2)
    • ►  February (6)
    • ►  January (2)
  • ►  2019 (14)
    • ►  December (3)
    • ►  November (1)
    • ►  September (2)
    • ►  August (1)
    • ►  June (1)
    • ►  May (3)
    • ►  March (2)
    • ►  January (1)
  • ►  2018 (61)
    • ►  November (3)
    • ►  October (4)
    • ►  September (4)
    • ►  August (5)
    • ►  July (4)
    • ►  June (4)
    • ►  May (7)
    • ►  April (7)
    • ►  March (5)
    • ►  February (1)
    • ►  January (17)
  • ►  2017 (55)
    • ►  December (1)
    • ►  November (7)
    • ►  October (7)
    • ►  September (8)
    • ►  July (4)
    • ►  June (7)
    • ►  May (4)
    • ►  April (4)
    • ►  March (1)
    • ►  February (2)
    • ►  January (10)
  • ►  2016 (45)
    • ►  December (1)
    • ►  November (5)
    • ►  October (2)
    • ►  September (7)
    • ►  August (3)
    • ►  July (3)
    • ►  June (1)
    • ►  May (3)
    • ►  April (5)
    • ►  March (3)
    • ►  February (3)
    • ►  January (9)
  • ►  2015 (88)
    • ►  December (5)
    • ►  November (2)
    • ►  October (6)
    • ►  September (6)
    • ►  August (3)
    • ►  July (6)
    • ►  June (7)
    • ►  May (12)
    • ►  April (6)
    • ►  March (11)
    • ►  February (10)
    • ►  January (14)
  • ►  2014 (159)
    • ►  December (16)
    • ►  November (13)
    • ►  October (42)
    • ►  September (12)
    • ►  August (19)
    • ►  July (3)
    • ►  June (17)
    • ►  May (10)
    • ►  April (12)
    • ►  March (7)
    • ►  February (4)
    • ►  January (4)
  • ►  2013 (192)
    • ►  December (7)
    • ►  November (2)
    • ►  October (3)
    • ►  September (10)
    • ►  August (25)
    • ►  July (17)
    • ►  June (22)
    • ►  May (22)
    • ►  April (24)
    • ►  March (17)
    • ►  February (22)
    • ►  January (21)
  • ►  2012 (204)
    • ►  December (21)
    • ►  November (35)
    • ►  October (47)
    • ►  September (27)
    • ►  August (6)
    • ►  July (21)
    • ►  June (16)
    • ►  May (7)
    • ►  April (9)
    • ►  March (4)
    • ►  February (3)
    • ►  January (8)
  • ►  2011 (70)
    • ►  December (8)
    • ►  November (5)
    • ►  October (3)
    • ►  September (2)
    • ►  August (7)
    • ►  July (3)
    • ►  June (30)
    • ►  May (3)
    • ►  April (3)
    • ►  March (1)
    • ►  February (3)
    • ►  January (2)
  • ►  2010 (30)
    • ►  December (1)
    • ►  September (4)
    • ►  August (1)
    • ►  July (1)
    • ►  June (1)
    • ►  May (4)
    • ►  April (6)
    • ►  March (5)
    • ►  February (2)
    • ►  January (5)
  • ►  2009 (40)
    • ►  December (4)
    • ►  November (6)
    • ►  October (4)
    • ►  September (5)
    • ►  August (4)
    • ►  July (3)
    • ►  June (4)
    • ►  May (8)
    • ►  March (1)
    • ►  February (1)
  • ►  2008 (6)
    • ►  December (1)
    • ►  September (1)
    • ►  May (1)
    • ►  April (2)
    • ►  February (1)
  • ►  2007 (7)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  July (1)
    • ►  May (2)

Recent Posts

Followers

Report Abuse

FOLLOW ME @INSTAGRAM

Popular Posts

  • Stay Wow - Health Tips from Sapna Vyas Patel
    Referred URL https://www.facebook.com/sapnavyaspatel WATCH WEIGHT LOSS VIDEO: http://www.youtube.com/ watch?v=S_dlkjwVItA ...
  • Calorie Count chart For food and drinks
    Referred URL http://deepthidigvijay.blogspot.co.uk/p/health-diet-calorie-charts.html http://www.nidokidos.org/threads/37834-Food-Calorie-...
  • SharePoint 2010 Interview Questions and Answers
    Referred URL http://www.enjoysharepoint.com/Articles/Details/sharepoint-2010-interview-questions-and-answers-148.aspx 1.What is SharePoint...
  • 150 Best Windows Applications Of Year 2010
    Referred URL : http://www.addictivetips.com/windows-tips/150-best-windows-applications-of-year-2010-editors-pick/?utm_source=feedburner...
  • Web Developer Checklist by Mads Kristensen
    Referred Link -  http://webdevchecklist.com/ Web Developer Checklist Get the extension  Chrome  |  Firefox  |  Edge Menu Bes...
  • WCF and REST Interview Questions
    What is WPF? The Windows Presentation Foundation (WPF) is a next generation graphics platform that is part of...
  • Remove double tap to unlock feature on samsung galaxy core2
    Double tap to unlock is a feature of Talkback, so if your will disable Talkback, double tap to unlock will also be disabled. To disable doub...
  • Difference Between Content Editor and Script Editor webpart
    Referred Link -  http://jeffas.com/content-editor-vs-script-editor-webpart/ Content editor web part is a place holder for creating rich ...
  • SPFolder related operations in SharePoint
      1) Get SPListItem(s) of a particular SPFolder SPList splist; SPFolder spfolder; //Get the required folder instance SPQuery spquery = new ...

Comments

Created with by BeautyTemplates | Distributed by blogger templates