Show and Download PNG JPG PDF Archive in Fiori Client Android with outsider Application for Zoom/extra choices

Fiori Client Android

Fiori Client Android and zoom in Fiori

ZOOM Options in Fiori Client Android

Let know more about Zoom in Fiori Client Android..

Question: How to bring ZOOM choices?
Question: How to conjure outsider Application to see report?

Reply: Utilizing the Fiori Client worked in module for connections.

Also ReadFiori App – An Introduction from an ABAPer

The following is the code piece to accomplish the usefulness.

First we utilize a straightforward brought together document transfer from Demokit with emulate type set to “png, jpg, pdf” and so on.

Note: For PDF, introduce outsider application like adobe peruser/office suite and you can involve same code for assortment part yet make sure to change source code to get document in view of record for assortment.

Here is test fileuploader code utilized in XML view for your reference Fiori Client Android

fileuploader code utilized in XML view

     

      1. Display the document

    Place the below code on change event of the unified uploader.var oCore = sap.ui.getCore(); var oFile = oEvent.oSource.oFileUpload.files[0]; if (oFile) { var vPath = URL.createObjectURL(oFile); try { if (oFile.type == “application/pdf”) { // For mime type PDF this below code invokes adobe reader var reader = new FileReader(); reader.readAsDataURL(oFile); reader.onload = function() { window.open(reader.result); }; reader.onerror = function(error) { sap.m.MessageToast .show(“Unable to open file”); }; } else { // For mime type JPG PNG this below code invokes gallery window.open(vPath); } } catch (e) { // Error in case of any failures to be catched }

    2. Download from Getstream and view documenttry { window .open(encodeURI(“/sap/opu/odata/Service/AttachSet(Property1='” + vValue1 + “‘,Property2='” + vValue2 + “‘)/$value”)); } catch (e) { // Error in case of any failures to be catched }

    NoteBased on mime type gallery/in-app window or adobe reader is invoked automatically and since document in viewed in adobe reader or gallery/in-app window its easy to zoom the documents.

    Also Read: SAP Fiori: End to End Implementation

    Screen shots of how it functions.

    Open Fiori Client App

    Fiori Client App screen

    Click on browse button

    browse button

    Pick a picture for which client needs to zoom in before any activity.

    Fiori Client Android

    Zoom options will be accessible since change capability of fileuploader is summoned.

    Fiori Client Android

    Now choose PDF file to invoke pdf app for zoom options.

    Fiori Client Android

    Fiori Client Android

    Also Read:How to change non-English Default Language in Fiori LaunchPad?

    Comparatively when you really want to conjure exhibition/in-application window or adobe peruser with Getstream. Utilize the download capability. It consequently summons related application in light of emulate sort of backend.

    Instance of downloading pdf and opening it naturally in pdf application for zoom choice/print and so on..

    Simple PDF

    Simple pdf File 2

    You might be interested in:

    What is SAP Fiori used for?

    Exploring Fiori OData Integration

    Fiori Launchpad: Paving the Way to Seamless Digital Experiences

    Trust, this article would give you the pointer you really want to empower and conjure the right capabilities for the Zoom include. On the off chance that you have further questions or need some more data, do go ahead and contact me or leave your inquiries in the remark area underneath.

    Part 5 Part 7

    Interested in this SAP Classes ? Fill Your Details Here


    ₹25,000.00

    SAP SD S4 HANA

    SAP SD (Sales and Distribution) is a module in the SAP ERP (Enterprise Resource Planning) system that handles all aspects of sales and distribution processes. S4 HANA is the latest version of SAP’s ERP suite, built on the SAP HANA in-memory database platform. It provides real-time data processing capabilities, improved…
    ₹25,000.00

    SAP HR HCM

    SAP Human Capital Management (SAP HCM)  is an important module in SAP. It is also known as SAP Human Resource Management System (SAP HRMS) or SAP Human Resource (HR). SAP HR software allows you to automate record-keeping processes. It is an ideal framework for the HR department to take advantage…
    ₹25,000.00

    Salesforce Administrator Training

    I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
    ₹25,000.00

    Salesforce Developer Training

    Salesforce Developer Training Overview Salesforce Developer training advances your skills and knowledge in building custom applications on the Salesforce platform using the programming capabilities of Apex code and the Visualforce UI framework. It covers all the fundamentals of application development through real-time projects and utilizes cases to help you clear…
    ₹25,000.00

    SAP EWM

    SAP EWM stands for Extended Warehouse Management. It is a best-of-breed WMS Warehouse Management System product offered by SAP. It was first released in 2007 as a part of SAP SCM meaning Supply Chain Management suite, but in subsequent releases, it was offered as a stand-alone product. The latest version…
    ₹25,000.00

    Oracle PL-SQL Training Program

    Oracle PL-SQL is actually the number one database. The demand in market is growing equally with the value of the database. It has become necessary for the Oracle PL-SQL certification to get the right job. eLearning Solutions is one of the renowned institutes for Oracle PL-SQL in Pune. We believe…
    ₹25,000.00

    Pega Training Courses in Pune- Get Certified Now

    Course details for Pega Training in Pune Elearning solution is the best PEGA training institute in Pune. PEGA is one of the Business Process Management tool (BPM), its development is based on Java and OOP concepts. The PAGA technology is mainly used to improve business purposes and cost reduction. PEGA…
    ₹27,000.00

    SAP PP (Production Planning) Training Institute

    SAP PP Training Institute in Pune SAP PP training (Production Planning) is one of the largest functional modules in SAP. This module mainly deals with the production process like capacity planning, Master production scheduling, Material requirement planning shop floor, etc. The PP module of SAP takes care of the Master…

    Leave a Reply

    X
    WhatsApp WhatsApp us
    Call Now Button