9 Feb
2018
9 Feb
'18
5:15 p.m.
Hi, Right now we have: xclass.addStaticListField(TranslationDocumentModel.TRANSLATIONCLASS_PROP_SCOPE, "Scope", "GLOBAL|WIKI|USER|ON_DEMAND”); However for wiki macros for example we have: xclass.addStaticListField(MACRO_VISIBILITY_PROPERTY, "Macro visibility", 1, false, "Current User|Current Wiki|Global", ListClass.DISPLAYTYPE_SELECT, PROPERTY_PIPE); The rationale is that it’s safe to use USER first to try out and then to extend to Wiki or Global if it’s working fine. So I’d suggest to change the default visibility for wiki translations to USER and more generally to do this for all component-based xobjects. WDYT? Thanks -Vincent