Spartacus storefront is not loading on hybris 1905 - sap-commerce-cloud

I have installed hybris 1905 via VM.
Everything else works (B2C Accel, Hybris, HAC etc) except Spartacus store front.
The store front has a loading screen but doesn’t paint the page.
Is anything need to changed to allow the storefront to finish loading for the SPA accelerator?

Some additional information to #geffchang post (https://stackoverflow.com/a/62535976/9290007):
Take a look on the guide https://sap.github.io/spartacus-docs/building-the-spartacus-storefront-from-libraries/ to ensure, that your frontend application has correct configuration
Double check your configuration which B2cStorefrontModule is using (here you can find an example project here https://github.com/SAP/spartacus/tree/develop/projects/storefrontapp)
Take a look on Network and Console browser tabs and try to resolve all errors

You need to follow all the instructions from the Spartacus guide: https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud/
This includes:
Configuring OCC Credentials
Configuring CORS

Related

How to test ChromeOS enterprise features during development?

I am working on a Chrome extension running on Chrome OS.
The extension needs the enterprise.hardwarePlatform permission to be able to get hardware information about the device.
The question is: How can I test my extension?
After installing the extension manually, the API to get the hardware information will not work as it needs the extension to be forced-installed by the enterprise policy.
But how to force-install the extension if it is not published in the Chrome Web Store?
Google Workspace seems to allow to refer only to published extensions in the enterprise policy. But obviously I do not want to publish the extension under development. Also I didn't find a "Web Store for development" where I could upload the extension and then refer to it from the policy.
So how to do this?
I found this question:
https://support.google.com/chrome/a/thread/107510644/how-do-i-develop-a-chrome-extension-with-enterprise-permissions?hl=en-gb
However, did not find the answer in any of the provided links. All information seem to point to publishing on Chrome Web Store first. But then would it be impossible to manually test a feature like this before publishing?
Thank you for your answers in advance.

PWA installed or not?

I wanted to know is there a way by which we can check whether our website's PWA is installed or not by the user on the device?
I have done with the " add to home screen banner" but what if the user comes the second time and we need to check. Please help thanks in advance.
You may refer with this documentation. Be noted that if the user has installed your Progressive Web App through the old Add to Homescreen method (i.e, in anything prior to Chrome 58) then it is not possible to detect if your app is installed. Chrome added your site to the Homescreen as a bookmark, and this data was not exposed to the system.
However, if the user has installed the web app using the new Web APK functionality, it is possible to determine if your web app is installed. If you know the package name of your Web APK then you can use the context.getPackageManager().getApplicationInfo() API to determine if it is installed. Please note that this is experimental.

Pepper Robot Web Debugging

We're trying to show a web page on pepper's tablet, but something goes wrong. How can we get the browser's error messages to debug the web page?
We know js 1.5 is implemented, so we installed all kind of polyfills for Promises, forEach, etc. But no luck. How can we get meaningful debugging info?
thx
Sven
I create a git for showing a web page and send event with the module ALMemory ( see it for an example). For debugging, it is more complicated but you can also try this. You can create a template for showing web page and connect directly it to your robot. For example, you install it on your pc and create a web-page template with python jumpstart.py service-tabletpage my-package-name MyServiceName. A package will be create in a file output. Open this app on choregraphe and install it on the robot. You can after that launch on your computer the web page (double click on index.html, name by default) and just adding at the end of the url ?robot=ip_of_the_robot. You can now debug your code.

Customize login page IBM BPM portal

I am trying to change the look and feel of the IBM BPM portal's login page. I read about it in this link. I have installed the windows hotfix suggested in the link and i have also checked 'Default to basic authentication when certificate authentication for the HTTPS client fails' in Websphere application server but still i am facing an error when i am trying to upload files into the WebDAV folder using Cyberduck. It just gives a message saying 'bad request'.I can browse and see all the files and folders but I just can't upload. I can upload using cyberduck in my friend's PC without installing the hotfix or checking the authentication option in websphere application server. So now i am sure that the problem is in my BPM or my operating system. Me and my friend are using Windows 7 and the same BPM version. I am trying to find the solution for this since 3 days on google but no luck. Someone please help me with this issue.
Thanks in advance
make sure you are using the WAS administrator to connect. It seems like a privileges issues. Switch to Admin ID and retry.
Customization of IBM BPM login page is needed admin authorization for example your tw_admin to connect to it using cyberduck , note: if you install fix pack your customization will be lost and restore the old login page.
You may have to use the Deployment Manager password to alter contents through CyberDuck.

How to launch a chrome packaged app using a URL scheme

I have a chrome packaged app that I update form time to time - when I'm creating an update I want to send email to subscribed customers with a link the that extension -that will launch it.
Anyone knows if there is a chrome url scheme i can use?
Currently this is not possible, but there is an API proposal and an implementation being developed for a chrome-app://appid URL schema that would do pretty much what you describe.
Follow the status here
I also want to be able to do this. It seems that one possible solution is to install both an extension and a packaged app, and have the extension register a context menu that then communicates with the app, or something similar.

Resources