SAP Cloud Portal Code Samples
Note that our public GitHub repository, providing code samples for Cloud Portal on the Neo environment, is not available anymore. If you have further questions, contact us under firstname.lastname@example.org.
The Cloud Portal service is delivered with pre-packaged content that allows customers to easily start creating cloud based business sites for their end-users. The content includes:
- Various site templates and layouts
- Portal widgets
- Web content widgets
In addition the Portal allows customers to develop and extend custom Site templates, layouts, fiori apps, portal widgets Shell plugins and other site components to create customized pixel perfect portal sites adhering to their specific functional and design requirements.
To develop these components Portal developers can use the SAP Web IDE and the dedicated portal tools. For extended capabilities developers can leverage
- The SAP Cloud Platform SDK
- The Cloud Portal APIs and Shell services.
- Integrate and SAP solutions
- Integrate 3rd party solutions
A New GitHub Repository
To help Portal developers jump-start their development and get you excited about the options and capabilities we created a new sample code Github repository where we will occasionally publish new portal samples for you to use.
The resources and their accompanying blogs will be listed at the bottom of this page, so click the Follow button (on top) to stay notified when new resources, portal sample code and blogs are published.
To get started with a specific portal sample follow the steps described here under Download and Installation to
- Download the repository,
- Upload a portal sample to your SAP Web IDE
- Deploy the sample to your SAP Cloud Platform account and make it available to use in Cloud Portal
For additional information on specific samples follow the information provided in the accompanying blog.
List of Portal Samples
|Sample||Blog||Sample code||More Info|
Cloud Portal + Contentstack integration
|Going Headless – Integrating Contentstack as a Cloud Portal CMS||Contentstack Integration (Java proxy + widgets)|
Google Map and OData widget Mashup
|Google Maps and OData Mashup on SAP Cloud Portal||Widgets|
Personalized Favorites List
|End User Personalization in Cloud Portal Sites||Shell Plugin|
|End User Language Switcher||Create a Language Switch Widget for your Freestyle Portal Sites||
|Jam Embedded Widget||Collaboration in SAP Cloud Platform Portal sites with SAP Jam [Part 2]||Portal widget|
|Welcome Popup||Create a Welcome Popup for Fiori Launchpad and Freestyle Portal Sites||Sample Code|