Skip to Content
0
Nov 12 at 01:25 PM

Comments to specific dimension (Purchase Req) members on a crosstab in Lumira designer

78 Views

Hi,

I am posting this question again as I accidentally close my previous question

I have a requirement to add comments to the dimension members, purchase requisition column (for Lumira designer). However, I must make it so that comments cannot be written in any other column. Does anyone have any advice as to how I can achieve this task successfully?

Thanks

here is the code I am using in my script

if (g_selection["ZEBANFN"]!== undefined) {

var content = COMMENTS_TEXT.getValue();

COMMENTS_TEXT.setValue("");

var comment_ID = COMMENTS.create(content,{

"contextType": CommentContextType.MEMBER,

"isPublic": g_isPublic,

"context": g_selection});

APPLICATION.createInfoMessage("Save comment ID : " + comment_ID + "isPublic = " + g_isPublic);

if (g_isPublic) {

COMMENTS_FEEDLIST_GLOBAL.addItem(COMMENTS.getComment(comment_ID));

} else {

COMMENTS_FEEDLIST_PERSONAL.addItem(COMMENTS.getComment(comment_ID));

}

}