• Know more about me

Mai Omar Desouki

~ MEC Senior Engineer @ Microsoft

Mai Omar Desouki

Tag Archives: Microsoft

Automate Variations in SharePoint 2013 using PowerShell & C#

14 Sunday Jul 2013

Posted by Mai Omar Desouki in PowerShell, SharePoint 2013, SharePoint Administration

≈ 20 Comments

Tags

C-sharp, Microsoft, Microsoft SharePoint, Multilingual, Multilingual sites, PowerShell, SharePoint, SharePoint 2013, Variations, Windows PowerShell


“Thanks to Waldek Mastykarz for his post, he posted about it but for SP 2010 and only in C#” but then I was able to convert it to Powershell, also thanks to “Eric Soo” for his reply but I was done already but thank you both.”

Let’s Start.. Automating variations settings and configuration so whenever a deployment is needed, you will be ready with your PowerShell scripts.

Manual deployment is time consuming as it is repetitive task, in this post I will let you know how to automate one of those many tasks when it comes to deployment.

SharePoint Variations has a UI which I will show you its steps now;

The steps in this post is for automation of variation in UI, in C# & finally in PowerShell.

  1. Go to “Site Actions” à“Site settings”;
  2. Under “Site collection administration”, click “Variation Settings”,

  3. The code below is in C# for the page above to change or update the “Variation Settings”;



  4. The same code but this time in PowerShell,


  5. Now we need to create labels; go back to “Site Settings”, under “Site Collection Administration” click “Variation Settings”;

  6. I have 2 labels, currently if this is your first time, it will be empty, click now “New Label” (as if you are telling SharePoint List to create new item) since we will do this in the code 😉


  7. Now same code but PowerShell for creating variation labels;



  8. Now to create hierarchies; you should see the labels added as below, click above them “Create Hierarchies”, before creating hierarchies, the values for the labels are “No”,

  9. After creating hierarchies, the values should be yes under “Hierarchy is Created”,
  10. To create Hierarchies in C#,


  11. Now let’s create hierarchies in PowerShell,


     

    Thank you and please write your comments or in case you have any questions.

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

Managing SharePoint with Microsoft System Center

25 Tuesday Jun 2013

Posted by Mai Omar Desouki in SharePoint 15, SharePoint 2013, SharePoint Customization

≈ Leave a comment

Tags

Microsoft, Microsoft Servers, Microsoft SharePoint, Microsoft System Center, Microsoft Windows, Simon Skinner, Windows Server


You are all invited!

16:00 – 17:00 Jul 10, 2013

Seats: Unlimited

Description: Best Practices in Virtualizing and Managing Microsoft SharePoint with Microsoft System Center and Windows Server with Simon Skinner MVP and Mai Omar Desouki

This is a virtual event using Lync.

To register: http://cloudoscommunity.eventbrite.com/

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

SharePoint 2013 REST – Internet Explorer does not support this feed format

25 Monday Feb 2013

Posted by Mai Omar Desouki in SharePoint 2013

≈ Leave a comment

Tags

Microsoft, Microsoft SharePoint 2013, SharePoint, SharePoint 2013


So .. I was browsing SharePoint 2013 REST http://servername/_api/site today and all I was getting is the below:

While you still can right click and view source and you will see the XML because if you have feed reading view on, you will not able to see the XML

FYI I am using IE 10, so in order to view XML in IE 10: do the steps below:

  1. Tools > Internet Options.
  2. Select the Content Tab
  3. Under Feeds and Web Slices, select Settings
  4. Under Advance section untick Turn on Feed reading view

Now the feed viewer will not be showing, but the data will be displayed in XML.

Then I was able to see the XML J while it works without needing to do anything in Chrome … Ya I hear you but what to do.

This has nothing to do with SharePoint 2013 but it has to do with XML in IE.

Enjoy browsing J

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

SharePoint 2013 on iPad & iPhone

17 Monday Sep 2012

Posted by Mai Omar Desouki in iPad, IPhone, SharePoint 2013

