on 2024 Jun 03 11:13 AM
hi Expert,
i need to retrieve all "dimension comments" in a table via javascript.
i tried the following code:
var a = Table_Input.getComments().getDimensionComment(Table_Input.getSelections()[0]);
console.log(a);
This code works if I select the single row. But what if I need to retrieve a complete array of the table?
Any suggestion?
thanks a lot
SAP Analytics Cloud #dimensioncomment
Request clarification before answering.
In this case, you need first get the data selection of table via Table_1.getDataSource().getDataSelections(); and then get dimension comments by looping over this data selection .
Best regards, William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.