Subscribe: SharePoint 2010, SharePoint, C-sharp, ASP.Net, JQuery, SQL Server Solutions
http://praveenbattula.blogspot.com/atom.xml?redirect=false
Added By: Feedage Forager Feedage Grade A rated
Language: English
Tags:
api  code  download  free  microsoft  new  office  online  page  query  sharepoint online  sharepoint  updates  user  windows 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: SharePoint 2010, SharePoint, C-sharp, ASP.Net, JQuery, SQL Server Solutions

SharePoint, ASP.Net, JQuery, SQL Solutions





Updated: 2018-04-24T18:42:45.072+05:30

 



New SharePoint CSOM update for Office 365

2015-04-11T07:52:44.252+05:30

Wow. This is such a great build. Loving the new additions added in the new SharePoint CSOM for Office 365. Since a year, was submitting the feedback and waiting for some features has to be included in the CSOM API and here they are. You can do even more with the new API methods and classed added. The package will be available via Nuget.

Version: 16.1.3912.1204.

The major feature I really impressed are:
  • Manage regional settings of a site
  • Manage language settings of a site
  • Manage auditing settings of a site
  • Support for upcoming enhanced migration APIs
  • Secondary contact in site collection level
  • Sharing settings
  • Tenant
The auditing settings API is a major help for me along with the Sharing settings. There are over 50 methods added across and the major ones which might help you are:
  • Accessing document set properties, documents
  • Added classes related to Search PushTenant
  • Additional properties for Publishing classes
  • Accessing AppCatalog
  • Audit information
  • File, Folder methods and properties
  • Many Web and Site properties and methods. 
If you are feeling like you are unable to implement just because of product limitation then it's for you. Go and have a look at the new update and start building the examples. 

Get more details about complete CSOM methods and properties here.



Show user profile pictures in SharePoint Hosted Apps

2015-04-08T04:47:18.282+05:30

This is the issue which killed more than a week of my time. Many users are facing it too and I see the same question in almost all the forums. Proud to tell that the solution which I have found is the most usable one for SharePoint Hosted App world.

In SharePoint Hosted Apps the cross-domain calls are limited. The issue I am facing in SharePoint Online Hosted Apps was:

I have created a SharePoint hosted app which has the code to show the user profile picture. I have tried below options for it:

  1. Queried the REST API user profile and then 
    1. used the "PictureUrl" from user profile metadata. But, no luck with this. Then,
    2. used the "UserProfileProperties -> PictureURL attribute in the results. Still, there is no luck. 
  2. Used the Outlook Office 365 profile picture link: https://outlook.office365.com/owa/service.svc/s/GetPersonaPhoto?email=useremail&UA=0&size=HR64x64. 
    1. But, the url is an external site link the picture failed to load.
  3.  Used the UserPhoto.aspx page in the _layouts folder: /_layouts/15/userphoto.aspx?size=L&accountname=encodeduseraccountname.
    1. I have tried with both hosted web url and app web url. But, no luck. 
    2. But, if I create a App Part and in the app part the same image path shows perfectly. So, the issue is only in the App landing page. 
Published the issue in all social networking sites, forums for help, but no luck. Many people come up with different ideas, but nothing worked. 

Solution:
After spending the good amount of time in analyzing the UserPhoto.aspx, and how it works, I was able to find a way to download the image. 

UserPhoto.aspx accepts many parameters. We always use the AccountName querystring to download the image of the user. But, it also accepts other paramters like "url". 

So, the solution I used here is: 
{appweburl}/_layouts/15/userphoto.aspx?size=L&url={encodeduserprofilepictureurl}

Note: You must query the User profile REST API for the user to get the user profile picture url and then encode that picture url and then replace the string {encodeduserprofilepictureurl} with that.

This one given me the output I wanted. Now, the pictures are showing everywhere, inside the app and also in app part... 



Download Visual Studio 2015 Technical Preview

2015-03-27T23:27:26.053+05:30

Visual Studio 2015 has plenty of UI improvements and UI debugging features. It has a great Javascript editor and Visual Studio emulator for Android. Many more other features which I also need to dig into.

Go and get it here: Download Visual Studio 2015 CTP 6

