Thursday 25 July 2019

How to import data in excel file to Pega application

How to import data in excel file to Pega application


Hi Friends, in this post we will see how to import data from excel file to pega application using pega built in activity.

Steps to follow:
  • Creating Binary Files Template
  • Create Sample Excel File
  • Creating Rules for Parsing Excel to Clipboard
  • Display Excel in Section
  • Output Demo

Creating Binary Files Template :

Step 1: Create a sample excel file of format (.xlsx) as below



Note : AsianGame() is PageList and GoldMedal,SilverMedal,BronzeMedal - Properties of Integer Type

Step 2 : Create a binary File rule from Tehnical---->Binary File as below image


Step 3 : Provide necessary the Identifier, App Name (Directory) and FileType(.xlsx)

Step 4 : Upload the excel file as created in the step 1 in the binary File

Create Sample Excel

Step 1: create a same excel file of format (.xlsx) as below

Creating Rules for Parsing Excel to Clipboard :


Step 1 : Create a flow as below





Step 2 : Configure the flow action of your flow as below

Step 2.1: AttachingScreen is Pega build-in Section of 



Step 2.2: InitAttachentPage is Pega build-in Activity of Work- Class



Step 2.3: Create a Custom Activity For Mapping Excel to Clipboard



Step 2.3.1 : Custom Activity’s Step 1



Step 2.3.2 : Custom Activity’s Step 2



Step 2.3.3: Custom Activity’s Step 3



Display Excel in Section :


Step 1 : Create a Flow Action as Configured Below



Clipboard View :


Step 2 : Create a Section as configured below


Output Demo:


Step 1:



Step 2 :


Step 3:



3 comments:

  1. Wao, That's awesome work. So this is the best convert which will easily convert your one file to another;

    Online Fine Converter

    ReplyDelete
  2. Hey Alfred,
    Just checked your link which you given above.
    Its impressive site to convert you excel file to online web app.
    It will convert your 10k excel rows very quickly to web form with editable table with lots of other features.
    Please check this link to know more Convert Excel to Online Database

    ReplyDelete
  3. Thank you and it is simply superb

    ReplyDelete