Skip to content

Request: Let us choose default templates for modification of a certain type of object #49

@rjwestman

Description

@rjwestman

At the moment if you have a few custom modification templates, you can choose them all (or well only the ones where the regex matches) when modifying an object/entry. And even if you only have one that is valid for a given part of the DIT you still always have to choose between default and that template.

A way to set the default template for a given object based on its structural class would be greatly appreciated!

Or maybe have the templates specify what object class they are for (exclusively) by listing them with the objectClasses tags. Then only show modification templates for a given entry whos object classes match the template. If there is only one match, choose that to modify the entry.
Adding a ´isDefault>1</isDefault´ should automatically select this template for all its listed objectClasses. (had to remove < and > from isDefault because it wouldn't show otherwise O.o)
Or alternatively use <defaultFor><objectClass id=""/></defaultFor> tags.

Im not familiar with php, but if noone has time to do it in the next couple of weeks, I'll try to get into it and add this feature. However I would love feedback from the maintainers what their preferred implementation for something like this would be.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions