European SharePoint 2013 Hosting

SharePoint 2013 Hosting – HostForLIFE :: How To Copy Image From One List To Another Using Flow?

I was making a flow that would copy the items with their images after that I found the image column was not visible to Flow. Here I am trying to achieve this using a different scenario.SharePoint-2013-Hosting

Let’s see how we can handle this.

Here I will show you this step-by-step process.

Create Hyperlink/Picture column in both lists remain this as Hyperlink type

Create a hyperlink /Picture column in both source list and destination list first keep the type as hyperlink the reason is if we make it as Picture instead of Hyperlink it will not visible to flow.

Source list column,


Destination list column,


Add some Image links to the source list column

Add an image, link as Hyperlink into the source list Hyperlink/Picture column.

It will look like a hyperlink.

Create a Flow to perform this task

Create a Flow choose trigger as “Manually trigger a Flow” in the next step add the “Get Items” action.

Then add “create Item” provide Site name and list name now you will see the various column names including the Hyperlink/Picture column now provide columns with the correspondence value.

Save it.

Run the flow,

Open the destination list here we will see the image link,

Then make the Image column type picture type and see the result

After a successful run of Flow, we will find that the Image link is there, then we have to Go to list setting ->edit column then make it as a Picture.

Then see the result.


SharePoint 2013 Hosting – HostForLIFE :: REST Calls With SPHttpClient Class In SPFx Webparts

Let us look at the usage of sphttpclient in SPFx solutions for making REST calls. To access the required information on SharePoint sites, traditional REST API calls are made previously with JavaScript or jQuery. In the SharePoint Framework solutions, there is an option of making calls using predefined classes. These are the base communication layer used in the SPFx solutions for accessing SharePoint data.
SPHttpClient Class
HttpClient is the class which has basic features to perform REST calls. It can be used to perform REST calls for non-SharePoint services.

SPHttpClient is a subclass which inherits the functionalities from HttpClient, and is used to perform REST calls for SharePoint specific services. This will have default headers and digest information required for get or post calls.

SPHttpClient has the methods and properties. The methods are beginBatch, fetch, get, post, and getWebUrlFromRequestUrl.

Let us focus on retrieving the SharePoint list information using SPHttpClient class. Make sure the latest web part generator packages are available on the environment, before you start creating the SPFx project.

For getting the information, get method is used. This indirectly calls the fetch method. The fetch method will have the same  functionalities same as get method. The required parameters are,

  • URL (string)
  • Configurations (SPHttpClientConfiguration) – Used to set the default headers and version numbers. There is only one value available at this stage (v1).
  • Options (ISPHttpClientOptions) – optional parameter, for setting the web URL explicitly.

The get method is triggered using the context with the help of SPHttpClient. URL and configurations are passed as parameters. The URL can be constructed with the help of context available on the component.

The response will be in the type SPHttpClientResponse. JSON data will then be extracted from the response using the methods available.
The required packages to be imported on the webpart file.

The below code snippet shows retrieval of SharePoint list items.