on 2023 Sep 13 5:44 PM
Hello , I need help in knowing how to find the data point comments that were added in a story of SAC Planning.
We added some comments but they suddenly disappear. I know the comments are there because in the model preferences we can see them as attached in the image, but we cant see them in the story
richimproving
We added some comments but they suddenly disappear. - You need to report this as incident with SAP to find out what happened.
richimprovingYour comments should be visible in comment column if you add the comment column to the Table widget. Also the cell with comments should show a symbol (green triangle).
Additionally just to have a alternative solution you can script the comment display on a text widget.
var sel = Table_1.getSelections();
var cellSelected = Table_1.getDataSource().getData(sel[0]);
if (cellSelected === undefined) {
TXT_Display_Comments.applyText(" "); // TXT_Display_Comments is the name I gave to my Text widget
}
else if (sel.length > 0) {
var comments = Table_1.getDataSource().getComments().getAllComments(sel[0]);
TXT_Display_Comments.applyText(" ");
for (var i=0;i<comments.length; i++){
var comment = comments[i];
var comments_text = TXT_Display_Comments.getPlainText() + "\n" + "Created by :" + comment.createdBy.displayName + "\n" + "Created at :" + comment.createdAt + "\n" + "Comment :" + comment.text;
TXT_Display_Comments.applyText(comments_text);
}
}
Br.
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.