cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Analytics Cloud - Set the state of selection to locked

guenay
Participant
0 Likes
208

Hi everyone,

I want to create a button that, when clicked, changes the state of the selected measure in a table to "locked."

I'm thinking it should work something like this:

var sel = Table_1.getDataSource().getDataSelections();

Table_1.getPlanning().getDataLocking().setState(sel, DataLockingState.Locked);

Looking forward hearing from you.

Special hint to @N1kh1l 

Accepted Solutions (0)

Answers (0)