I have a html5 application, called Portal that holds a collection of tiles that simply link to other apps when pressed. I created a custom domain for the portal app. So now when I call https://example.org it shows the portal app.
What I want to do is to show other apps by calling https://example.org/{app_name}. For example http://example.org/records should show the records app. I tried to accomplish this using Destinations, but without any luck. Do you have any idea on how to do this?
If you have SAP Cloud Platform Portal or onPrem NW GW Fiori Launchpad you could use app-to-app-navigation with semantic objects:
Cloud: https://help.sap.com/viewer/3ca6847da92847d79b27753d690ac5d5/Cloud/en-US/1a51a606964141579d14079455ac03b8.html
OnPrem: https://blogs.sap.com/2017/06/23/cross-app-navigation-in-sap-fiori-launchpad/
OnPrem with Web IDE: https://blogs.sap.com/2015/02/19/app-to-app-navigation-in-the-web-ide-fiori-launchpad-sandbox/
If you have a custom Portal, it depends where your apps are deployed. You might need a dns entry solving https://example.org/{app_name} to the real url where the app is available.
Related
I have created a canvas power app. I am trying to use the paypal API: https://developer.paypal.com/docs/subscriptions/integrate/ ,which gives you html to embed into your code. I know Power Apps is a no-code platform, but are you be able to connect a Canvas app to a Web Resource with html?
you cannot use javascript directly in your canvas app but there is something called PowerApps component framework. you can use PCF to have coded component in your canvas app.
There is an pcf gallery as well which contains community crated pcf controls which could be directly used.
In addition, it is not required if you want to consume 3rd party api that you use javascript. There is something called custom connectors/ or out of box connectores in power automate, you can call power automate (flows) from your canavas app and consume output/results from your flow.
Take a look at this connector article
I have a microservice which is running in docker container, can I integrate app id into my application? and do not change the application code.
Also, I only saw google and facebook login item on the log in widget,
how can I add IBM w3id to the widget?
can I store a username and password into appid? then clients can login using the pre-stored credential. how to implement this? thanks.
There should be no any problem to secure your application using App ID, but you need to update the application (backend) code if you need to protect REST APIs. If you need to authenticate your mobile app users only, there is no need to change the backend code (you can review our iOS and Android onboarding samples available in the service dashboard).
IBMid is not released to production yet, so currently there is no option to add it.
About customer credentials - we're working on Cloud Directory feature now, this scenario will be supported once we release it to production.
Thanks,
Vitaly
I created OVP application to display different cards. This application works well when I deploy it to my Fiori Launchpad page.
OVP cards work well in Fiori launchpad
But the content of OVP application cannot be loaded when I add it to my Site
same OVP cards cannot be loaded in Portal site
It is so weird that OVP application works differently by deploying them to Fiori launchpad and Portal site. Can anyone help me out of this issue? Thanks a lot!
There is any error in the console? Something like "Access-Control-Allow-Origin"?
If your Portal has a different domain that your OData service you will get a CORS issue.
The typical scenario is:
1.- Your OData comes from an ABAP system
2.- Your portal is in a JAVA system
One possible solution. Set a WebDispacher in front of them and access the Portal through the WD. The WD will redirect your requests to the corresponsing system, but your browser will receive everything from the WD domain, so no CORS...
This was solved because the OVP cards works in Fiori launchpad ONLY.
https://jam4.sapjam.com/questions/9NKsSwCxyTD91wIX7CIZig
I have the basic OAuth2 working with Facebook but it appears that I need to setup multiple apps in FaceBook to support. When I add platform, I can add only 1 web site and it has a URL. Seems like I need multiple facebook apps to support different environment.
I can configure it for local host and it works, I can reconfigure it for azure and it works, but I can never get both to work. I did configure multiple re-direct URIs to each environment.
Am I correct that I will need multiple facebook apps (appid and app secret), one for each environment?
Yes, you do need multiple apps for this to work under different domains. Facebook now offers the ability to create an app which is the "test version" of an existing app. You will still end up with different apps/app Ids so you need a way within your application to initialise the FB API with the app ID which is configured for the given environment.
I built a native Windows app (non Windows-Store) that uses the Facebook API.
I wanted to make it public which means going through their review process which means (among other things) selecting the app's platform.
Sadly a native Windows app is not one of the choices: Facebook app platform selection screenshot
I found 2 unanswered questions on SO on the same topic:
one
two
How should this be done in a proper way?
Thanks in advance.
PS:
I found a post a few days ago where the poster said he registered such an app by setting the platform to "web site" (I didn't keep the link).
This does not look like a good long term solution and also I don't have a domain to provide.
In short, you must set your platform to Web.
The reason for this can be found in the official documentation on building your native logon flow. There is no secure way of creating a logon flow without a server, as this would imply storing your App Secret inside your binary or app config file.
So the recommended (and only supported) way is to create a server which stores the App Secret and handles authentication for you. And use this server from the WebBrowser/WebView control which you embed into your native application.
This means you use the logon flow from a web browser via a custom server and you should have a domain for it (a domain is quite cheap nowdays, it should not be a problem). So you are building a web app embedded into a native app.
For a successful login review do the following:
Choose Web as your platform
On the Settings page in the Advanced tab choose Native App.
Create a screencast (Start your app, logon, use all the requested permissions and that's it. Do not edit it!) and upload it to the web (YouTube/Vimeo/...)
When submitting provide a link to your screencast.