Monday, March 12, 2018

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:'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.


eurl = encodeURI(eurl);

Sunday, February 25, 2018

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.

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.

After Finalizing your Flow,

Export Process

Then go to My Flow

Where you can see all your business flows
Select the automation flow that you need to export.

And then select the Export as Package Zip.
Then you will see a Form like below, which you should understand properly.

First section is how to deal with the import operation.

There are two options available.

  • ·       Create a New Flow on your destination
  • ·       Update the existing Flow on your destination

You can choose the preference approach.

Second part is all about the connectors.  You might have different connections for your dev, staging and production.  Before importing the Solution you should create the connection in your production environment, if it is not exists.

Connections need to select when you are importing the zip. Please refer Import Process

Import Process

Creating Connectors
Click on connectors on your production

Here you can see all your existing connectors in the environment.  You can add new connections if it is not exists.

Then go to My Flows and click on Import link

There you can import the zip package where you exported before.

Now you can select the Update and select the existing Flow to update. Then click on Select during import and select existing connection.


Tuesday, February 6, 2018

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.


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 add a trigger, here we need a manual trigger where we can initiate using the mobile application.

So First we need to add the Flow Mobile Button.

Search for the mobile trigger and add Flow button for Mobile.

After you added you can see the manual trigger added to the system.

Now you need to specify the Input method, since we are using for File upload, add a Input method as a File.

Once you added it will be look like below. You can change the default name and description as you like.

Now you need to add the action to upload the document to One-drive.

Choose Add an Action from New Step and Search for One Drive – Create File in Actions Section

Currently Microsoft Flow Support many Cloud storage including

·         One Drive
·         Google Drive
·         Share Point
·         Assure
·         Box
·         Buffer

Once you select your file creation action, Flow will ask for credential (for the connector) and properties to file creation.
Then you can use the Dynamic content to fill the appropriate details.

Once you done. Save the Work Flow.
Now get your Flow mobile application and login using your credentials.

Go to the Button Section and now you can see your workflow.

Click on the Virtual button Browse the content and done.

Now you should see your file in your destination.

Tuesday, January 2, 2018

The breakpoint will not currently be hit. No symbols have been loaded for this document. In SharePoint Development or Deploying SharePoints wsp

These symbols, Dlls can be belongs to same project or any other references from other projects.

There are various reasons for this. I will explain few tips that you can try.

Check for multiple solutions

If the same reference libraries are referred from other solution and if it is in open in a visual studio solution, assemblies might being held with file lock by other visual studio; that cause not to deploy reference assemblies to GAC (global assembly cache).   

Full Debug Information

This is first to try.  Check the project build information and make sure full debug information is specified.
Go to properties for SharePoint Project.

Then go to build and advanced section.

  Then check for debug information and make sure it is set to full.

 Check Load Symbols in debug mode

This is a quiet a handy way to check the symbols debug files.  First press F5 or start debugging your project.
Then you can find the Module Menu under Debug -> Windows -> Module Menu.

There you can find the symbol load information and loading path.

As you can see you will find Loaded Symbols and path, there is a Load Symbol button there you can load symbols and change the path. Or else you can copy symbols to specified path. But sometime it might say that debug information are not matching with image, meaning debug information and assemblies deployed are not identical.

Enable Just My code

Tools – Option -> debugging - . general > un tick just my code

This is well explained here.

You can configure Visual Studio to automatically step over system, framework, and other non-user calls and collapse those calls in the call stack window. The feature that enables or disables this behavior is called Just My Code. This topic describes how to use Just My Code in C#, Visual Basic, C++, and JavaScript projects.

Package the libraries

Seems like your code is not package with the solution

You need to package the assemblies to deploy with the package. Generally runtime will use the available packages in the GAC unless it is packaged.

You can go to project properties.

Then go to advanced settings
Package - > advance - > bind the assemblies

Add the assembly to the package.