You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Test on smartlist value in groovy

Received Response
21
Views
4
Comments

Summary:

hi all,

Test on smartlist value in groovy

Content (required):

Is it possible to test on a smartlist value in groovy. We want to make cells read only if a cell value (which contains a smartlist) meets a certain condition.

What we currently have:


operation.grid.dataCellIterator('Sales_Manager').each { DataCell cell ->

   if (cell.crossDimCell('Next_Approver', 'No Product').data !='Sales Manager' ) {

   cell.setForceReadOnly(true)}}


Where the sales manager is a member in a custom dimension. The same member is part of the smartlist and availbale on the "Next_Approver" member in the account dimension.

Logic here is that if the Next_Approver is "Sales_Manager", the "Sales_Manager" member should

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!