Skip to Content

Where to store an target instance reference in SAPUI5/SCP Cockpit?

Hi SCP Community

We are building SAPUI5 extensions for our clients, integrating these with SAP SuccessFactors for various usecase.

In an effort to optimize deployment and maintain only one code base, I am looking for a place to store reference to the SuccessFactors instance which the individual extension is linked to. Aka Dev, UAT or Production.

We do have destinations properly configure for the extension to fetch/post data to the right instance. But there are certain runtime settings that need to be adapted based on the target instance, id's for key objects might be different as an example.

Rather than having to deploy/maintain three different versions of each extension I would like a simple reference/key that I can fetch to identify which instance the extension is running against and use this to load the correct keys.

I have not been able to find a solution for this, and wondering if there is something obvious that I am missing?

Have considered if it is possible to have a dummy destination which simply holds they instance key, but have not found a way to do this yet.

Do you have any suggestions?

Thank you.

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.