• Owner Field should accept group names

    By Jan Schulz 2 decades ago

    Currently we use the OpenNTF ME for group Mail-In DBs. for this DBs, we want to set the owner to the Mail-In name. This was possible with the old 6.5 template, but isn't anymore with the 7.x based one.



    The 6.5 template had this code in the input validation:

    xxNO_OWNER:="No owner has been specified for this mail file";

    @If(Owner = "" ;@Failure(xxNO_OWNER);@Success)



    The 7.x based one has this (which is the same, as far as I can see, as the inote6.ntf one):

    xxNO_OWNER:="No owner has been specified for this mail file";

    xxNO_HIER := "The owner's name must be entered in hierarchical format, because the current user's ID is hierarchical (current ID is " + @Name([Abbreviate]; @UserName) + ").";

    @If(Owner = "" ;@Failure(xxNO_OWNER);

    @Contains(@LowerCase(@UserName); "cn") & !@Contains(@LowerCase(owner); "cn"); @Failure(xxNO_HIER);

    @Success)



    I' would very much get the old behaviour back, as that was one of the reasons we use this template :-)



    Jan

    • will be 'fixed' ;-) <eom>

      By Vince Schuurman/NDT 2 decades ago