≈ 16 Comments

Tags

iPad, IPhone, Microsoft, Microsoft SharePoint, SharePoint 2013


Does sharepoint 2013 support iPad? That was a question in the Forums http://social.msdn.microsoft.com/Forums/en-US/sharepointdevpreview/thread/8f595df1-b137-4bf0-87d0-6bb06356fc9d which I replied that I will provide screen shots of how SharePoint 2013 look like on iPad in addition to iPhone and some info as well.

SharePoint 2013 UI is written in HTML5, and in addition to the standard client support options, full support is also planned for the Safari browser on the Apple iPad. Users can browse, contribute and edit documents directly from iPads. There is also a new Channels capability which allows easy mapping of pages and web parts to devices, allowing the experience to be tailored for different devices. The vast majority of organizations have iPads in their ecosystem and are considering mobile experiences for web content. These capabilities are a huge benefit for mobile access, and in many cases they eliminate the need for complex development or the use (and additional cost) of third party applications.

I think that native iOS support will be a key driver for organizations considering moving quickly to upgrade from SharePoint 2010 to the new version.

Below you will see I switched to PC view for better UI, used here Custom List, and created new item, best part is that I created a word document from Documents Library, and was able to create, edit and save the document all from my iPad which is really good.

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

Napa – Develop with new cloud app model with SharePoint 2013 & Office 2013

21 Tuesday Aug 2012

Posted by Mai Omar Desouki in Cloud App, Napa, SharePoint 15, SharePoint 2013, Visual Studio 2012

≈ Leave a comment

Tags

Microsoft, Microsoft Office, Microsoft Office 365, Microsoft SharePoint, Microsoft Visual Studio, Napa, Office, SharePoint, SharePoint 2013


The title talks about itself …

  • Developing on the cloud. No need to install anything, you can write your code, build, deploy all on the cloud,
  • No need for more RAMs as SharePoint 2013 and Visual Studio 2012 requires,
  • You can start developing for Office and SharePoint without having to install Visual Studio 2012,
  • You only need good Internet access J
  • Apps have no custom code that runs on the SharePoint servers. Instead, all custom logic moves “up” to the cloud or “down” to client computers.
  • Additionally, SharePoint 2013 Preview introduces an innovative delivery model for apps for SharePoint that includes components like the SharePoint Store and the App Catalog.
  • An app may include SharePoint components such as lists, workflows, and site pages, but it can also surface a remote web application and remote data in SharePoint.
  • An app has few or no dependencies on any other software on the device or platform where it is installed, other than what is built into the platform.
  • This characteristic enables apps to be installed simply and uninstalled cleanly.

So how to get started … First you need to sign up for Microsoft Office 365 developer preview at http://dev.office.com. Or let me make it easier with a direct link to registration https://portal.microsoftonline.com/Signup/MainSignup15.aspx?OfferId=BB85F335-F37F-4CFB-BBE1-7E6EA37AD022&dl=DEVPACK_B_PILOT&pc=9b9d9c81-1558-4425-9e64-ed2e67c98f87&ali=1 If you clicked on http://dev.office.com: then follow below steps:

  1. Click on the picture that says “Sign up and start building apps”

  2. You will go to another page with title “Start building apps for Office and SharePoint” > click on the “Sign up” button

  3. You will go to another page with title “Sign up for an Office 365 Developer Site” > click on the “Sign up” button

  4. Now you see the registration form to fill,
  5. You’ll have to wait for your Developer Site to finish provisioning.
  6. After provisioning is complete, refresh the Office 365 Admin Center page in your browser.
  7. Then, choose the Admin drop-down menu in the upper right corner of the nd choose SharePoint. Your browser opens the SharePoint Admin Center page, as shown below,

