$(function () { pageContext.i18n.modTalk = 'moderation talk'; pageContext.i18n.replyToComment = 'Reply'; pageContext.i18n.modTalkEmpty = 'moderation talk is empty'; pageContext.url.getModTalk = "/comments/%25ID%25/listModTalk.json"; pageContext.url.possibleCommentRecipients = "/comments/%ID%/possibleRecipients.json"; pageContext.url.commentEdit = '/comments/%25ID%25/edit.html'; pageContext.url.commentView = '/comments/%ID%/view.html'; pageContext.i18n.commentVisibility = { 'full': 'Viewable by all users', 'op': 'Viewable by the original poster', 'mod': 'Viewable by moderators', 'opAndMod': 'Viewable by moderators and the original poster', 'other': 'Advanced visibility', 'dialogTitle': 'Comment visibility', 'selectGroups': 'Visible to groups', 'selectOther': 'Other recipients', 'selectOriginalPoster': 'Original poster', 'selectModerators': 'Moderators', 'selectAssignees': 'Asked to answer users' }; pageContext.i18n.commentMenuLabels = { 'comment-edit': 'comments.menu.edit', 'comment-delete': 'comments.menu.delete', 'comment-convert': 'comments.menu.convert' };pageContext.i18n.answer= { bestAnswer: 'Best Answer', controlBar : { accept: 'Accept', unaccept: 'Unaccept', acceptCommand: 'Accept this answer as correct', cancelAcceptedCommand: 'Remove this answers accepted status' } }; window.croles = { u: false, op: false, m: false, og: false, as: false, ag: false, dc: false, doc: false, eo: false, ea: false }; tools.init({ q: { e: false, ew: false, eo: false, r: false, ro: false, d: false, dow: false, fv: false, c: false, co: false, p: false, tm: false , ms: false, mos: false }, n: { f: false, vf: false, vfo: false, vr: false, vro: false, c: false, co: false, vu: false, vd: false, w: false, wo: false, l: false }, c: { e: false, eo: false, d: false, dow: false, ta: false, tao: false, l: false }, a: { e: false, ew: false, eo: false, d: false, dow: false, a: false, aoq: false, ao: false, tc: false, tco: false, p: false, tm: false }, pc: croles }, { tc: true, nsc: true }); commandUtils.initializeLabels(); }); Skip to Content
-1

Agentry SAPUI5 OpenUI Container Demo - Access issues

Experts - I'm going through the Players demo in the EAM Mobile Apps SDK 2.1, and using the WPF client to test. When I click the Collection Extension link in the Players app, I get a script error "failed to load 'sap/ui/core/Core.js' from ../sapui5/resources/sap/ui/core/Core.js - Access is denied. "

I have given full permissions to the Assets folder and run the Agentry client as Admin so I feel this may not be the real issue. The directory structure for the file is clientdir/Assets/sapui5/resources/etc..... Any ideas?

capture.png (47.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    Aug 15, 2017 at 04:24 AM

    This is what my Assets directory for the WPF client looks like. I am using SAP UI5 version 1.36.10 and have successfully run the rating and charting examples under the WPF client version 70.14.3.55.

    --Bill

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Bill,

      Thanks for sharing. I am using latest SAPUI5 libraries downloaded from openui5 download site, unfortunately 1.36.10 is not available there. I am using WPF client version 70.15.2.1. I am still facing "Access is denied" issue. I will setup with same version what you suggested.

      Thanks & Regards,

      Sanjoy

  • Feb 10, 2017 at 03:27 PM

    Scott,

    By looking at your error: "failed to load 'sap/ui/core/Core.js'" it is assuming that your IDE for this uses that path to the Core.js. It might be an issue where your root folder is with respect to your package. The file or the SDK has a directory structure but you as the developer can hopefully correct the build path or tweak the path of your build directory to make it work. The assumption here is that what you downloaded was based on a path of the developer on his/her own settings. So it is assumed that you may know how to get this to work in your own environment as each developer may have their own custom settings.

    Regards,

    Mark Pe

    SAP Product Support

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 15, 2017 at 07:14 AM

    Even I am also facing the same javascript issue. Any updates?

    thanks

    pawan

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 17, 2017 at 02:37 PM

    Scott,

    With multiple users having issues with the SDK, this particular thread was successful with their case. They originally have problems with the download and by using a combo of correct files they were able to compile.

    Please refer to this thread and you may ask the users/reporter on how they got it to work but hopefully what they shared online is good enough to get you working.

    Internally in SAP we are trying to find out if there is any issue with our docs and files. But hopefully this thread should share some light on your issue.

    Best Regards,

    Mark Pe

    SAP Product Support

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 08, 2017 at 03:47 PM

    Hi,

    I am also facing the same issue while using Rating app from samples. I am using SP15.

    Regards,

    Sanjoy

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 16, 2017 at 09:10 AM

    Hi Bill,

    It's working now with the version you suggested.

    Thanks & Regards,

    Sanjoy

    Add comment
    10|10000 characters needed characters exceeded