I am writing a very basic String Rule and Feeder and for some reason my head is not getting around this.
The rule is working fine but the feeder is not behaving properly and suppressing zeros is not working.
The simplified version of the my Rules/feeders as follows:
Never put any feeder info into Security Cubes as they get evaluated top down anyway. So macsir's suggestion would work.
How you feed a constant has always been a bit of a gripe for me, since constants are not derived, and I believe there should be syntax in TM1 feeders along the lines of
John Hammond wrote: ↑Fri Feb 09, 2018 1:34 pm
Never put any feeder info into Security Cubes as they get evaluated top down anyway. So macsir's suggestion would work.
How you feed a constant has always been a bit of a gripe for me, since constants are not derived, and I believe there should be syntax in TM1 feeders along the lines of
Just to clarify, as you are clearly writing the rule in a Security Cube :
You still need the SKIPCHECK but not the FEEDSTRINGS or FEEDERs statements.
You need the rule itself.
You don't need the feeder - There is no point in a Security Cube.
If the Security Cube is a }CellSecurity Cube then if the rule has an IF, the security takes effect as soon as value changes, eg
[] = S: IF( DB( 'System', 'Any' , 'Make Read Only' ) @= 'Y' , 'READ' , CONTINUE ) ;
So as soon as I change my System Cube to have the value Y for the Make Read Only measure, then the all cells in the cube related to the CellSecurity cube will go read only.
However, in any other types of Security Cube, eg }CubeSecurity, }ElementSecurity, then the security change only takes effect when you Refresh Security, which you can do in TI, or from the menus accessed by right clicking the server.