you can do it thru a workflow or use iwextattr -s in a script.
can you please give some example on it?
Hi,There is a requirement to set a Metadata for a DCR generated html page.We have a template called press release. The user filling details in a DCR and generating HTML page.Is there any way we can set Metadata automatically for the Teamsite generated html page?Other than adding rules in datacapture.cfg and metadata-rules.cfg.
iwextattr is explained in the CLT guide.
Is there any way I can call these two fields directly from DCR and include in meta_inlcude.html file with out tagging?
The code you posted uses subroutines / methods not in evidence, so therefore we can only guess that they work correctly.The code also appears to be part of a workflow externaltask script.This question does not make any sense - nothing is being called from the DCR - the DCR is static.The DCT could perhaps call something but (a) that's not the code you're showing and (b) I think that would be wrong.The PT could perhaps call something but that's not the code you're showing either.So - do you want to get this working as an automated step in your workflow? Do you want to get this working as an automated part of the PT? Or do you want to do something else?For your existing code - add debugging statements and see what's happening - if you can't figure it out from that you need to hire someone who knows what they're doing to come in and figure it out for you (and possibly rewrite the whole thing better).