Skip to main content

Posts

Issues while debug Auto-Hosted app in Office 365 (SharePoint Online)

I am working on SharePoint app model with office 365. I had created a Auto-Hosted app in Visual Studio 2013 and trying to debug this app but I have faced a lot of issues in this process. I have tried to so the same in another environment (from home) and I am able to debug the same app so I have only one option to lodged a support ticket to Microsoft for the same, MS has checked my environment and came to know that few of URL and IP's is blocked on my office network. Microsoft has suggested to open that URL (white list) in network firewall. Microsoft has provided an article and the same is describe below. SharePoint Online URLs and IP Addresses IT administrators might want to control communication to specific SharePoint Online sites through an on-premises firewall. To do this, you’ll need to know the IP address ranges used by SharePoint Online. Outgoing IP Address Ranges Ports in your on-premises firewall might need to be opened to accept network traffic originating fro...

Adding master page to Auto-hosted apps

When we build a SharePoint hosted app, all pages and other resources are served by SharePoint from within the app web. For this reason, SharePoint hosted apps automatically inherit the look and feel of the host web and present custom functionality within the familiar SharePoint environment. This inheritance is not automatic when we create a remote hosted app because the remote web is served from outside the SharePoint environment. There is no requirement to ensure that your remote web looks like the host web but a similar look and feel reassures users, positions familiar links and controls where users expect them, and can ease the adoption of your app time. Steps to add host web master page to app pages 1.      To use the Chrome Control, copy the sp.ui.controls.js JavaScript library into your remote web project. 2.      Ensure each page in app includes <script> element to the above JavaScript file. < script   ...

SharePoint 2013 - Empty project / Load Project error

Problem : I am starting to debug SharePoint Solution on a server but found below error "An error occurred while trying to load some required components. Please ensure that the following prerequisite components are installed: Microsoft Web Developer Tools Microsoft Exchange Web Services." I have installed Visual Studio Professional 2012 on my server. Resolution Please follow the below steps to resolve this issue 1.       Go to Control Panel > Uninstall a program 2.       Select Microsoft Office Developer Tools for Visual Studio 2012 - Preview 2 - ENU 3.       Click on Change to uninstall it. The setup program should launch. 4.       Click on Uninstall to remove the Office Developer Tools. 5.       Download the Office Developer Tools using Web Platform Installer link. This Web Platform Installer should install the Of...