SAP Hana Cloud Portal - Url Parameters in URL-Widget
I've created a page on SAP Hana Cloud Portal based on the Successfactors Extension Template. Inside the page i have placed a URL-Widget linked to my Java-Application running on SAP Hana Cloud Platform.
The cloud portal page is called by Successfactors with the URL-Parameter ?parentId=xxx.
The Problem is that i need the parameter in my Java-Application hosted in the URL-Widget.
Here's a sample:
The URL to my Cloud Portal page is:
The URL to my Java-Application hosted in the URL-Widget is:
But i want to call my Application with the parameter from the Cloud Portal Page:
Is there any way to pass the URL-Parameters from the Cloud Portal Page to the URL-Widget inside the page?
Thanks for help,
You cannot pass a parameter to a URL widget in runtime, you can only define the URL in the widget settings including the parameter, but that will be constant.
Instead you can create an OpenSocial widget that opens a URL in an iFrame (which is exactly what the URL widget does), but now you have control over the widget’s code and can pass a parameter on runtime, possibly using pub-sub to send information from another widget.