Update:
See the Visual Studio Features Timeline here:
https://www.visualstudio.com/en-us/news/feature-timeline-vs



C# is allowed in Office 365 API's Sandbox

2015-02-25T00:12:01.648+05:30

So far in Office 365 API Sandbox we have written only javascript to call the API's and deploy the changes. It is very limited in terms of achieving the goals and against some complex requirements. So, after some additional good work from Office 365 team, there is a release of C# code support in API sandbox. This is a brilliant idea and good help for developers to quickly write code and check on the fly. I will update you more findings on it soon.

Read more details here Office 365 API Sandbox now allowing C# Code



Office 365 roadmap

2015-02-20T04:11:20.721+05:30

Dear technology enthusiast, how many of you are actually updated with the new technologies / implementations around? Are you one of the person who first get to know and learn things and keep up to date yourself in this technology world? I follow the blogs and roadmap to know everything what's happening around to me.

If you also like me, then you must bookmark the link http://roadmap.office.com/en-us



Get your OneNote for free

2015-02-20T04:03:47.093+05:30

OneNote is my best and preferred application to take notes since years. I personally recommend to everyone of my readers. It's now available for free with plenty of options and it has the apps in every device Desktop, Mobile, Tablets. So, get one and sync all your notes everywhere.

Get your free download copy at Download.



SharePoint Product updates are now part of Windows updates

2015-02-20T03:56:43.762+05:30

Uhh.. I am not liking it. Why SharePoint product should be a part of Windows Updates? Windows is Operating System, SharePoint is a product from Microsoft. I am not sure how they merge the updates into one. I think this way because, consider below scenarios:

  1. I have enabled the auto updates on my server and enabled the scheduled updates installed at some specific time. Now, along with Windows updates, all my SharePoint Patches also installed. But, if I am on FARM then I have to make sure the patches are installed in all servers in the FARM.. It's a big dependency. 
  2. Now, if all servers installed the SharePoint updates/patches then we have to make sure the PSConfig should be run in all SharePoint Servers. 
The only advantage I see is, the updates install automatically and my SharePoint server is upto date. But, this will not impress me anywhere. If needed I can download and install on servers I needed as a Product upgrade. 

I am not a fan for this new decision they have made. Make sure to turn off Windows updates automatically option on Windows Servers where SharePoint installed and run the updates when only you really need to. 

And starting this February 2015 CU they are part of Windows Updates. So, you might already got the updates. Please check once your Windows Updates. 



OneDrive delivers unlimited cloud storage for Office 365 subscribers

2015-02-20T03:46:47.411+05:30

If you are a Office 365 subscriber then you must feel great about it. I feel great and very happy news for me. They already started rolling out and soon I am gaining unlimited storage to keep all my personal, organization related stuff there. So, wherever I go I don't feel like I lost something.

Thanks Microsoft for the wonderful thinking at low cost. We know you understand us well. Here you go OneDrive for everyone. Read more at: OneDrive and unlimited storage



Free eBooks from Microsoft on Azure, Windows Server, Sql Server and Windows

2015-02-19T05:25:18.224+05:30

Microsoft is giving many ebooks for free. If you are on below technical stack then please use the links below and download them for free.
  • Windows Azure
  • Sql Server 2014
  • Windows
  • Azure
  • App Development
  • Microsoft System Center
Enjoy reading and gain the extra knowledge for better career. :)



Download CAML Query Designer

2015-02-18T06:52:21.302+05:30

Recently I had some free time and implemented an utility for generating CAML query. It's implemented through Technovert with the great UX design ideas. This tool is not only just for generating the CAML Query but also to extract as much of information  related to a list or library which will help developers and administrators. This tool is using the technology stack:
  • WPF (Windows Presentation Foundation)
  • .NET Framework 4.5
  • SharePoint Managed Client Object Model.

This utility has the below features available:
  1. Supports SharePoint 2010/2013/Online. 
  2. Site Manager which remembers your settings and sites information, so you can use them for later time. (All the information is encrypted.). You can save as many connections as you want.
  3. This utility shows the all lists and libraries from the site you requested and also it will show all the subsites and lists in the site as well.
  4. Better UX design which will help users to better use the tool. Below are the modules available to configure and generate your query. 
    1. View Fields: To select what fields to show in the query results. 
    2. Order By: used for sorting the results. 
    3. Filters: To add where clauses. (Right now grouping support not available.)
    4. Query Options: To select any additional options for generating CAML Query.
  5. This tool also gives the below advantages other than simply generating query. 
    1. Gives CAML Query output
    2. Generates Server Side Object Model Code. So, you can simply hook the piece of code  directly. 
    3. Generates Managed Client Object Model Code. 
    4. Generates Java script (ECMAScript) Client Object Model Code. 
    5. Generates Webservices Code.
    6. Generates Powershell script code. 
  6. Export the query to text file. So, you can share it with others. 
  7. Export all languages generated syntax to text file. 
  8. Execute and see the results. So, you make sure your query is correct. 
  9. Export the results to Excel. 
  10. Along with the query generation, this tool also has the support of showing all list information. 
    1. List Metadata
    2. Export the list schema to xml file. 
    3. All fields in the list. 
    4. Export fields to the Excel. 
    5. Show all Content Types attached to the list. 
    6. Export content types to Excel. 
    7. See all workflows on the list. 
    8. Export workflow details to Excel. 
    9. See all Event Receivers on the list. 
    10. Export all event receiver details to Excel. 
  11. Log viewer is also available. So, users can see if anything is wrong in using the tool. 
  12. You can open the list, site, library or any other entity directly from tool. You will see "open in window" icon everywhere next to them.
Please let me know the feedback by going to Technovert / Contact Us or you can leave comments here.
Download CAML Query



Download Office 2016 Technical Preview

2015-02-14T04:27:26.893+05:30

So far Windows 10 is looking good and I am really enjoying with new UI and options available around. Especially the way Cortana implemented, the neat look of the new icons and text rendering is impressive. I recommend you to download the technical preview and use it. I didn't find any major issues so far in the past 2 weeks.

Now, it's the time to use Office 2016. After seen some videos and read some articles wanted to try new Office. But, the invitation link is not working currently. Even if you join in Microsoft Insider program or you registered in Microsoft Connect, you can't be able to download the new version as it is down currently.

If you want to try out the new office, the only way I found is through Windows 10 OS. The OS has the "Store (Beta)" app. Through this app you can download the new office for MS Word, Paint and Excel.

  1. Go to Store (Beta) in your Windows 10 OS. 
  2. Search for "Office Preview" and then download the 3 preview apps available. 
Enjoy the new office. it looks cool. 










Updates to SharePoint Online Limits

2014-03-10T21:13:58.573+05:30

This must be one of the most loving post for SharePoint Audience. The updates to the limits of SharePoint Online are unbelievable and it's the great thinking by SharePoint Online team.

With the new announcement a site collection can grow up to 1TB in size. This will be a huge benefit to the tenants who has huge data and would like to go cloud with publishing/enterprise/social features.

Get all details here:
http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/sharepoint-online-software-boundaries-and-limits-HA102694293.aspx



Microsoft stop supporting Windows XP on April 8, 2014

2014-02-10T17:55:00.010+05:30

If your organization still having PC's running Windows XP then it's the call to you that Microsoft stops supporting Windows XP on April 8, 2014. Which means you won't receive any updates or support from Microsoft after April 8th, 2014.

* Up-gradation process may involve changing of your current hardware (as old hardware may not support running Windows 8). 



Finding SharePoint page is in edit mode using javascript

2013-12-24T16:24:07.392+05:30

Recently in my project I got a requirement where I have to switch views of web parts based on the page mode (browsing mode and edit mode). When user is in edit mode I have to show some styles which will give option to user to add the data easily, but when user save the changes and publish the page, the styles will go away and they see normal page. So, I have to identify whether the page is in Edit mode or Browse mode in javascript.I have a set of styles already written and based on the page mode I need to add those styles to some divisions on html. To find the edit mode of the page using javascript we have to use below logic:var IsPageInEditMode = document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value; if (IsPageInEditMode == "1") { alert("web part page is in edit mode."); } else { alert("web part page is in browse mode."); }But, this is not it all. To make it a common solution we must do more. :) The above logic works only for the Publishing pages. Which means if you have team pages (/sitepages/) or wiki pages then the above solution fails to return the correct value. For this, we should use below logic.var IsPageInEditMode = document.forms[MSOWebPartPageFormName]._wikiPageMode.value; if (IsPageInEditMode == "Edit") { alert("wiki page is in edit mode"); } else { alert("wiki page is not in edit mode"); }These SharePoint hidden variables are handy most of the times. Let's take a closer look at how we did it.SharePoint uses the form variable for all its operations. This is a global variable added by SharePoint Framework to javascript. See the below image:If you see the above image, there are many variables available for you in javascript. The first one is what we have used to get the form name. And the same way, we have many hidden variables available in javascript. These all can be visible by doing "View Source" on your browser. :)From one of my friend, I got to know that in SharePoint 2010, 2013 we have a method available to get the Page State. var IsPageInEditMode = SP.Ribbon.PageState.Handlers.isInEditMode();That's all for now. Enjoy the new findings. I know it's old finding but learning is always fun![...]



Importing Excel Data to SharePoint

2015-02-20T03:11:22.700+05:30

Recently for my company I have implemented a nice tool for importing data to SharePoint. The initial implementation started with Importing Excel Data to SharePoint List. Few years back me and my colleague implemented the same solution for 32 and 64 bit SharPoint 2007 servers. But, this new tool is targeted for SharePoint 2010, SharePoint 2013 and SharePoint Online. For more details visit the company blog. And also take a look at the codeplex project.

Its officially moved to my company utilities page. Please get it here.



API Tutorial for Office

2013-09-11T22:47:25.094+05:30

I am so excited about the Microsoft new announcements and their implementation approaches going forward. Just got to know today the great implementation "Javascript API for Office". Isn't it exciting to read? It's the new way to work with Office online. The tutorial app will provide us 6 examples on how we can use the Javascript API for Office. You can use "Napa for Office 365 Development Tool" to open the app files to write code.

To run the tutorial online you must be using IE 9, Safari 5.0.6, Firefox 5, Chrome 13 or later versions of these browsers.

API Tutorial for Office
http://msdn.microsoft.com/en-us/office/apps/fp161510
http://blogs.msdn.com/b/officeapps/archive/2013/09/11/learn-how-to-write-apps-for-office-code-interactively-with-the-api-tutorial-for-office.aspx



Download Visual Studio 2013 RC and Windows 8.1 RTM

2013-09-09T22:43:23.230+05:30

It's great day to start with new releases. If you didn't try VS 2013 yet then it's the right time to try it out as it improves the productivity by >30%. Windows 8.1 RTM is ready to download via MSDN or Technet subscriptions.

Read more complete article at: http://blogs.msdn.com/b/somasegar/archive/2013/09/09/announcing-the-visual-studio-2013-release-candidate.aspx



SharePoint Conference 2012 Sessions free streaming

2013-09-07T02:14:22.234+05:30

If you missed the SP Conference 2012 keynotes and the sessions then it's a good news for you that more than 100 videos are available for you free here. Enjoy the videos and learn SharePoint for better applications.

SharePoint Conference 2012 Sessions



SharePoint Online improvements

2013-10-27T03:51:04.053+05:30

Office 365 is going to be better and better. As many people are started using Office 365 I see Microsoft is planning to invest more on this domain. Lets see what they have improved. Below improvements are not applicable to Office 365 dedicated subscribers.

  1. The complete Office 365 environment for all users are updated to SharePoint 2013.
  2. Skydrive Pro will solve many problems regarding storage for Online users. Now, its been increased from 7GB to 25GB. This is free. 
  3. The improvements which are rolling out in coming weeks are:
    • Now SharePoint Online supports many file types: This is one of the great features I like. They extended the support for broad range of file types including .EXE and .DLL.
    • File upload limit increased: Now, users can upload files up to 2 GB size. Earlier it was just 250 MB limitation.   
    • Number of site collections: With latest improvements a tenant can create 10000 site collections. Earlier it was limited to 3000. 
    • Improvements to Look up fields: Each list can support 12 lookup fields. 
    • Self-restoration: Increasing recycle bin retention duration (now it is 90 days, earlier it was just 30 days) and versioning is turning on by default for the Skydrive Pro libraries.
    • IE 10 now supports opening Explorer view. Yes, it is back...
    1. Other than these there are many improvements. 
    Below are the reference links to get more details. These are really important points to know before you planning to migrate to Office 365/SharePoint Online.

    Links:



    SharePoint 2013 tutorials and e-books free download

    2013-07-29T20:54:31.151+05:30

    This is the important collection of e-books I have studied to understand the new concepts of SharePoint 2013. I believe they will be very useful to all my readers as well. Enjoy all the collection of books and leave me comment if you find any e-book which is good for learning easy SharePoint 2013 and all it's new concepts. Good luck.

    1. SharePoint 2013 for Dummies
    2. Beginning SharePoint 2013
    3. Beginning SharePoint 2013 Development
    4. Professional SharePoint 2013 Development
    5. Explore SharePoint 2013 (What's new in SharePoint 2013) 
    6. Deployment guide for SharePoint 2013
    7. SharePoint 2013 Technical Library in Compiled Help
    8. No code solutions using SharePoint 2013 Composites
    9. SharePoint 2010 Vs SharePoint 2013 Feature Comparision for Business Users 
    10. Software boundaries and limits for SharePoint 2013 (For architecture)
    I hope you get time to read all these to gain plenty of knowledge on SharePoint 2013 and keep rocking!



    Download Service Pack 2 for SharePoint 2010

    2013-07-24T14:35:28.658+05:30

    Here is the download link for SP2 for SharePoint 2010. *The Service Pack is a roll-up of all previously released updates.*

    Service Pack 2 for Microsoft SharePoint 2010 (KB2687453)

    More detailed list of packages / CU's included in this SP2 are mentioned here.



    Error occurred in deployment step Recycle IIS Application Pool

    2013-07-17T22:35:49.906+05:30

    This is the most annoying error in deploying a solution to SharePoint via Visual Studio. There are many reasons behind this error. It could be permissions, server configuration. So, I am planning to write all solutions here. :)

    Complete Error Details:
    Error occurred in deployment step 'Recycle IIS Application Pool': 0x80070005Access denied.

    Solutions:

    1. Visual Studio should be running as Administrator. (As the solution is deploying to the server and which requires the admin privileges we must run as Administrator)
    2. User must be a local administrator on the server and should be a member of WSS_Admin_WPG. (Should need access to control IIS and App pool recycling operations)
    3. User must have owner (db_owner) access to the SharePoint Content database. (To deploy the package and activate feature at site collection level) 
    4. User must be a part of Farm Administrators group. (Adding solution package to FARM)
    5. Finally, check the current user is a site collection administrator on the site which the solution is deploying to. (This is very important!)
    Hope you are good to go after following all the above instructions. Happy deploying!



    Adding inline styles in SharePoint 2013 page layout

    2013-07-13T19:36:38.838+05:30

    This is another tip which will help you in branding the SharePoint 2013 sites. In SharePoint 2013 when we create a page layout from design manager module then in SharePoint Designer we observe one html file and one aspx page got created for page layout. This is the implementation in SharePoint 2013 for master pages and page layouts. The customization we have to do it in HTML page. SharePoint framework will convert from HTML to ASPX automatically.

    For example, if we like to hide the left navigation from the current page layout pages then we will add simple below style to PlaceHolderAdditionalPageHead placeholder.
    Once you save the html file then you observe that the style is not applied to page. I have applied simple styles to the page and still they are not applied to any element on the page. After checked the ASPX converted file in Designer I found that the Style is converted as
    Which means browsers will ignore executing these CDATA styles. So, these styles will not be applied. After long research and reading many articles found the helpful information from MSDN article. I see there are new implementations in SharePoint 2013 branding. Below is the correct implementation we have to use to write style to the page.
    Hope you bookmark another new tip into your mind.:)



    SharePoint 2013 Best Practices

    2013-07-11T11:29:49.541+05:30

    Best post ever on SharePoint 2013. :) Go through from top to bottom without missing any line of link, code, tools etc. But, it will take days to complete the article. LOL

    SharePoint 2013 Best Practices