cancel
Showing results for 
Search instead for 
Did you mean: 

webide create new app from template - uncaught promise error encountered

former_member277448
Participant
0 Kudos

hello

i am using webide Version: 170330 to create an app using the fiori worklist template.

i tell it where my metadata file is ...

when i try to run with mock data i am getting this error:

jquery.sap.global-dbg.js:3277 Uncaught (in promise) Error: failed to load 'sap/f/semantic/SemanticPage.js' from ../resources/sap/f/semantic/SemanticPage.js: 404 - Not Found at p1 (jquery.sap.global-dbg.js:3277) at Object.q.sap.require (jquery.sap.global-dbg.js:3847) at f (XMLTemplateProcessor-dbg.js:278) at k (XMLTemplateProcessor-dbg.js:360) at h (XMLTemplateProcessor-dbg.js:346) at a (XMLTemplateProcessor-dbg.js:226) at b (XMLTemplateProcessor-dbg.js:262) at Object.X.parseTemplate (XMLTemplateProcessor-dbg.js:165) at M.runWithPreprocessors.settings (XMLView-dbg.js:432) at Function.h.runWithPreprocessors (ManagedObject-dbg.js:800)


can any one please shed some light, tell me what i am doing wrong, how can i fix.

thanx for your help

pas

Accepted Solutions (1)

Accepted Solutions (1)

michal_keidar
Active Contributor
0 Kudos

Hi,

What about other templates? Are you able to run other projects with mock data?

Have you made any changes in the code, or did you try to run it with mock right after generation?

Regards,
Michal.

former_member277448
Participant
0 Kudos

Hi Michal,

i created a new app with master detail template and tried running with mock data.

this time i did not get the error.

not sure what you did Michal, but it worked 😉

thanx

pas

michal_keidar
Active Contributor
0 Kudos

I didn't do anything 🙂
But if you managed to run the Master-Details template with mock data, it doesn't mean the Worklist will work as well. There may be an issue specific to the Worklist template, that is why I wanted you to check other templates.

Regards,
Michal.

former_member277448
Participant
0 Kudos

hi Michal,

i tried with a Worklist template and got the error.

seems as thought it might be a worklist template issue???

the metadata.xml file i used is:

<?xml version="1.0" encoding="UTF-8"?> <edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" Version="1.0"> <edmx:DataServices m:DataServiceVersion="2.0"> <Schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" xmlns:sap="http://www.sap.com/Protocols/SAPData" Namespace="ArticleModel"> <EntityType Name="Article"> <Key> <PropertyRef Name="ArticleID"/> </Key> <Property Name="ArticleID" Nullable="false" Type="Edm.String"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Descirption" Type="Edm.String"/> <Property Name="Date1" Type="Edm.DateTime"/> <Property Name="Date2" Type="Edm.DateTime"/> <Property Name="Time1" Type="Edm.Time"/> <Property Name="Guid1" Type="Edm.Guid"/> <Property Name="Price" Nullable="false" Type="ArticleModel.Price"/> </EntityType> <EntityType Name="Article2"> <Key> <PropertyRef Name="ArticleID"/> </Key> <Property Name="ArticleID" Nullable="false" Type="Edm.String"/> <Property Name="Name" Type="Edm.String"/> <Property Name="Descirption" Type="Edm.String"/> <Property Name="Price" Nullable="false" Type="ArticleModel.Price"/> </EntityType> <ComplexType Name="Price"> <Property Name="Amount" Type="Edm.String"/> <Property Name="Currency" Type="Edm.String"/> </ComplexType> <EntityContainer Name="default" m:IsDefaultEntityContainer="true"> <EntitySet EntityType="ArticleModel.Article" Name="ArticleSet"/> <EntitySet EntityType="ArticleModel.Article2" Name="ArticleSet2"/> </EntityContainer> </Schema> </edmx:DataServices> </edmx:Edmx>

cheers

pas.

Answers (1)

Answers (1)

michal_keidar
Active Contributor
0 Kudos

Hi,

Do you have a paid license? Can you open a support ticket?

Regards,
Michal.

former_member277448
Participant
0 Kudos

hi Michal,

no, i do not have a paid license.

cheers

pas