Symptom
When importing dimension IDs with Chinese, the import failed.
Environment
SAP Analytics Cloud 2024.8.15.
Reproducing the Issue
- Upload the custom widget.
- Open a story, add this widget to story.
- Click on import, upload excel file for importing.
- The import failed.
- Check failed rows, for dimension IDs with Chinese characters, it is displaying garbled codes.
Cause
The issue lies with parsing the Excel file in the Widget itself. When you upload a file to the widget, the widget parses the data within it and sends it to the Data Import API, which imports the data to your model. The library used to parse excel files is reading the string incorrectly.
Resolution
Custom Widgets are out of our support scope, so we do not deliver a fix. Refer: 3411460 - Case processing related to Custom Widgets, Custom Add-Ons or CSS classes
As workarounds, we suggest:
- Import the data as CSV.
- Implement the encoding yourselves. We have designed this custom widget in such a way that it is easily extendable by customers who want to implement their own logic. More information on how to do this can be found in this blog post: File Upload Widget – How to develop custom widgets with the react framework.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud > Learning > Data Connections
- SAP Analytics Cloud > Learning > Guided Playlists
- SAP Analytics Cloud > Learning > Guided Playlists > Getting Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
file upload xlsx, import API, import from widget. , KBA , LOD-ANA-ML-DI , Data Integration, Data Export API, Data Import API , Problem