Using the SMP SDK built-in SAPUI5 library in Kapsel applications

Source: Internet
Author: User
If you want to provide app startup speed, directly using the SMP SDK Logon plugin inside the SAPUI5 library, you can refer to
 http://scn.sap.com/docs/DOC-65387
 SAPUI5 used by the Logon Plugin Chapter

Alternatively if your application uses SAPUI5, you could wish to reference the already included SAPUI5 library from your app Lication. It may do sense to move the
C:\Kapsel_Projects\LogonDemo\plugins\kapsel-plugin-logon\www\common\assets\ui\resources
Folder to the
C:\Kapsel_Projects\LogonDemo\www
Folder

And then modify the three references in the below file to use. /.. /.. /resources as shown below.
C:\Kapsel_Projects\LogonDemo\plugins\kapsel-plugin-logon\www\common\assets\ui\iab.html

<script type= "Text/javascript" src= ". /.. /.. /resources/sap/ui/thirdparty/jquery/jquery-1.11.1.js "></script>
<script type=" Text/javascript " Src= ". /.. /.. /resources/sap/ui/thirdparty/jqueryui/jquery-ui-position.js "></script>
<script id=" Sap-ui-bootstrap "type=" Text/javascript "
     data-sap-ui-preload=" None "data-sap-ui-libs=" sap.m
        " Data-sap-ui-theme= "Sap_bluecrystal" src= ". /.. /.. /resources/sap-ui-core-nojquery.js "></script>     

In the Kapsel app's www directory below the index.html reference SAPUI5 library:

<script src= "./resources/sap-ui-core.js" id= "Sap-ui-bootstrap" data-sap-ui-libs= "sap.m"
            data-sap-ui-theme= "Sap_bluecrystal" > </script>

More SMP SDK Logon plugin with available third-party class libraries:
Assets\www\smp\logon\ui\resources\sap\ui\thirdparty\jquery\jquery-1.11.1.js
Assets\www\smp\logon\ui\resources\sap-ui-core.js

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.