hi,
this is an actual problem,
in our environment we are resolving it via new factories.
but I don't know how we can to restrict dot separated attributes via factory.
typical factory restriction looks like:
////////////////////////////////////////////////////////////////////////
// Factory: nr
// Filename: its_nr.maj
////////////////////////////////////////////////////////////////////////
OBJECT nr {
FACTORY its_nr{
RESTRICT "class = 300172" { class = 300172} ;
STANDARD_LISTS {
SORT_BY "name" ;
MLIST OFF ;
RLIST OFF ;
};
REL_ATTR id;
COMMON_NAME name;
FUNCTION_GROUP "inventory";
};
};
usage example:
<!-- NEW searchFilter -->
<PDM_MACRO name=sfLookup hdr="its" attr=category.z_nr.name factory=its_nr>
<!-- OLD searchFileter -->
<PDM_MACRO name=sfLookup hdr="its" attr=category.z_nr.name extraURL="ADDITIONAL_WHERE=class = 2857">
you may try to create new list_* form, with fake factory name (for example "list_zSupportCat.htmpl"), where will be your decided list of NR's,
you can call it from maro with next code:
<PDM_MACRO name=dtlLookup hdr="Product" attr="zProduct" factory=zSupportCat>
but this is volume work.
regards,
cdtj.