The first site listed under the Site Collections heading is your Developer Site. Now click on “Get tools to build apps”

  1. On the details page of the “Napa” Office 365 Development Tools app, choose ADD IT to install the app.
  2. Choose the Trust It button in the next window.
  3. When prompted for your credentials, sign in with your Microsoft account (e.g. your Hotmail account).
  4. After you sign in, you will be granted a license for the app. Leave the installation checkbox checked and then click on the Return to site link.
  5. After installation is complete click on the “Napa” Office 365 Development Tools icon on the All Site contents page to launch “Napa” Office 365 Development Tools.

Next steps for working with “Napa” Office 365 Development Tools

  • Create apps for Office and SharePoint by using “Napa” Office 365 Development Tools
  • How to: Create your first content app for Excel by using “Napa” Office 365 Development Tools
  • How to: Create your first mail app for Outlook by using “Napa” Office 365 Development Tools
  • How to: Create a basic app for SharePoint by using Office 365 Development Tools Preview

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

BCS External List Limitations

05 Sunday Aug 2012

Posted by Mai Omar Desouki in External Lists, SharePoint 2010

≈ 2 Comments

Tags

BCS, External List, Microsoft, Microsoft SharePoint, SharePoint 2010


SharePoint 2010 has introduced a new type of List called the External List.  The External List is used for displaying content that comes from Business Connectivity Services (BCS) Enterprise content types.  Business Connectivity Services is the replacement in SharePoint 2010 for The Business Data Catalog (BDC) in SharePoint 2007. 

  1. Workflows cannot be configured on External Lists.

  1. Information management policies are not supported on External Lists.

  1. No Version History.

  1. No Rest access through ListData.svc to External Lists.
  2. No List permission or Item Permissions

  1. No Datasheet View & Inline Editing.

  1. No Export to Excel

  1. No Ratings.

  1. No RSS feeds.

  1. No Lookups but you can’t also create columns

  1. No attachments.

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

So What Microsoft is going to do …

03 Wednesday Aug 2011

Posted by Mai Omar Desouki in SharePoint 2010

≈ Leave a comment

Tags

.NET 4.0, .NET Framework, Microsoft, Microsoft SharePoint, Microsoft SharePoint Server


The Microsoft sign at the entrance of the Germ...

Image via Wikipedia

As SharePoint 2010 does not support .NET 4.0
And I guess that next version of SharePoint which could be SharePoint 16 will support .net 4.0 But that time or after few months of releasing SharePoint 16, .NET 5.0 will be released.

SO again is SharePoint 16 going to support .NET 5.0

Just a thought …. I was just thinking about it… Winking smile           asp-net-logo2

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

1st Egyptain Girl as Software Consultant in Infusion Dubai

19 Tuesday Jul 2011

Posted by Mai Omar Desouki in About me

≈ 7 Comments

Tags

Dubai, Egypt, Microsoft, Microsoft Certified Partner, Microsoft Gold Certified Partner, Microsoft SharePoint, Middle East, United Arab Emirates


maifb       mai

Hi all… I’m happy to announce my new Blog, there was an old one, that is still there but this will be the one for the future so stay tuned to this one.

Title of this first new post is interested, isn’t it? well I will tell you the story, I am Egyptain Girl was working in Egypt, and only on June 2011 moved to Infusion in Dubai, and I found out that I am the first girl as Software Consultant in Infusion so that was a success to me and more responsibility as being Egyptain so I have to prove it Winking smile .

More about me: I’m certified SharePoint MCP, MCTS MCPD, MCITP and I am Microsoft Certified Trainer MCT. You will find me active, helping people around the world whether on skype [maioooya.solutions.developer] or MSDN forums and tech.net.

Infusion Development Company is a Microsoft Gold Certified Partner has different and a lot of skills that I was hearing about from 2 years before I join and I was interested but very interested about it, and ofcourse talented Infusionites was speakers in Tech.ED so we meet, the thing is Infusion solves business problems by combining expert software engineering with appealing user experiences and design

Infusion had an award this year, the Microsoft Partner Award: Country Partner of the Year – United Arab Emirates see all awards: http://www.infusion.com/Expertise-Awards.aspx

Read more about Infusionites: http://www.infusion.com/

