Forum Discussion

jurgenkaiser12's avatar
jurgenkaiser12
New Contributor II
2 months ago

Locking of Text Commentary

Hi Everyone,

Does anyone know whether it is possible to Lock V#Annotation for input?

Any assistance will be appreciated

Thank you!

  • T_Kress's avatar
    T_Kress
    Contributor III

    One option would be to use a conditional no input Finance BR and attach that to your cube(s).  The no input rule would appear as follows:

    Case Is = FinanceFunctionType.ConditionalInput
    						
    						If api.Pov.View.Name.XFEqualsIgnoreCase("Annotation")
    							Return ConditionalInputResultType.NoInput
    						End If
    						
    						Return ConditionalInputResultType.Default

    This would make all V# Annotation intersections Read Only, always.  If you need to only have them be Read Only in certain instances, you can include other IF statements.