Forum Discussion
FICO
17 years agoCommunity Manager
Access value holder of code template which is included in template list
Access value holder of code template which is included in template list Hi I created one code tempalte inside that one template list is included which holds 3 code tempalte. As follows: Codetempl...
FICO
17 years agoCommunity Manager
The only way would be to move the VH1 to your top level template and then pass it to the lower level template as an argument. So in Codetemplate1Level1 it would be a real value holder, and in the CodeTemp1 you would change its multiplicity to "Single Argument". Then in the Codetemplate1Level1 in the value holder that points to your template list provider you would need to add a dynamic argument override, call it "VH1" and point to the VH1 value holder. This way the provider would be able to pass its value to the underlying CodeTemp1 when it is selected.
Doing the other way around is not possible because when template other than CodeTemp1 is selected in the template list provider, the VH1 does not exist and the system cannot figure it out on its own. You can implement your own custom provider that would be able to retrieve the value using repository APIs (or substitute something when it is not defined), but as Jostein suggests, there should be an easier solution to what you are trying to do. Custom providers should be the last resort.
Related Content
Related Content
- 0Views0likes3Comments
Hi, Currently we are working with Blaze v7.6, if we want to move to DM, Do we need to migrate to latest blaze(v7.10.) first and then to DM? or directly to DM? If to DM directly, existing DTs, Other templates can we reuse? OR need to create from scratch?
If we can move to DM directly, existing DTs, Other templates in the project can we reuse? OR need to create everything from scratch as per the DM standards?6Views0likes1Comment