Skip to Content
0

sap ui5 input assisted tabular suggestion not working

Aug 19, 2017 at 12:20 PM

83

avatar image
Former Member

Hi Gurus,

I have copied the input assisted tabular suggestion code from UI5 toolkit and used it in a project in eclipse but getting the following error.

Please find the snapshot of the project details:

<!DOCTYPE HTML>
<html>

    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta charset="utf-8">

        <title>Input - Assisted Tabular Suggestions</title>

        <script id="sap-ui-bootstrap"
            src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
            data-sap-ui-libs="sap.m"
            data-sap-ui-theme="sap_belize"
            data-sap-ui-xx-bindingSyntax="complex"
            data-sap-ui-preload="async"
            data-sap-ui-compatVersion="edge" 
            data-sap-ui-resourceroots='{"sap.m.sample.InputAssistedTabularSuggestions": "./",  "sap.ui.demo.mock": "mockdata"}'>
        </script>

        <!-- Application launch configuration -->
        <script>

            sap.ui.getCore().attachInit(function() {
                new sap.m.App ({
                    pages: [
                        new sap.m.Page({
                            title: "Input - Assisted Tabular Suggestions", 
                            enableScrolling : true,
                            content: [ new sap.ui.core.ComponentContainer({
                                name : "sap.m.sample.InputAssistedTabularSuggestions"
                            })]
                        })
                    ]
                }).placeAt("content");
            });
        </script>
    </head>
    <!-- UI Content -->
    <body class="sapUiBody" id="content" role="application">
    </body>
</html>

Please suggest how to fix the above errors. Inputs will be really appreciated.

Regards,
Ajay

error.png (48.6 kB)
error.png (196 B)
error.png (48.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sharath M G Aug 19, 2017 at 03:08 PM
0

What is line no. 10 in index.html? Click on the error and share it?

Show 5 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Sharath,

Line no 10 in index.html file which i attached above is shown below

Also i am getting other error as shown in previous thread attachment as

2. failed to load 'sap/m/sample/InputAssistedTabularSuggestions/Component-preload.js' from ./Component-preload.js: 404 - Not Found
Caused by: undefined

3. resource sap/m/sample/InputAssistedTabularSuggestions/view.view.xml could not be loaded from ./view.view.xml. Check for 'file not found' or parse errors. Reason: Not Found

Can you please provide some input on these issue?

Regards,

Ajay

socj7.png (15.2 kB)
0

The resourcetoors refers to the folder structure of your project. The errors indicate that your files are not available in the path. Re-look at the the paths provided.

0
Former Member
Sharath M G

Hi sharath,

I made the changes as suggested but now i am getting below error.

error.png (44.9 kB)
project.png (115.5 kB)
0
Former Member

Hi Gurus,

Can anyone please help to fix the above issues?

Regards,
Ajay

0
Former Member

Hi Gurus,

Can anyone please provide help on the above issue.

Regards,
Ajay

0