And let me do another announcement:

I am speaking in Microsoft Dubai in SharePoint Saturday Smile .. read more: http://www.sharepointsaturday.org/dubai/speakers/5/MaiOmarDesouki.aspx

And all SharePointers are welcome to attend and register in here: http://spsdxbjuly2011.eventbrite.com/

So from all this, I wish you find my blog covers the pain points we have in SharePoint sometimes and it’s new features and also SharePoint Tips & Tricks and if you want certain topics to be covered, please send me e-mail @ mai_omar_86@live.com or comment on facebook, or comment in here. You are all welcome with your ideas and topics needs to be covered.

Thank you…… with my regards…..Red rose

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Email
  • Print
  • Reddit

Like this:

Like Loading...

Blog Visitors

  • 81,414 Visitors

Categories

  • About me (1)
  • Microsoft Teams (3)
    • SharePoint Online (1)
  • Migration (2)
  • SharePoint 15 (5)
  • SharePoint 2010 (56)
    • Content Types (1)
    • Developer Dashboard (1)
    • Document Set (1)
    • Events I am Speaking In (2)
    • External Lists (1)
    • FAQ (2)
    • FBA (1)
    • Form Based Authentication (1)
    • Integration of CRM 2011 with SharePoint 2010 (1)
    • JQuery (1)
    • Master Page (1)
    • My Site (1)
    • PowerShell (3)
    • SharePoint Administration (5)
    • SharePoint Branding (1)
    • SharePoint Customization (5)
    • SharePoint Designer (4)
    • SharePoint Designer Workflow (1)
    • SharePoint Events (2)
    • SharePoint Online (1)
    • SharePoint Permissions (1)
    • SharePoint Workflow (1)
    • User Profile (2)
    • User Profile Sync (1)
    • Videos (1)
    • WebParts (1)
    • Workflow (1)
  • SharePoint 2013 (90)
    • Cloud App (1)
    • Event Handler (1)
    • iPad (1)
    • IPhone (1)
    • Napa (1)
  • SharePoint Updates (1)
  • Visual Studio 2012 (3)

Tag Cloud

About me Document Set Events I am Speaking In FAQ FBA Form Based Authentication JQuery Master Page Microsoft Teams Migration My Site PowerShell SharePoint 15 SharePoint 2010 SharePoint 2013 SharePoint Administration SharePoint Branding SharePoint Customization SharePoint Designer SharePoint Designer Workflow SharePoint Events SharePoint Online SharePoint Permissions SharePoint Workflow User Profile User Profile Sync Videos Visual Studio 2012 WebParts Workflow

Calendar

July 2022
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Mar    

Archive

  • March 2022 (1)
  • August 2021 (2)
  • September 2020 (2)
  • May 2020 (2)
  • April 2020 (6)
  • March 2020 (1)
  • September 2019 (2)
  • July 2015 (1)
  • May 2015 (3)
  • April 2015 (1)
  • March 2015 (1)
  • February 2015 (2)
  • January 2015 (1)
  • October 2014 (1)
  • September 2014 (3)
  • June 2014 (7)
  • May 2014 (5)
  • April 2014 (4)
  • March 2014 (3)
  • February 2014 (1)
  • January 2014 (2)
  • December 2013 (6)
  • November 2013 (5)
  • October 2013 (6)
  • September 2013 (5)
  • August 2013 (5)
  • July 2013 (5)
  • June 2013 (2)
  • May 2013 (2)
  • February 2013 (2)
  • January 2013 (1)
  • October 2012 (2)
  • September 2012 (7)
  • August 2012 (15)
  • July 2012 (5)
  • June 2012 (2)
  • May 2012 (4)
  • April 2012 (2)
  • March 2012 (1)
  • August 2011 (3)
  • July 2011 (15)

Blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Mai Omar Desouki
    • Join 1,940 other followers
    • Already have a WordPress.com account? Log in now.
    • Mai Omar Desouki
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d bloggers like this: