Skip to main content

Posts

Use Microsoft Sway Integrated with SharePoint Online /SharePoint 2013/2016

Microsoft Sway Microsoft Sway is a great online Presentation and Online Creativity Stack. Why we need Sway Assume that you are about to so a cooperate presentation for your colleagues. what are the options you have Firstly,You can create a PowerPoint presentation which you need a PowerPoint to run and if you want to share you need end users have PowerPoint client for view the deck. Secondly, You can create a simple web pages and share it with users where it can be access from all devices if it is responsive. Microsoft Sway address the second point. How to Access the Sway There are many ways that you can do this. Since I'm trying  use Sway with SharePoint Online; I will describe using SharePoint Online. First Login to the SharePoint Online Office 365 Login | Microsoft Office There You can go to all Apps   Then you can find the Sway as a App in the Menu   Click on the Sway and go the Sway web site. Here you can find standard available temples or you can start from the stre...

How to create Custom Web Service WCF (REST) in SharePoint 2013

SharePoint native web services can be access via _vti_bin mapped path. Deploying our custom service to this mapped path enables mapped features such as Access service using relative path Ex – Assume service is custom.svc; therefore it is possible to access it http://server/ _vti_bin/custom.svc http://server/sites/site/ _vti_bin/custom.svc http://server/sites/site/web/ _vti_bin/custom.svc http://server/sites/site/web/pages/ _vti_bin/custom.svc But SharePoint Project template does not contain wcf project therefore we need to do have some work around to archive this. Step by Step guide to create a custom SharePoint REST service Create a Empty SharePoint Project by Selecting as Farm Solution Then right the Project and Add –> SharePoint Mapped Folder –> select ISAPI and click ok Then create a sub folder under ISAPI that is use to deploy our service. Now we need to create wcf service and it’s interface. therefore add two classes named ServiceApiToken.c...

SharePoint Rest API calls are not working in internet Explorer (IE)

This is a sudden issue I have come across, Previously REST API calls were working on IE, Chrome and other browsers. EX: https://abc.com/News/_api/web/lists/getbytitle('Pages')/items?$expand=file&$filter=ArticleStartDate gt dateTime'2017-03-12T00:00:00Z'   &$top=3 For some reason these REST calls are not working in IE without encording. You can do a simple trick to encode the URL before requesting data. EX:- Var eurl = https://abc.com/News/_api/web/lists/getbytitle('Pages')/items?$expand=file&$filter=ArticleStartDate gt dateTime'2017-03-12T00:00:00Z'   &$top=3 eurl = encodeURI(eurl);

Recursively call Asynchronous function and wait for finish all before proceeding in JavaScript

In recently i have to work with problem which recursively call asynchronous methods. I tried with differed object $.when.appy ; but with large number of calls this method didn't show any constant result. Therefore i used some call back function with to archive this task. Here I'm a keeping a TrackCalls object to track async calls and their returns. If  any error occurred loop will be stopped and  notify.   var TrackCalls = { "callCount" : 0 , "receivedCount" :0 , "errorCount" :0};   function callBack() { setTimeout( function () {   if (TrackCalls.callCount == TrackCalls.receivedCount) { // all async call received } else if (TrackCalls.errorCount > 0) { // Error occurred in one of async call } else { callback(); } }, 2000); }   function AsyncCall( finised , failed) { TrackCalls.callCount++; $.ajax({url: "test.html" }) ...

Develop and Deploy Microsoft Flow Applications

Development and deployment of Microsoft Applications has never been easy. In actual production environments you need to develop your application, test it, release to UAT and ultimately release to the live environment. Microsoft Flow’s Export and Import functions made this process convenient and easy. First you need to create your Flow in your development environment. I have few sample scenarios. Scenario one Assume that you are having support email address on Gmail and you want to create a follow up task to the supporting team which is on the Microsoft Outlook environment. Link: http://melick-rajee.blogspot.ae/2017/12/create-simple-automation-using.html Scenario two  Assume that your sales team need an approval of a customer document. In generally sales team need to scan the document and send to the relevant person via email and get the approval. Here you can use your Flow mobile application to trigger the process. Link: http://melick-rajee.blogspot...

Iterate (Loop) Object (Key value pair) in JavaScript and JQuery

Let assume y is our object which has following data and you need to iterate it in native JavaScript var y = {1: "2" , name: "value" , sN: "sV" } $.each(y,function(k,v){alert(k + v)}); in jQuery you can do the same thing like below var Y = {1: "2" , name: "value" , sN: "sV" } for (var k in Y) { if (y.hasOwnProperty(k)) { alert(y[k]) ; // value alert(k) ; // key } }

Integrating Microsoft Flow Mobile Integration with Microsoft Flow Automation in Office 365 Online Services

Integrating Microsoft Flow Mobile Integration with Microsoft Flow Automation in Office 365 Online Services Microsoft Flow has its own mobile application which is very use full for integrating Business Flows. Which is available in Apple, Android and Windows stores    Today I’m explaining the possibilities that you can use Flow mobile in your automation process. Scenario: Assume that your sales team need an approval of a customer document. In generally sales team need to scan the document and send to the relevant person via email and get the approval. Here you can use your Flow mobile application to trigger the process. To start with the process as a First step I’m just using Flow Button and One Drive. Let’s Begin You can Launch the Microsoft Flow using either form directly launching the Microsoft Flow or though O365 portal. Launching Microsoft Flow Start with Bank template In this scenario now you need to ad...