SAP Knowledge Base Article - Preview

3616786 - Hard line breaks are not copied via commenting API in SAP Analytics Cloud

Symptom

  • Table_1.getDataSource().getComments().addComment/Comments(); 
  • Hard line breaks are not copied when adding comments via scripts, but copied as soft line breaks.
    • Hard line break: Press [Enter] key.
    • Soft line break: Press [Shift+Enter] key.
  • When manually copying a comment that has a hard line break applied in comment editor, the hard line break is maintained.


Read more...

Environment

SAP Analytics Cloud

Product

SAP Analytics Cloud all versions

Keywords

hard line break, soft line break, comments, script, sap analytics cloud, unified story scripting, table_1.getdatasource().getcomments(), rich text, plain text, unexpected behavior, copying comments, line breaks, paste, transfer , KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.